VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 4
声望: 0

get_price
df = _get_price(
File "D:\huxinmin\software\vnpy\lib\site-packages\rqdatac\services\get_price.py", line 156, in _get_price
order_book_ids, stocks, funds, indexes, futures, futures888, spots, options, convertibles, repos = classify_order_book_ids(
File "D:\huxinmin\software\vnpy\lib\site-packages\rqdatac\services\get_price.py", line 276, in classify_order_book_ids
ins_list = ensure_instruments(order_book_ids, market=market)
File "D:\huxinmin\software\vnpy\lib\site-packages\rqdatac\validators.py", line 182, in ensure_instruments
raise ValueError("order_book_ids: at least one valid instrument expected, got none")
ValueError: order_book_ids: at least one valid instrument expected, got none

Member
avatar
加入于:
帖子: 4749
声望: 288

是不是合约名写错了

Member
avatar
加入于:
帖子: 4
声望: 0

xiaohe wrote:

是不是合约名写错了
没有 cf2209.CZCE ,sf2209.CZCE 都试过了

Member
avatar
加入于:
帖子: 4749
声望: 288

郑商所的要大写吧

Member
avatar
加入于:
帖子: 1487
声望: 106

CF209.CZCE

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】