Live data from Hacker News

Algorithmic Trading: A Practitioner’s Guide

henrikwarne.com

81–90 of 149 posts

Re: Algorithmic Trading: A Practitioner’s Guide

#81

Anyone here making real money from algo trading? I'm talking about people who write their own software rather than working for a company that does it professionally. I'd be interested to hear any tips or pointers on what strategies you've found that work.

It works, but do not expect huge returns.

I have worked on multiple strategies. - Strategies using technical indicators do work, but you have to reasonable. If you find these giving higher than expected returns, or too many consecutive wins - take the money. Stop live trading and continue dummy trading - eventually there is a point where you can start live trading again. The thresholds will be determined from backtests.

- Statistical strategies work for swing trading. However, these are very difficult to figure out. Need a lot of data (for backtesting). These work consistently over a longer period and might look loss making over a small period.

- Scalping within 5-10 minutes works pretty consistently, signals based on options data.

- Understand and realise the law of large numbers, and use that to your advantage.

- Give importance to understanding the concept of Time. There is a whole lot of weird and scammy pseudo-science around it. Therefore do not blindly rely on one theory.

Re: Algorithmic Trading: A Practitioner’s Guide

#82

Anyone here making real money from algo trading? I'm talking about people who write their own software rather than working for a company that does it professionally. I'd be interested to hear any tips or pointers on what strategies you've found that work.

A colleague of mine does doing spread trading around commodities. He has 2 investors who put the money up, so I think you need a decent bit of leverage to actually cover fees and produce a return...

Re: Algorithmic Trading: A Practitioner’s Guide

#83

is this the same as 'quant trading'? I heard fresh outs who got offer from quant-trading companies making like half-million a year before their bonus.

Algorithmic trading here means more about how to "execute trades" thus reduce the "execution cost" of a trade, rather than using quantitative method to gain advantage (alpha). They are usually employed by firms executing large trades, no mather whether the trade comes from a traditional trading form, or a quantitative trading firm. There are definitely overlaps, especially for HFTs regarding market microstructure, but in HTFs case, the market microstructure is built-in the HFT strategy itself, while for algorithmic trading can be decoupled as execution from the actual trading strategy that produces the majority of the "alpha"s.

Re: Algorithmic Trading: A Practitioner’s Guide

#84
post #3

How would I implement algorithmic trading at home? And would this be a viable idea if I knew what I was doing? Has anyone done this successfully?

I spent a good few months building a system for fun/interest. Darwinex has an interesting business model - check it out - but it shows leaderboards of supposed profit-generating trading systems. Thing is, one will be hard pressed to find solid, relevant, detailed and current information about legitimately profitable trading strategy. Once a strategy becomes widely used, the 'market inefficiencies' being exploited cea…

This is what the average punter doesn’t understand.

You basically want alpha but alpha decays over time.

Think of alpha as being some insight no matter how slight that a coin will land heads as apposed to tails more times than not.

Now comibine this with a risk management system that involves you only risking 1% of capital (avoiding gamblers ruin) and you are off to the races.

Re: Algorithmic Trading: A Practitioner’s Guide

#85

Anyone here making real money from algo trading? I'm talking about people who write their own software rather than working for a company that does it professionally. I'd be interested to hear any tips or pointers on what strategies you've found that work.

I started off doing it on my own back in 2008 with nothing more than an Interactive Brokers account. Then I went all in and started a company to do it professionally around 2012.

As far as strategies go, I've said it here before, but all my strategies are quite simple and straight forward. The difficulty is almost always the execution. Almost all of my strategies are arbitrage or market making, and some of them trade off of events, like earnings, interest rate announcements, the weekly petroleum status report, and things you'd find on an economic calendar.

None of my strategies are speculative, that is I have no idea what company will perform well over a long period of time and in fact in many cases I don't even know what the company I'm trading even does. I also don't make use of any so called technical indicators, like relative strength, or fibonacci this/fibonacci that.

For the vast majority of my activity, my algos only enter into a trade if it's guaranteed to make money.

