get_history使用疑問(wèn)
作者:開(kāi)拓者 TB 來(lái)源:cxh99.com 發(fā)布時(shí)間:2021年06月10日
-
咨詢內(nèi)容:
我在spyder上運(yùn)行tbpy.get_history(symbol='IF000.CFFEX', frequency='1m', begin_time=datetime.datetime(2018, 10, 10,9, 45, 0), end_time=datetime.datetime(2018, 10, 15, 9, 45, 0),flag=tbpy.QuoteFlag.Null, fields=['open', 'high','time'])代碼,但是報(bào)錯(cuò),<built-in method __contains__ of dict object at 0x000001315179D480> returned a result with an error set。請(qǐng)問(wèn)我是哪里寫(xiě)錯(cuò)了,我主要想試試在本地ide調(diào)用歷史數(shù)據(jù)。