Chapter 21: < algorithm trading >
Luckily, Yoon Gihwan’s studio wasn’t far from Woosung’s place. He found it odd why he didn’t live in a multi-bedroom apartment, but as soon as he walked in, he understood.
“Do you live apart from your family?”
“My son and wife live abroad. My son was being bullied at school, so I wanted him to get away from that.”
“… Oh.”
“You don’t have to pity me. This place is wonderful.”
Yoon Gihwan was right. The studio was clean and well organized. Even the kitchen shone without a spot of grease. Woosung saw the books he kept around a shelf and asked.
“Did you read all these?”
“I’ve got nothing else to do, so I read a lot.”
Over a hundred IT related books lined the shelves. Woosung picked up a few books. Some titles included “Maintenance and Use of Linux,” “Object-Oriented Programming,” “Clean Codes,” and “Use of Oracle Database.”
“You brought your work home…”
“How could I not? Learning never stops. If you don’t continue improving your skills, you won’t last long in this field.”
Woosung nodded to his good sense.
“Well, that’s about it for our small talk. Let’s begin our session.”
“Sure. Go ahead.”
Woosung brought out a whiteboard and wrote a few equations.
Call Option equation c=SN (d1) – X e – rT N (d2).
Put Option equation p = Xe – rTN(-d2) – SN(-d1).
What Yoon Gihwan wrote was the Black-Scholes equation. It was something Woosung hasn’t seen since university.
“This is the foundation of the options market. Myron Scholes received the Nobel prize for Economic Sciences in 1997 for this. This is an example of an algorithm.”
Woosung remembered reading about it.
“But even this equation was useless on October 19, 1987, the Black Monday.”
“Wow! You have been studying. You’re right. The possibility of Dow Jones dropping 7% was mathematically 0%. When it happened, the Black’s system froze, and people became frantic. They ended up all selling, which caused a drop of 25%. No one could do anything.”
“Black said you may calculate the stars’ movements, but you can’t guess people’s reactions.”
Yoon Gihwan exclaimed.
“Wow! You will make a great student.”
“He was originally a mathematician but later turned to economics and financial consulting.”
“That’s right. He became well known in economics. The stock market used this equation like its the golden rule.”
Yoon Gihwan then added more names to the whiteboard.
-David Shaw
-Jeff Bezos
Jeff Benzos was the founder and chairman of Amazon. David Shaw was less well-known, but Woosung remembered reading about him in the book.
“He is the founder of D.E. Shaw. Jeff Bezos is one of David Shaw’s quants. He quit that job and later founded Amazon.”
Again, Yoon Gihwan was wowed.
“You never disappoint me! If I may add, David Shaw was a genius computer scientist. At the time, talented traders were mostly mathematicians or statisticians. At first, no one paid attention to this computer scientist in stock trading.”
“He suggested an algorithm of his own, which Morgan Stanley rejected at the time.”
Yoon Gihwan nodded.
“So you read up on the history. Then, my last question is this. Why did I mention these three names?”
“There are many types of quant. Some focus on making the algorithm while others specialize in the computer aspect of it. David Shaw used the computing power to increase the speed of the algorithm, while Fischer Black showed talent in creating the algorithms.”
It was a difference between the creator and the user, and rarely, some were talented at both.
Yoon Gihwan put down his marker and asked.
“What do you think you are?”
“I am…”
Woosung became quiet. This was something he considered intently while reading the history of algorithm trading.
Choose and focus.
He only had a limited amount of time, so he had to make quick choices and focus on them. It was true he was smarter, but he wasn’t a robot. He also didn’t want to become a money-making machine. He wanted to exercise to become healthier and enjoy life while making good money. This was after his revenge though. Until then, he was ready to sacrifice everything.
“I plan on doing both. I will make the algorithm and use it myself to become successful.”
Woosung’s eyes looked crazy. Yoon Gihwan flinched at Woosung’s determination. It looked like Woosung was ready to do whatever was necessary, even murder. Yoon Gihwan knew he couldn’t stop Woosung. It seemed pointless to tell him how hard it would be.
“I…I see.”
Yoon Gihwan was expecting Woosung to choose one or the other, but now he could only nod to Woosung’s answer.
“I plan on continuing to study statistics and mathematics. All you need to teach me is what you learned from your experience.”
Woosung understood statistics and mathematics were the foundations of creating algorithms.
“Oh, I see.” Yoon Gihwan nodded.
***
Yoon Gihwan stopped asking questions and continued to explain his own past works.
“At first, it was a very simple system. When the golden cross occurred, we bought, and when the death cross occurred, we sold.”
Golden cross.
It was a technical indicator occurring when the short term moving average crossed above the long-term mark. When it occurred, it meant there was a change of stock gains on the horizon.
On the other hand, death cross was a sign that short-term momentum in stock was slowing. It happened when a stock’s short-term moving average fell below its long-term moving average.
“That was very simple.”
“But it was still better than manual trading. Nobody could be as methodical as a computer system.”
Woosung agreed. He learned this as the chief of the server team at Bitmain.
“Next must be something more complex.”
“Yes. We added more guidelines for the algorithm to follow including the candlestick patterns.”
“So basically, you used the trend to follow a strategy?”
“Yup, but then we came to a problem.”
“Spaghetti code.”
Spaghetti code.
It referred to the unstructured and difficult-to-maintain source code. To explain it simply, it was as if someone drew a yellow line on top of a black line, which they placed on top of a blue line.
“Yes. We also tried to add indicators like MACD and Stochastics, which made it even harder. Refactoring these codes alone took over a month.”
“And following the rules everybody already knew wouldn’t have made you a lot of money.”
Yoon Gihwan nodded and wrote more words on the board.
“So we read the related academic articles. We wanted to make an algorithm the experts in the field already used but an average trader wouldn’t know.”
Yoon Gihwan paused and looked at Woosung. He was challenging Woosung to guess the answer. Woosung contemplated.
“Are you referring to the pairs trading strategy?”
Yoon Gihwan was again impressed.
“You probably didn’t have a long time to study, yet you did well.”
“Anything is better than dying.”
Yoon Gihwan shuttered at Woosung’s dark tone, but he quickly recovered and continued.
“Yes. We used the pairs trading strategy.”
Source: Webnovel.com, updated by NovelKeep
Chapters
- Chapter 203: <What goes around comes around (The End)>
- Chapter 202: <What goes around comes around>
- Chapter 201: <What goes around comes around>
- Chapter 200: <What goes around comes around>
- Chapter 199: <Control>
- Chapter 198: <Control>
- Chapter 197: <Control>
- Chapter 196: <Control>
- Chapter 195: <Control>
- Chapter 194: <Control>
- Chapter 193: <Control>
- Chapter 192: <Control>
- Chapter 191: <Control>
- Chapter 190: <Control>
- Chapter 189: <Control>
- Chapter 188: <Control>
- Chapter 187: <Control>
- Chapter 186: <Control>
- Chapter 185: <Control>
- Chapter 184: <Monopoly>
- Chapter 183: <Monopoly>
- Chapter 182: <Monopoly>
- Chapter 181: <Monopoly>
- Chapter 180: <Two sides of the same coin>
- Chapter 179: <Two sides of the same coin>
- Chapter 178: <Two sides of the same coin>
- Chapter 177: <Two sides of the same coin>
- Chapter 176: <Two sides of the same coin>
- Chapter 175: <Two sides of the same coin>
- Chapter 174: <Two sides of the same coin>
- Chapter 173: <Two sides of the same coin>
- Chapter 172: <Richest of them all>
- Chapter 171: <Richest of them all>
- Chapter 170: <Richest of them all>
- Chapter 169: <Richest of them all>
- Chapter 168: <Richest of them all>
- Chapter 167: <Richest of them all>
- Chapter 166: <Richest of them all>
- Chapter 165: <Richest of them all>
- Chapter 164: <Richest of them all>
- Chapter 163: <Richest of them all>
- Chapter 162: <Richest of them all>
- Chapter 161: <Richest of them all>
- Chapter 160: <Richest of them all>
- Chapter 159: <The main game begins>
- Chapter 158: <The main game begins>
- Chapter 157: <The main game begins>
- Chapter 156: <The main game begins>
- Chapter 155: <The main game begins>
- Chapter 154: <Design>
- Chapter 153: <Design>
- Chapter 152: <Design>
- Chapter 151: <Design>
- Chapter 150: <Design>
- Chapter 149: <Design>
- Chapter 148: <Competition>
- Chapter 147: <Competition>
- Chapter 146: <Competition>
- Chapter 145: <Competition>
- Chapter 144: <Competition>
- Chapter 143: <Competition>
- Chapter 142: <Competition>
- Chapter 141: <Competition>
- Chapter 140: <Competition>
- Chapter 139: <Power>
- Chapter 138: <Power>
- Chapter 137: <Power>
- Chapter 136: <Power>
- Chapter 135: <Power>
- Chapter 134: <Power>
- Chapter 133: <Power>
- Chapter 132: <Power>
- Chapter 131: <Power>
- Chapter 130: <Power>
- Chapter 129: <Coconut Bank>
- Chapter 128: <Coconut Bank>
- Chapter 127: <Coconut Bank>
- Chapter 126: <Coconut Bank>
- Chapter 125: <Coconut Bank>
- Chapter 124: <National Core Technology>
- Chapter 123: <National Core Technology>
- Chapter 122: <National Core Technology>
- Chapter 121: <National Core Technology>
- Chapter 120: <National Core Technology>
- Chapter 119: <National Core Technology>
- Chapter 118: <National Core Technology>
- Chapter 117: <China>
- Chapter 116: <China>
- Chapter 115: <China>
- Chapter 114: <China>
- Chapter 113: <China>
- Chapter 112: <China>
- Chapter 111: <China>
- Chapter 110: <Sudden decline>
- Chapter 109: <Sudden decline>
- Chapter 108: <Sudden decline>
- Chapter 107: <Sudden decline>
- Chapter 106: <Sudden decline>
- Chapter 105: <Sudden decline>
- Chapter 104: <Game king>
- Chapter 103: <Game king>
- Chapter 102: <Game king>
- Chapter 101: <Game king>
- Chapter 100: <Game king>
- Chapter 99: <Game king>
- Chapter 98: <Game king>
- Chapter 97: <Game king>
- Chapter 96: <Game king>
- Chapter 95: <Game king>
- Chapter 94: <Game king>
- Chapter 93: <Game king>
- Chapter 92: <Unexpected>
- Chapter 91: <Unexpected>
- Chapter 90: <Unexpected>
- Chapter 89: <Unexpected>
- Chapter 88: <Becoming a mid-sized company>
- Chapter 87: <Becoming a mid-sized company>
- Chapter 86: <Becoming a mid-sized company>
- Chapter 85: <Becoming a mid-sized company>
- Chapter 84: <Everything from 1 to 10>
- Chapter 83: <Everything from 1 to 10>
- Chapter 82: <Everything from 1 to 10>
- Chapter 81: <Everything from 1 to 10>
- Chapter 80: <Everything from 1 to 10>
- Chapter 79: <K coin>
- Chapter 78: <K coin>
- Chapter 77: <K coin>
- Chapter 76: <Coconut service>
- Chapter 75: <Coconut Service>
- Chapter 74: <Coconut Service>
- Chapter 73: <Big brother>
- Chapter 72: <Big brother>
- Chapter 71: <Big brother>
- Chapter 70: <Big brother>
- Chapter 69: <Big brother>
- Chapter 68: <Big brother>
- Chapter 67: <It’s him>
- Chapter 66: <KND Corporation>
- Chapter 65: <KND Corporation>
- Chapter 64: <KND Corporation>
- Chapter 63: <The first order>
- Chapter 62: <The first order>
- Chapter 61: <The first order>
- Chapter 60: <The Beginning of Coin Rush>
- Chapter 59: <The Beginning of Coin Rush>
- Chapter 58: <The Beginning of Coin Rush>
- Chapter 57: <Seattle, New York, and Silicone Valley>
- Chapter 56: <Seattle, New York, and Silicone Valley>
- Chapter 55: <Seattle, New York, and Silicone Valley>
- Chapter 54: <Seattle, New York, and Silicone Valley (End of Book 2)>
- Chapter 53: <Seattle, New York, and Silicone Valley>
- Chapter 52: <His life depends on it>
- Chapter 51: <His life depends on it>
- Chapter 50: <His life depends on it>
- Chapter 49: <System behaviour>
- Chapter 48: <System behavior>
- Chapter 47: <System behaviour>
- Chapter 46: <It’s over>
- Chapter 45: <It’s over>
- Chapter 44: <It’s over>
- Chapter 43: <It’s over>
- Chapter 42: <It’s over>
- Chapter 41: <It’s over>
- Chapter 40: <It’s over>
- Chapter 39: < It’s over>
- Chapter 38: <It’s over>
- Chapter 37: <It’s over>
- Chapter 36: <Developer Conference>
- Chapter 35: <Developer Conference>
- Chapter 34: <Developer Conference>
- Chapter 33: <Developer Conference>
- Chapter 32: <Big data>
- Chapter 31: <Big data>
- Chapter 30: <Big Data>
- Chapter 29: <God of money (End of Book 1)>
- Chapter 28: <God of money>
- Chapter 27: <God of money>
- Chapter 26: <God of money>
- Chapter 25: <God of money>
- Chapter 24: <God of money>
- Chapter 23: <God of money>
- Chapter 22: <Algorithm trading>
- Chapter 21: < Algorithm trading >
- Chapter 20: <Algorithm trading>
- Chapter 19: <Customer loyalty>
- Chapter 18: <Customer loyalty>
- Chapter 17: <Planning for the Future>
- Chapter 16: <Planning for the Future>
- Chapter 15: <Planning for the Future>
- Chapter 14: <Planning for the Future>
- Chapter 13: <Planning for the Future>
- Chapter 12: <Planning for the Future>
- Chapter 11: <Close the Gates to Hell>
- Chapter 10: <Close the Gates to Hell>
- Chapter 9: <Close the Gates to Hell>
- Chapter 8: <Close the Gates to Hell>
- Chapter 7: <Close the Gates to Hell>
- Chapter 6: <Close the Gates to Hell>
- Chapter 5: <Close the Gates to Hell>
- Chapter 4: < Pandora’s Box>
- Chapter 3: <Pandora’s Box>
- Chapter 2: < Pandora’s Box >
- Chapter 1: <Pandora’s Box>