Category Archives: Programming

Markets Performance after Election

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.

Read More

Backtesting – Tool Review

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.
Read More

Deep Learning for the Walk-Forward Loop

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.

Read More

Walk-Forward Strategy Performance

The previous post introduced forecasting using multiple series and also suggested another form of improvement – namely filtering out low probability forecasts. Can we improve the forecasts by any of these approaches, and if yes, by how much?
Read More