Ask HN: Anyone making money through algorithmic trading?
389 pointsIs there anyone here making money on smaller trading strategies (i.e. in the stock market or cryptocurrencies) that would not be interesting enough for larger algorithmic trading firms?
I'm aware the standard advice is that you will lose your shirt attempting to compete with algorithmic and HFT firms. But are there opportunities out there for smaller strategies to generate alpha? (I'm assuming yes, but would be great to find people who actually do this -- no need to disclose _how_ you actually do it, obviously)
Comments (245) 69 threads
My guess is what you really want to know is "What is my expected gain if I try to employ an algorithmic trading strategy?" I have my suspicion of the answer to that question, but I don't believe your current question will shed any light on the answer.
See /u/Fletch71011 on reddit-- he's always happy to discuss things. He's made millions trading options, mostly algorithmically as I've understood it. The methods he uses are sufficiently complex that you need to be very well acquainted with the intricacies of derivatives to follow along, but basically he trades volatility instead of price movement. Regardless of whether the price of the asset goes up or down, he makes money. In his opinion, it's foolish to try to trade price direction, and you're basically flipping coins and likely to lose money.
I tried understanding what he was doing and abandoned the attempt. I had to conclude I was not quite so clever as he.
It takes just as much skill to guess if volatility will go up or go down as it does to guess if prices will.
The best models we know of (say GARCH) will still pace the information in the option prices.
Continue this thread — 1 reply
Big moves either up or down would be profitable. The only unprofitable move here would be no substantial moves in either direction. (In which case you lose your entire bet, but no more.)
Continue this thread — 13 replies
I agree with you in that it is a possible explanation, but I disagree in that it is the only one possible.
Continue this thread — 3 replies
It is all moving to algos, though.
With vol it's one of those specialized areas where it's probably quite hard to learn without having sat on an options desk. Even the way it's presented in the books does not give a good picture of what you're supposed to do.
Individual trading strategies often become less effective over time, though. Whether this kind of success can be sustained at the level of a trading firm over many years is an entirely different question. Whether they can beat the market after fees is a third, also entirely different question.
The market is negative sum, so any abstract strategy has an expected excess return which is negative. It should be everyones assumption without competing evidence
Algorithmic strategies include such gems as "buy on mondays and sell on thursdays", and there is no inherent magic to them making them better than my "buying stocks with names I like".
It worked (for the most part), but it's been abandoned now. The best way I can think of to describe why is to say that while the low hanging fruit exists, there's far too little juice in it for it to be worth the squeeze.
Others have explained that the problem they've encountered is counter-party risk in that some exchanges may not allow you to withdraw, or the prices may be skewed because they're charging absurd withdrawal fees.
None of this was a problem for me - I found the exchange APIs almost universally hold that information somewhere if you hunt around enough for it, so I was able to account for this when scoring opportunities.
My reasoning was that from a birds-eye view it looked like the price differences were allowing for trades that would have a 1-2% difference. I reasoned that if I were to withdraw directly to the wallet of another exchange I could have a turnaround time on some currencies of less than five minutes start to finish - even 0.1% every hour would be an incredible rate of return when extrapolated to a yearly ROI.
In reality, while currencies did (and do!) trade with that difference frequently between exchanges, the volumes are tiny. Despite having funds to spend, there weren't any big-money buyers at the destination exchange, and within a couple of dollars (literally a couple of dollars) the bids at the destination exchange were back below the price of the source exchange, and I'd be in the red on the transaction.
Add in the fees, and there was vanishingly little profit to be made while taking bet-the-farm risks that whoever runs the exchange isn't going to elope with your bitcoins.
It was a good learning experience, though - so I'm ultimately glad I took a run at it.
At least one exchange that I know of was front-running me.
I'm not saying which exchange it was as I don't want to get trouble for outing them - but it was definitely going on.
I tested this by putting in orders at times of low activity (i.e. nothing for minutes, then I'd place an order, and the best offers would be taken up by a "bid" that came in ahead of me. This could happen in theory but when it's happening as the order is received there's no realistic chance of it being anything else).
Why do you need to transfer between exchange?
Writing an arbitraging bot is in my bucket list of projects I'll one day work on, and to avoid trasfer times, which are ridiculous with some cryptocurrencies, the plan is to keep a balance of both sides on both exchanges.
Example: if you're arbitraging ETH/USD between exchanges A and B, you have an ETH balance on A, and a USD balance on B, and you concurrently buy/sell on both.
Then you have the problem of managing dozens of balances across as many exchanges, which is left as an exercise for the reader :)
My arbitrage script was weighted to favor rebalancing my portfolio.
Continue this thread — 1 reply
If someone says they will pay you $3 for an apple, you don't run out and buy 100 tons of apples. You first need to see how much they will pay for the second apple, the third apple, a ton of apples, 10 tons of apples, etc.
I found an algorithm that was wildly positive, and traded it on 3 separate markets every night. I learned a lot and I love everything I learned, but it was a very expensive lesson. The #1 thing I learned was that algo trading is mostly psychological, at least for me. I was making big bets (a few thousand dollars per trade) every night and it was emotionally exhausting, and I couldn't handle the pressure. The worst part is that I didn't trust the algorithm, and would cut the trades short instead of waiting for the full profit (or loss). That messed with my results, and in the end it turned into a disaster.
But programming for myself and using real money was such an educational experience. Any little bug meant that I could lose a lot of money so I bug-tested the most I've ever done in my life. And I did things like write my own multi-threaded backtester, working on hundreds of gigabytes of data, so I learned a lot there too.
It was a lot of fun, very very expensive fun.
Not if you're leveraging! For an extreme example, this guy lost $210k of borrowed money: https://www.bogleheads.org/forum/viewtopic.php?f=10&t=5934&s...
Starting with around $10-$20,000 in what were college loans, Sacca realized that brokers weren’t accounting for margin usage on a real-time basis. The result was that even though firms were only allowing 50% margin, as long as a customer closed a trade before the trade settled, T+3, and showed proper equity in the account, positions larger than 50% margin usage could be opened.
Picking winners of stocks that by Sacca’s account had risen 40x, and betting with positions well above his margin requirements, his account grew to $12 million in 18 months. But, as we all know, the record levels of the Nasdaq and the dot com bubble of that time eventually burst....When it did burst, and even though the damage was from holding just two stocks, Sacca found himself in the hole with a $4 million negative balance.
[1] https://www.financemagnates.com/forex/brokers/chris-saccathe...
Paper trading is nothing like real money trading. That's also one of the first things you learn, it's like a different dimension.
1. Systematic trading doesn't necessarily require an algorithm. For instance this rule might work (over a 5 year horizon, don't try it monthly): "buy very large cap stocks if their P/E goes below 4 and sell if it goes over 10." But you don't need an algo.
2. The market has long bull runs. So you might have an algo that has some long bias. It will seem to perform above chance. You should compare it to just holding the market.
2b. If the market is going through a bull run and your algo has some leverage built in, it will outperform just holding the market.
3. If the market had a massive crash in the data set and your algo has a short bias, then you should check it against just shorting the market.
4. The issue of models, markets and biases mirror the same debate in science theories, data and statistics.
Continue this thread — 3 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.