mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-02 11:58:21 +08:00
Merge branch 'master' of https://gitee.com/fasiondog/hikyuu
This commit is contained in:
commit
6ea8a6974b
@ -70,6 +70,8 @@ def import_stock_name(connect, api, market, quotations=None):
|
||||
|
||||
for i in range(int(stk_count/1000)+1):
|
||||
stock_list = api.get_security_list(pytdx_market, i * 1000)
|
||||
if stock_list is None:
|
||||
continue
|
||||
for stock in stock_list:
|
||||
newStockDict[stock['code']] = stock['name']
|
||||
|
||||
|
@ -66,6 +66,8 @@ def import_stock_name(connect, api, market, quotations=None):
|
||||
|
||||
for i in range(int(stk_count/1000)+1):
|
||||
stock_list = api.get_security_list(pytdx_market, i * 1000)
|
||||
if stock_list is None:
|
||||
continue
|
||||
for stock in stock_list:
|
||||
newStockDict[stock['code']] = stock['name']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user