實(shí)在是找不到答案,求幫助! [金字塔]
-
咨詢內(nèi)容:
# 該P(yáng)ython代碼用于模塊定義,供其他Python代碼或VBA調(diào)用。
from PythonApi import * import time import os? import csv from numpy import * from talib import *? from pandas import *
#調(diào)試打印輸出 # print("...") sz_index = 'QZ000001'
close = history_bars_date('sz002826','20200201','20200202','1d','close') print(close) close1 = history_bars('sz002826',1,'1d','close') print(close1) bar_close=history_bars_date('SQRB00','20180901','20180910','1d','close') print(bar_close)
以下是輸出結(jié)果:> 開始編譯 <jzt_HGJYF1> ......>?23:01:23 > []23:01:23 > [8.84000015]23:01:23 > []
> 編譯成功!
為什么使用history_bars_date函數(shù)是空列表呢?錯(cuò)在哪呢~求大哥幫助!?
?來源: www.weiqiv.net.cn
-
金字塔客服:
'20200201','20200202'
?
?
這一天是么有數(shù)據(jù)的
?
-
用戶回復(fù):
bar_close=history_bars_date('SQRB00','20180901','20180910','1d','close')
問題是這也沒有數(shù)據(jù)呀!?
-
網(wǎng)友回復(fù):
本地這么測(cè)試正常
此主題相關(guān)圖片如下:~2{8_1c3lxboz4tl)z%_1f.png
有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信號(hào):cxh99cxh99 進(jìn)行 有償收費(fèi) 編寫!
(怎么收費(fèi),代編流程等詳情請(qǐng)點(diǎn)擊閱讀!)
(注:由于人數(shù)限制,QQ或微信請(qǐng)選擇方便的一個(gè)聯(lián)系我們就行,加好友時(shí)請(qǐng)簡(jiǎn)單備注下您的需求,否則無法通過。謝謝您!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容