Made a sandbox for robots

https://github.com/pskucherov/opexflow/pull/15/commits/506e94bdd6be94e20b9329720bf4d2c0cd5e18fc

Setting parameters for start

balance: 10000,            

stocks: 0,            

maxBuyStocks: 40,           

 lastStockPrice: 0,            

commission: 0.05,

Then we can go over the chart and buy / sell the maximum available number of shares.

Restricted only the purchase, you cannot short it. Let’s try using this example to train a robot that can show the maximum result.

Поделиться ссылкой:

Rate this post
Rate author
Programming, investment and algorithmic trading
Add a comment