Run the flumine_backtest files to see some simulation. If you inspect those files it is a good example of how to set up some learning and strategy.
The code is long! I will help you get to exactly what you want if you are interested in just running it with different models etc.