FinRL-Trading
FinRL-Trading copied to clipboard
Question regarding the observation space in the Env
Why is self.observation_space bounded from 0 to np.inf when the techinal indicators (e.g. MACD) can take negative values?
Should it not be:
self.observation_space = spaces.Box(low=-np.inf, high=np.inf, shape = (Obs_Dim,))
instead of
self.observation_space = spaces.Box(low=0 high=np.inf, shape = (Obs_Dim,))
with Obs_Dim = Balance+num_stock+_num_shares_holding_per_stock+num_tech_indicators*num_stocks
Thanks