AI4Finance-Foundation / AI4Finance-Foundation/FinRL
Finrl Meta Stock_NeurIPS2018_SB3.ipynb only support DOW_30_TICKER
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 16.3k
- Fork
- 3.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Describe the bug**
using :
df = YahooDownloader(start_date = TRAIN_START_DATE,
end_date = TRADE_END_DATE,
ticker_list = config_tickers.DOW_30_TICKER).fetch_data()
df.to_csv('sample.csv')
df = pd.read_csv('sample.csv')
i am able to generate FeatureEngineer technical indicator
So i generate a csv file with my own stock of malaysia market in the exact format from the above sample.csv.
i got error when run this:
fe = FeatureEngineer(
use_technical_indicator=True,
tech_indicator_list = INDICATORS,
use_vix=False,
use_turbulence=False,
user_defined_feature = False)
KeyError: "None of [Index(['tic', 'date', 'boll_ub'], dtype='object')] are in the [columns]"
I attached my sample.csv for anyone who can take a look. The error persist even after disabling vix as it use yahoo downloader to download vis. How to adapt this notebook to work with my own stocks instead?
[sample1try.csv](https://github.com/AI4Finance-Foundation/FinRL/files/12212586/sample1try.csv)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.