qlib icon indicating copy to clipboard operation
qlib copied to clipboard

"instruments " can't used when construct DataHandlerLP

Open specialuse opened this issue 3 years ago • 1 comments

hi, I use staticDataLoader to load dataframe in memory, then construct DataHandlerLP. But " instruments " can't used. codes are like this: codes: sdl = StaticDataLoader(config=df) # df is a dataframe ds = DataHandlerLP(instruments='csi300',start_time='20100101',end_time='20120601',data_loader=sdl) ds construct filed. but if i remove "instuments='csi300'" ,ds is ok. I wonder why? and how can I use "instuments" to choose stock sample?

thanks

specialuse avatar Jun 30 '22 07:06 specialuse

Can you give your full error traceback? Thanks

you-n-g avatar Jul 07 '22 11:07 you-n-g

This issue is stale because it has been open for three months with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

github-actions[bot] avatar Oct 05 '22 12:10 github-actions[bot]