9 ms·
A web-reading bot made millions on the options market
- romanixromanix 12y ago>>*Correction, April 21, 2015: This article originally >>misstated that a purchase of options on March 27 >>immediately followed a tweet by journalist Dana Mattioli. >>It occurred 19 seconds before the tweet and followed a >>newswire post by one second. So the title of the whole article is totally misleading. It has nothing to do with Tweets & Twitter. Maybe the same bot (script) has done dozens other trades (false positives) at a loss before.
- giarc 12y agoI wonder how accurate the timing is, although 19 seconds is a very long time to be off by.
- prottmann 12y agoAnd someday this happen: http://www.newscientist.com/blogs/onepercent/2012/08/robot-trading-loses-firm-440-m.html http://www.newscientist.com/blogs/onepercent/2012/08/robot-t...
- callesgg 12y agoNot like the tweet actually in reality matters, the value of stock is not related to what happens to a company. It is related to what people think that other people think is related to the stock value.
- atomical 12y agoHow do the bots continuously monitor news feeds without being blocked?
- spacemanmatt 12y agoThe same way you or I do.
- throwawaytrader 12y agoA lot of people seem to assume that humans are too slow to react to news, but this is definitely not the case. As an example, when the SNB dropped the swiss franc cap earlier this year (one of the biggest financial news stories for years), I know people who had time to read the headline on Bloomberg, look to see where the market was trading, and sell EURCHF within 0.1cents of where it was previously trading. As I watched the market reaction, I'm fairly confident that the other traders reacting were also human. As it was unscheduled, no-one would've been actively anticipating it happening on that day, never mind that minute. Generally, there are two types of financial news events. First is scheduled, for example unemployment data - here, there are APIs to get the number and place trades, and as a human it is impossible to compete. Similarly, for FOMC statements, there is an API feed which provides objective answers to certain questions about the statement, e.g. "Did any Fed members vote for a rate increase?" Again, computers dominate. The other type of news events are surprises - unscheduled events that people are unprepared for. I'm certainly no NLP expert, but I do watch financial news feeds every day, and I can't imagine it being remotely easy to write a program to filter out the false positives. I've certainly watched a lot of market reactions to headlines, and I can tell that a lot of headlines that people would assume would be easy to write algorithms to trade on, produce market reactions that look far more "human" than the instantaneous reactions to unemployment data or embargoed Fed statements.
- apaprocki 12y agoAgreed -- one can configure a Bloomberg terminal for immediate drop-everything news alerts accompanied with pre-filled trade tickets containing positions you currently hold. I'm in no way saying a human did this or that is what happened, but just that the time-to-trade is probably a lot lower for a human than most people think due to better tools (that themselves can even leverage NLP/ML inside). It would be interesting to see someone study just how fast humans can react using these type of alerts.
- chmike 12y agoThis analysis is all based on the asumption that the tweet was the first public info about the possible buy. The bot story is pure speculation.
- xyzzy123 12y agoInterestingly, they don't discuss the possibility that someone just has a radically better UI for acting on market gossip. "“It would be impossible for me to do. By the time you could read the news, process it, and press the ‘buy everything’ button, it would take too long." I'm picturing the context switch between reading a tweet or news article and some rocket ship of a program which gives you enormous power but takes some time to place a (possibly complex) order. What if it's just turking with a hotkey? Watch feed, see headline, Ctrl-u. This feels a lot more plausible to me than the idea that someone made sentiment analysis not suck.
- facepalm 12y agoInteresting idea, just show the gossip, extract the involved companies, and provide buy/see buttons for the companies involved. Is it possible to also bet directly on whether some piece of gossip is true or not?
- ChuckMcM 12y agoGiven the description I would probably have the program queue up what it would buy based on the story and push the 'go' button. Except I believe the reason the options trader doesn't believe that is happening is that to do this you would just be sitting there watching all the possible 'go' buttons go by and clicking only the "right" one.
- xyzzy123 12y agoMakes sense -- kind of a market "upvote". I could actually see that UI working. The great thing about reacting to rumours is that you can profit off everyone else who skim reads and clicks "buy". So often the initial impression is good enough.
- topynate 12y agoHave a fast NLP engine looking at the queue, and when it spits out a >80% certainty for a buy or sell action flash the news item up on the screen with a green or red background accordingly. Double-click to confirm, order only goes out if the reaction is quick enough to make it worthwhile. You could even flash it up on several traders' screens and do it by majority vote.
- lotsofmangos 12y agoThe obvious contender for doing this would be IBM's Watson.
- patio11 12y agoThis touches on several of the Big Issues with being a market maker, shopping large orders, and HFT. Sadly, it's exactly as detailed as you'd expect a Slate article to be. It doesn't matter that it is a bot. The controller of the bot happens to be, in this instance, directional order flow: unlike the overwhelming majority of market volume, he actually has an edge. The options market maker is, unusually for market makers, forced to transact with any comer. They've got a license to print money and that is the price of the license. They get to pick their pricing. In the old days, when people actually talked, parties would be cagey about whether they were buying or selling, to make sure the market maker didn't use that against them. The conversation went like this: "Make me a market [quote a buy price and a sell price] for 100 contracts of May Foo CALLs at $15." "0.10 by 0.15." "Buy a hundred." "Done." "Make me a market." "0.10 by 0.15." "Buy a hundred." "Done. #'(%# you man what's your angle." "Make me a market." "0.11 by 0.16" "Buy a hundred." "Done, you mother(#%)0&. You want WEIGHT? I hate carrying this. Next one is 0.20 by 0.25" "Buy a hundred." "DONE. You through with me yet?" "Make me a market for 1,000 contracts." "YOU MOTHER()#%0# #O%'#(&')$#$ ((#) '%)(#%). 0.30 x 0.35." "Buying 1,000." "DONE YOU #%)0#0%)." And the reason the marketmaker just hated that interaction is because they now have what is politely referred to as "inventory risk." Market makers by definition don't want exposure to the market, they just want to harvest non-directional order flow, where buys and sells roughly cancel each other out, capturing the spread each time and making out like bandits. (In the case where the market maker's second conversation was someone selling the same option rather than buying, they just made $500 for about a minute total of work. A "seat" on the CBOE, which is the license part of the license-to-make-money, costs millions. The lucrative ability to collect a little toll from marker participants is why.) But once in a while, you get stuck with inventory risk. And, if you're stuck with inventory risk by being short in grossly out-of-the-money call options close to expiry, the vast majority of the time that's great news! They expire worthless. But they don't have to expire worthless. There's literally thousands of contracts which expire every month worthless, and (statistically speaking) a handful which go from being worth pennies in the morning of expiry day to being worth dollars in the afternoon. You probably shouldn't feel badly for the options market maker here, except in the general sense that you should feel badly for people who underperform at their jobs. He's suppose to place orders that he'll be happy when the fills come in. (i.e. When his offer to sell a call option is matched with someone who inexplicably wants to buy them at a penny a contract.) He got the fills. His problem is that a counterparty was smarter than he was and put in buy orders in response to late-breaking information before he could cancel his sell orders. Which is unfortunate, from his perspective, but avoiding this is literally his only job. This is, incidentally, the whole premise of Flash Boys: people with lots of stock to shop are the guy getting sworn at in the above conversation with a marketmaker. They would prefer that marketmakers always buy 100k shares from them at a go without experiencing any price slippage. Market makers do not like this, but can't do much about it. HFTs are much better at making markets than humans are, and are capable of managing the risks of large block trades better. Some people who preferred getting an exceptionally good deal from human market makers would prefer dealing with them instead of algorithms which can actually, you know, do math many times a second for an entire trading day.
- GavinB 12y agoIt's also possible that an insider knew the news was about to break and waited for the announcement with the trade queued up.
- Turbo_hedgehog 12y agoMy bet is insider trading with someone writing a simple bot to make the trade once they see the trigger words made public.
- clord 12y agoThat was my first thought too. Since sometimes these are sub-second trades, it'd be interesting to look at whether they're physically possible (i.e. whether speed of light is respected.) Would explain stuff like [0]. [0]: http://www.washingtonpost.com/blogs/wonkblog/wp/2013/09/24/traders-may-have-gotten-last-weeks-fed-news-7-milliseconds-early/ http://www.washingtonpost.com/blogs/wonkblog/wp/2013/09/24/t...
- hueving 12y agoWell if it doesn't respect the speed of light then they didn't wait for it to become public. What your parent was inferring was waiting for the news to actually hit the wire so it does look legitimate.
- onewaystreet 12y agoIt's no longer insider trading if the information has been made public. There would be no advantage to doing this either. There are thousands of firms and individuals running keyword based trading bots. You would be competing with all of them.
- liquidcool 12y agoYou may be much better educated than I on insider trading, but as I understand it courts have ruled that insiders have to wait a reasonable amount of time for the public to absorb that information. "Reasonable amount" seems to have changed over the years (first read about it in Business Adventures, Buffet and Gates' favorite biz book), but I note that most trading firms today state you must wait until the 3rd business day to act on that information. Another issue is whether you know this is fact, but the public only knows it as rumor. Of course, you'll want to consult a lawyer about all this.
- downandout 12y ago"The trade occurred 19 seconds before the tweet, and one second after a headline appeared on the Dow Jones Newswire." I don't understand the mystery here. It would be trivial to write a bot that could interpret a headline and make a trade on it in under a second, and that's without any special high-speed links. With API documentation for a brokerage house, I could write such a bot in probably half a day. Given the astronomical sums of money involved, I have a hard time believing that this isn't occurring on a daily basis.
- xyzzy123 12y agoProbably because you've never bet a lot of money on natural language processing before. Backtest and check alpha. cpercival's idea is pretty good though. I'm reminded of: https://xkcd.com/793/ https://xkcd.com/793/
- downandout 12y agoThe headline of that news was "Intel in Talks to Buy Altera". You are acting like it would be difficult to write software that would be able to figure out what that means. It's not. These headlines also seem to follow a very specific pattern [1]. So if WSJ has a headline that X is in talks to buy Y, that's pretty much that. Also you could eliminate most of your risk by placing a limit order based upon the last trade prior to the news coming out. The market will either a) confirm that you are one of the first people to understand what has happened by filling your order at a price that doesn't reflect the news, locking in profits, or b) your limit order won't be filled because the price already is already above your limit, in which case you have assumed no risk. [1] https://www.google.com/#q=site:wsj.com+%22in+talks+to+buy%22 https://www.google.com/#q=site:wsj.com+%22in+talks+to+buy%22
- catshirt 12y agolet us know how it works out, then. :)
- deleted 12y ago[deleted]
- keyle 12y agoI've had a go at writing something similar in the past. It was against the Australian news on the ASX. Suffice to say I wasn't successful. Even with a clear understanding of the situation, the reaction from the market was mild compared to the swings of the global tides. When it worked, it worked well. But you had to have the wind in your back to get decent moves. If I were in the industry with low cost access, and I were on the US market, I think things might have been different. But in my experience, you don't get rich searching for gold, you get rich selling the buckets and the shovels.
- kenrikm 12y agoNext step, make a bot to tweet out (fake) news to trigger this bot and place itself on the winning side of the trade.
- WalterBright 12y agoThat's called "pump and dump", and I believe it is illegal.
- deleted 12y ago[deleted]
- smedawar 12y agoAlso, it's very easy to use a whitelist of twitter accounts.
- venomsnake 12y agoThey can send the bots to jail.
- Springtime 12y agoThis reminds me of the recent Tesla April Fools press release for a new watch called the 'Model W'. Clearly there were bots written to monitor Tesla feeds and other companies for new products and trade automatically as the stock price jumped $2, before returning back to normal by the end of the day.
- giarc 12y agoI imagine these bots only follow reputable news sources.
- zhte415 12y ago'A web-reading bot lost millions on the options market' also happens too.
- morgante 12y agoI don't understand why this is even considered news. Bots have been monitoring and trading on realtime news information for years.
- pjlegato 12y agoMost people seem to be unaware of this fact, as the comments for this post demonstrate.
- MichaelCrawford 12y agoI once wrote a special-purpose database kernel - not SQL, the database engine itself - for a Bahamian hedge fund. It is because of my experience with that hedge fund that I won't take quantitative investment work anymore. I came to regard it as unethical. I would not be in any way surprised if it were my former clients that pulled this off. There were some smart people there.
- lordnacho 12y agoWhat was unethical about it? Quantitative investment work can mean a lot of things.
- MichaelCrawford 12y agoI was enabling an already wealthy man to become even richer, at the expense of unsophisticated investors.
- nickff 12y agoWhy would unsophisticated investors lose money? Speaking as an unsophisticated investor, I can confidently say that these rapid trading schemes have not affected my portfolio at all, except perhaps by adding liquidity when I tried to buy or sell equities. Just because this "flash-trading" scheme exists doesn't mean that everyone could or should use it; most unsophisticated investors know enough to stay out of it.
- MichaelCrawford 12y agoThe hedge fund only had one person's money in it. When he made money on a trade, that money had to come from somewhere.
- nickff 12y agoOne can make money in the stock market without any trading at all; Merton Miller often emphasized that prices could adjust to new information without any trades taking place, if asset holders and potential buyers agreed on the impact of the new information on the asset value. Trades only take place when asset buyers and sellers have differing valuations for the same asset, whether it be for reasons of uncertainty, asymmetric information, or subjective values. You are also assuming that stock trading is like gambling, where the amount of money at the table is not variable over time (except for players coming and going); this is the zero-sum fallacy.
- powera 12y agoIt seems to me that the obvious conclusion here is that short-term options are underpriced due to the risk of people trading on news before the market-makers find out about it.
- eruditely 12y agoSeems like this is just integrating over random walks and interpreting as skill
- runeks 12y ago'It also feels pretty far from the theoretical purpose of options trading. Options are meant to provide insurance (a “hedge”) against potential losses in a stock position. Market makers like my friend create the environment in which to buy the insurance. This bot instead treats that market like a roulette wheel—except it knows exactly where the ball will land. “If someone else has what we call the ‘future script,’ ” says my friend, referring to the crystal ball of the algorithm bot, “it really feels like they’re just robbing you."' Robbing who? This is about as far from robbing as I can think of. 1. Someone offers to sell a bunch of options, because he thinks he'll make more money from this than if he didn't sell those options. 2. Someone buys these options because he think he'll make more money than if the didn't buy them. 3. Time reveals the guy who bought the options was right, and he makes money. This is simple speculation, and has nothing to do with robbing.
- yaleman 12y agoIt's only "robbing" when you're losing money instead of making money - which a lot of these crazy made up systems (options, etc) can't help but do most of the time. They're just complaining about evolution :)
- encoderer 12y agoAnybody that thinks the primary purpose of the options market is "insurance" is ignoring their history. Among other things, calls were introduced 4 years before puts. They are derivatives. They serve many purposes.
- amelius 12y agoWhat purposes exactly? If you'd ask me those derivative products are a convenient alternative to casino style gambling and mostly add instability to the market. I would love to hear an informed opinion, though. What do these products solve, why are they essential? Also, what would happen if we would tax them more heavily, perhaps incrementally over a period of time?
- pjlegato 12y ago
- golergka 12y agoHonest question. Let's say that I want to experiment with some language processing and bet some dollars on parsing news like these. I have decent general programming skills, and have experimented with parsing stuff, but never touched trading. Where do I even start?
- tim333 12y agoThere's a Udemy course. Might be a way to start? https://www.udemy.com/build-your-trading-robot/ https://www.udemy.com/build-your-trading-robot/
- michaelgrosner2 12y agoI've spoke to a few people who's jobs are to be on top of these sorts of trades and they said the most interesting part of these trades are that the moves precede the jump in the stock. You look at the market data, the options prices pop before the stock price. This is interesting because the options market is almost by definition slower than stock markets (not just because of the presence of HF firms in the underlying markets, but think of Black-Scholes - one of the inputs to the model is the stock price). Many firms aren't yet prepared for this sort of activity, but they'll plug that hole.
- jim_greco 12y agoThere is a whole class of point and click trader out there that brings up the Bloomberg NEWS function (scrolling news), waits for the red flash (breaking important news), and steamrolls over unaware market makers. Most of those market makers are electronic. It's been happening forever and of course it's now going to get automated. And the electronic market makers will use the same techniques to cancel orders so they don't get run over. The only people worse for wear will be the human market makers and the human point and click traders who can no longer compete.
- ychantit 12y agoas soon as the other players on the market will be doing it this turn to a zero sum game the money is already been made we can all walk now
- dsjoerg 12y agoIf you feel entitled to your business, and someone starts taking it away, that will feel like robbing, yes. But it is pathetic for a serious businessperson to feel entitled to their future business success. That's the kind of pride that comes before a fall.
- akgerber 12y agoLime Brokerage was part of Mark Gorton's Lime Group (also as in 'LimeWire'), though it has been sold. (http://www.marketswiki.com/mwiki/Lime_Brokerage http://www.marketswiki.com/mwiki/Lime_Brokerage) He also runs Tower Research Capital, which is an HFT firm that recruited pretty heavily at CMU when I was there. Their webpage says: "In the course of developing its current trading strategies, Tower Research Capital LLC has built a powerful set of analytical tools and an automated trade execution infrastructure, which it is leveraging to pursue new trading opportunities. The company is made up of a rare combination of highly proficient individuals with backgrounds in a variety of fields: mathematics, computer science, statistics, physics, economics, engineering, and finance." That's who seems likely to be doing these trades to me.
- BWStearns 12y agoOnewaystreet brought up the notion that it's not insider trading if you wait a "reasonable" time after information is made public. Given that the appearance of decent news-reading bots that can act on the <1s timeframe it would seem that reasonable time is essentially the instant that the news hits the wires. Would it be legal to set up a platform where insiders could pre-stage orders with triggers to execute after waiting for the requisite 1 second after news breaks?