MVP for Indian Stocks in qlib using yahooquery#513
Conversation
|
Hi It looks like the code was not formated by black previously. When i applied it have reformatted many other functions too. |
|
@2796gaurav Hi, |
|
Need to add |
|
Hi @zhupr I have added the calender for indian stocks, however i didnt quite understand fully how this would work? |
|
@2796gaurav Hi, |
|
@2796gaurav You can add "region |
|
Hi @zhupr Updated readme ad mentioned. |
|
Thanks 👍 |
|
It looks great! |
|
Hi @you-n-g
If there is any alternative? or do we have to resolve this issue? |
MVP for Indian Stocks in qlib using yahooquery
Added NSE stock data option using yahooquery.
Description
created new class -> YahooCollectorIN1d, YahooCollectorIN
and function get_in_stock_symbols() to get NSE stock symbols which works for Indian stock market.
It doesnt conflict with existing code and if we really need to support Indian stock data, we would have to change in workflow and interface layer. Currently i have completed for data layer.
you can check to download the data from below commands
Get data:
python scripts/data_collector/yahoo/collector.py download_data --source_dir ~/.qlib/stock_data/source/in_1min --region IN --start 2020-11-01 --end 2020-11-10 --delay 0.1 --interval 1dConvert to .bin
python scripts/dump_bin.py dump_all --csv_path ~/.qlib/stock_data/source/in_1min --qlib_dir ~/.qlib/qlib_data/my_data --include_fields open,close,high,low,volume,factorMotivation and Context
No this is a feature request
It will provide more reach and capability for Indian stock data.
How Has This Been Tested?
pytest qlib/tests/test_all_pipeline.pyunder upper directory ofqlib.Screenshots of Test Results (if appropriate):
Types of changes