AI4Finance-Foundation / AI4Finance-Foundation/FinRL-Meta
How to add features/columns not by specifying parameter tech_indicator_list of StockTradingEnv in env_stocktrading_China_A_shares.py?
- Vorherrschende Sprache
- Python
- Sterne
- 1.9k
- Forks
- 751
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
We pass the state_space/action_space that must be calculated externally to the constructor StockTradingEnv, and are required to pass in the parameter tech_indicator_list to calculate the state of the internal record. If we add self-calculated columns to the feature data (df), the instances initialized by StockTradingEnv will have errors in subsequent model training because the dimensions of the data columns are different.
Is it possible to directly calculate the internal variable state through df in the StockTradingEnv constructor or obtain dimension information from the *_space parameter and disconnect the strong relationship with tech_indicator_list?
Thanks!
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.