Back to Basics - Birth of an idea in the jungle

Birth of an idea of all places: In the Jungle

Having to juggle both work and masters in computer science at the same time, it’s really hard to afford any more time to my side projects.

But back in August, I had a break away from both school and work by going back for reservist. As it’s really bored in there where I spent most of the time in a small building (with no aircon!) in the middle of a jungle, I managed to revisit some of my past quant strategies, armed with my notebook.

Last Dec, I was exploring mean-reversion strategies with Kalman filter on spreads between 2 or more instruments. The math is elegant; backtest results are great but it’s really hard to operationalise it.

The issue is - after you do all the feature transformation, it’s hard to visualize and compute basic statistics like,

  • Expected profits
  • Stop loss
  • Checking feasibility based on real-market conditions such as bid-ask spreads

Sometimes as a data trained individual, you wish to employ all the cool things in your arsenal. But one should focus on the key question,

  • Does it really work?

In all honesty - across all disciplines - I think all of us should abide by the Occam’s Razor Philosphy: Translated from Latin, it means that Entities should not be multiplied beyond necessity.

In this current age where everyone tries to impress anyone with a brand new toy (techniques) such as deep learning, we’ve to always first think if the objective can be accomplished by simpler models. Do we really need complex models like Kalman Filter, Machine Learning, Deep Learning (LSTM for time series), Reinforcement Learning?

I’ve back-tested all the above mentioned models. And at this point - at least in the quant & systematic trading space - I still think it’s pretty much a fancy toy.

Really - what one should focus on for quant-based strategies is,

  • Is it profitable with a reasonable amount of risks?
  • Is it sustainable over a period of time across varying market conditions?
  • Is it market neutral?
  • With your ability, could you operationalise it?

I’ve since stripped away all the glamour and glitz associated with fancy techniques and went back to basics - using simple concepts such as moving average and standard deviations for my mean reversion techniques between Cointegrated instruments.

Without further ado, please find the conceptualisation of a ‘still profitable’ idea that I deployed since 2 months ago.

Current tech stack that I use are: IB TWS, Quandl API, R, Mysql and Pushover API to notify me of the signals.

/post/img/conceptualization.jpg

Related

comments powered by Disqus