AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Trading

Question regarding the observation space in the Env

未關閉
#36 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
3.7k
分支
1.1k
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。