At this point it is pretty clear that the stock market was a yuge winner in 2017. So was bitcoin. How did other assets do? Currencies? Energies? Let’s take a look.
Last week we crossed the one year mark after president’s election. Both in calendar days, November the 8th, and in terms of trading days – 252 (the average number of trading days per calendar year). I wanted to do a brief recap before leaving it to rest.
Coming back to markets and trading (after a while), the feeling has been that the markets, and the economy as a whole, are doing good. How good? Since I haven’t been following things closely, I had to do some forensics.
Backtesting – the pillar of trading and investing. I know what all the naysayers say, but with all due respect, they got this one wrong. 🙂 In finance, and in time series in general, history repeats itself. Natural phenomena follow patterns, so does crowd behavior. Earth temperatures are not going to rise forever, so wouldn’t the current bull market. Enough rambling though.
My readers know that my main tool for backtesting has been Tradelib, a Java library which I have developed and used over the past couple of years. Working on some new (or rather old) project, I decided to take another look what’s around, and the results surprised me.
In the previous posts in these series (here, here and here) I used conventional machine learning to forecast the trading opportunities. Lately however I have been trying to move more and more towards deep learning. My first attempt was to extend the walk-forward loop to support neural networks, the building blocks of deep learning.