AI4Finance-Foundation / FinRL-Meta

FinRL­-Meta: Dynamic datasets and market environments for FinRL.
https://ai4finance.org
MIT License
1.28k stars 583 forks source link

I really want to know that how to use the forex env? and what is the format of csv for forex training? #123

Closed yiivon closed 2 years ago

yiivon commented 2 years ago

in other the word, i seeing the env_fx.py contains these two lines hard-code:

        self.df = df
        self.df["_time"] = df[self.time_col]
        self.df["_day"] = df["weekday"]

what is that means?

Thank you very much if there be a reply, thanks again!

rayrui312 commented 2 years ago

This env is merged from trading_gym. Data can be found here https://github.com/cove9988/TradingGym/tree/master/data. After downloading the data file to your local device, you can follow this notebook https://github.com/AI4Finance-Foundation/FinRL-Meta/blob/master/Demo_ForexTrading_Demo.ipynb.

yiivon commented 2 years ago

Thank you!