Learning to Trade¶
There are 3 parts to this article.
Generating the data to learn.
Model with Tensorflow and learn.
Test the performance and see the PnL
Optimal Trading Strategy¶
First, let’s analyse the historical market data and create an optimal trading strategy for which the machine would learn.
Red is short and Green is long.
Details can be found here: Optimal Position.
Training the Model¶
Now it is time to learn, given the last n number of observations, should we be long or short.
Details can be found here: Training the Model.