Made a sandbox for robots

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