证券公司已经给开通了白名单,用普通账户正常登录的,测试时只写了一只港股通股票,代码01918,用get_market_data_ex有正常返回,但没有数据。
{'01918': Empty DataFrame
Columns: [amount, askPrice, askVol, bidPrice, bidVol, high, lastClose, lastPrice, lastSettlementPrice, low, open, openInt, pvolume, settlementPrice, stime, stockStatus, time, transactionNum, volume]
Index: []}

直接在程序的行情里是能看到01918的行情数据的。
请问这个问题出在哪?调用方法不对吗?还是要开什么权限? |