In the multiple stock trading, there are 30 unique stocks.

stock_dimension = len(train.tic.unique())

So the stock_dimension = 30

state_space = 1 + 2*stock_dimension + len(config.TECHNICAL_INDICATORS_LIST)*stock_dimension

state_space = 1+2*30+4*30 = 181

len(config.TECHNICAL_INDICATORS_LIST) = 4 because we have 4 technical indicators.




Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bruce Yang

Bruce Yang

More from Medium

Time Traders

Chain v Off-Chain: The Future of Blockchain in Trading

Trade copy platform asks for the support

Algorithmic Trading — The Technology of the Future