To give a vague idea of what the process looks like, every strategy starts from the premise that the market is perfectly efficient and there is no opportunity to make money. We then construct a model of what a perfectly efficient market should look like. We then backtest this model to determine whether the market is actually perfectly efficient. In most cases it will turn out to be either very close to efficient, or inefficient but in a way that cannot be profited from after taking into account fees, latency, and other factors. But sometimes you find areas where the model predicts certain behavior and the backtesting shows that the real world doesn't follow that model. In that case we then proceed to investigate very carefully what is going on. Did we make a faulty assumption? Is our model not seeing the whole picture so that there are factors we did not take into account? This happens A LOT and in fact we are very skeptical when our backtesting deviates from our model. But if after scrutiny we find no reason to doubt out model, then go from backtesting to running it in a simulator, and then from simulator to running it live on a very small scale, and then over time increasing the scale.

Our backtesting and simulating is incredibly sophisticated and precise. Almost all publicly available backtesters just look at trade activity or very low resolution data, and never accounts for things like market impact. Our backtester takes into account individual orders and simulates the entire order book, taking into account where our order would be placed within the order book. We also simulate potential market impact as well, which requires us to run simulations in parallel with different potential market impacts so we can see what the worst case scenarios are and there's a host of other factors a good simulator and backtester will take into account.

Re: Algorithmic Trading: A Practitioner’s Guide

#86
post #26
post #16

I am surprised it does not mention propagator model, at least from the review.

What is propagator model?

The basic idea behind the propagator model is that order flow can be treated as a propagating wave that spreads through the market and affects prices. Thus given that we usually execute multiple orders for a given "meta" (big) trade, managing the effects of those earlier orders on later orders can have non-negligible impact on the execution performance. The propagator model then gives some solution to get the optimized execution under those assumptions. You can refer to https://www.goodreads.com/book/show/39096959-trades-quotes-a... for more information

Re: Algorithmic Trading: A Practitioner’s Guide

#87
post #81

Anyone here making real money from algo trading? I'm talking about people who write their own software rather than working for a company that does it professionally. I'd be interested to hear any tips or pointers on what strategies you've found that work.

It works, but do not expect huge returns. I have worked on multiple strategies. - Strategies using technical indicators do work, but you have to reasonable. If you find these giving higher than expected returns, or too many consecutive wins - take the money. Stop live trading and continue dummy trading - eventually there is a point where you can start live trading again. The thresholds will be determined from backtes…

I do similar stuff and confirm most of the above. It matches my experiences.

The only other thing I'd say is that if you're in a bull market you may have easy wins. Then after -- when the market turns against you -- these will evaporate.

So long term you have to ask yourself if you are REALLY beating the market. If you'd bought Amazon or Microsoft instead, over 20 years you'd probably be far ahead.

Re: Algorithmic Trading: A Practitioner’s Guide

#88
post #41

Earlier quoted context omitted.

if someone bids 10000000 shares for mid, and I hit their bid, who provided the liquidity?

You can argue about this philosophically, but if you talk to literally anyone in the industry, they will understand that - "taking liquidity" is taking existing orders off the orderbook and - "making [liquidity]" is opening new orders that rest on the orderbook It's the terminology of the industry.

[deleted]

Re: Algorithmic Trading: A Practitioner’s Guide

#89
post #56

Earlier quoted context omitted.

>> Someone who merely bought and held tech stocks, like Apple & Nvidia, beat virtually all funds since 2009. This is both absolutely correct, and entirely in-actionable since it uses hindsight. The question would be...what are the two stocks to buy to beat the market for the next 13yrs.

Saturation of markets picked up pace across the 2nd half of the 20th century. Postwar, with transistors, electronic goods went to saturation over decades. Since mobile phones, a localized saturation can happen in 1-2 years. The rate Americans bought washing machines and microwaves changed to the rate americans bought iPods and phones. White goods manufacturers stopped looking like profit machines. Apple has a huge pr…

Maybe, maybe not.

Maybe Apple will come up wih the next revolution in human-machine interface. Who knows?

Re: Algorithmic Trading: A Practitioner’s Guide

#90
post #56

Earlier quoted context omitted.

Saturation of markets picked up pace across the 2nd half of the 20th century. Postwar, with transistors, electronic goods went to saturation over decades. Since mobile phones, a localized saturation can happen in 1-2 years. The rate Americans bought washing machines and microwaves changed to the rate americans bought iPods and phones. White goods manufacturers stopped looking like profit machines. Apple has a huge pr…

Maybe, maybe not. Maybe Apple will come up wih the next revolution in human-machine interface. Who knows?

Sure. Lots of upside potential. Which makes it an uncertain bet. Less certain maybe.
Post reply on HN