mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-30 02:48:57 +08:00
行情采集服务删除不再支持的新浪
This commit is contained in:
parent
b4b138020f
commit
93dd958937
@ -129,7 +129,7 @@ def request_data(querystr, parse_one_result, use_proxy=False):
|
||||
return result
|
||||
|
||||
|
||||
def get_spot(stocklist, source='sina', use_proxy=False, batch_func=None):
|
||||
def get_spot(stocklist, source='qq', use_proxy=False, batch_func=None):
|
||||
"""获取实时数据,获取失败时,抛出异常
|
||||
|
||||
:param list stocklist: 股票名称列表,股票名称示例:sh000001, sz000001
|
||||
@ -141,6 +141,7 @@ def get_spot(stocklist, source='sina', use_proxy=False, batch_func=None):
|
||||
queryStr = "http://hq.sinajs.cn/list="
|
||||
max_size = 140
|
||||
parse_one_result = parse_one_result_sina
|
||||
hku_error("新浪接口已不再支持!")
|
||||
else:
|
||||
queryStr = "http://qt.gtimg.cn/q="
|
||||
max_size = 60
|
||||
|
@ -335,8 +335,8 @@ class MyMainWindow(QMainWindow, Ui_MainWindow):
|
||||
self.collect_sample_spinBox.setValue(interval_time)
|
||||
use_zhima_proxy = import_config.getboolean('collect', 'use_zhima_proxy', fallback=False)
|
||||
self.collect_use_zhima_checkBox.setChecked(use_zhima_proxy)
|
||||
data_source = import_config.get('collect', 'source', fallback='sina')
|
||||
self.collect_source_comboBox.setCurrentIndex(0 if data_source == 'sina' else 1)
|
||||
# data_source = import_config.get('collect', 'source', fallback='qq')
|
||||
self.collect_source_comboBox.setCurrentIndex(0)
|
||||
self.collect_phase1_start_timeEdit.setTime(
|
||||
datetime.time.fromisoformat(import_config.get('collect', 'phase1_start', fallback='09:00'))
|
||||
)
|
||||
|
@ -26,17 +26,18 @@ class CollectSpotThread(QThread):
|
||||
self._phase2_start_time = config.get('collect', 'phase2_start', fallback='13:00')
|
||||
self._phase2_end_time = config.get('collect', 'phase2_end', fallback='15:05')
|
||||
self._use_zhima_proxy = config.getboolean('collect', 'use_zhima_proxy', fallback=False)
|
||||
self._source = config.get('collect', 'source', fallback='sina')
|
||||
self._source = config.get('collect', 'source', fallback='qq')
|
||||
|
||||
def __del__(self):
|
||||
hku_info("Quit CollectSpotThread")
|
||||
|
||||
@hku_catch()
|
||||
def run(self):
|
||||
self.logger.info("current data source: {}".format(self._source))
|
||||
collect(
|
||||
self._use_zhima_proxy, self._source, self._interval,
|
||||
'{}-{}'.format(self._phase1_start_time, self._phase1_end_time),
|
||||
'{}-{}'.format(self._phase2_start_time, self._phase2_end_time), True
|
||||
'{}-{}'.format(self._phase1_start_time,
|
||||
self._phase1_end_time), '{}-{}'.format(self._phase2_start_time, self._phase2_end_time), True
|
||||
)
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
# Form implementation generated from reading ui file 'MainWindow.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
# Created by: PyQt5 UI code generator 5.15.6
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
@ -27,7 +27,7 @@ class Ui_MainWindow(object):
|
||||
self.groupBox_2.setGeometry(QtCore.QRect(20, 20, 551, 131))
|
||||
self.groupBox_2.setObjectName("groupBox_2")
|
||||
self.layoutWidget_3 = QtWidgets.QWidget(self.groupBox_2)
|
||||
self.layoutWidget_3.setGeometry(QtCore.QRect(20, 90, 521, 25))
|
||||
self.layoutWidget_3.setGeometry(QtCore.QRect(20, 90, 521, 26))
|
||||
self.layoutWidget_3.setObjectName("layoutWidget_3")
|
||||
self.gridLayout_2 = QtWidgets.QGridLayout(self.layoutWidget_3)
|
||||
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
|
||||
@ -75,7 +75,7 @@ class Ui_MainWindow(object):
|
||||
self.groupBox_7.setGeometry(QtCore.QRect(20, 170, 551, 261))
|
||||
self.groupBox_7.setObjectName("groupBox_7")
|
||||
self.layoutWidget_5 = QtWidgets.QWidget(self.groupBox_7)
|
||||
self.layoutWidget_5.setGeometry(QtCore.QRect(20, 60, 155, 18))
|
||||
self.layoutWidget_5.setGeometry(QtCore.QRect(20, 60, 155, 22))
|
||||
self.layoutWidget_5.setObjectName("layoutWidget_5")
|
||||
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.layoutWidget_5)
|
||||
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
|
||||
@ -91,7 +91,7 @@ class Ui_MainWindow(object):
|
||||
self.import_future_checkBox.setObjectName("import_future_checkBox")
|
||||
self.horizontalLayout_3.addWidget(self.import_future_checkBox)
|
||||
self.layoutWidget_6 = QtWidgets.QWidget(self.groupBox_7)
|
||||
self.layoutWidget_6.setGeometry(QtCore.QRect(20, 90, 301, 18))
|
||||
self.layoutWidget_6.setGeometry(QtCore.QRect(20, 90, 301, 22))
|
||||
self.layoutWidget_6.setObjectName("layoutWidget_6")
|
||||
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.layoutWidget_6)
|
||||
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
|
||||
@ -160,7 +160,7 @@ class Ui_MainWindow(object):
|
||||
self.time_start_dateEdit.setObjectName("time_start_dateEdit")
|
||||
self.gridLayout_4.addWidget(self.time_start_dateEdit, 4, 1, 1, 1)
|
||||
self.layoutWidget_8 = QtWidgets.QWidget(self.groupBox_7)
|
||||
self.layoutWidget_8.setGeometry(QtCore.QRect(20, 30, 198, 18))
|
||||
self.layoutWidget_8.setGeometry(QtCore.QRect(20, 30, 198, 22))
|
||||
self.layoutWidget_8.setObjectName("layoutWidget_8")
|
||||
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.layoutWidget_8)
|
||||
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
|
||||
@ -208,7 +208,7 @@ class Ui_MainWindow(object):
|
||||
self.mysql_test_pushButton.setGeometry(QtCore.QRect(450, 130, 75, 23))
|
||||
self.mysql_test_pushButton.setObjectName("mysql_test_pushButton")
|
||||
self.layoutWidget1 = QtWidgets.QWidget(self.groupBox)
|
||||
self.layoutWidget1.setGeometry(QtCore.QRect(20, 30, 501, 25))
|
||||
self.layoutWidget1.setGeometry(QtCore.QRect(20, 30, 501, 26))
|
||||
self.layoutWidget1.setObjectName("layoutWidget1")
|
||||
self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.layoutWidget1)
|
||||
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
|
||||
@ -226,7 +226,7 @@ class Ui_MainWindow(object):
|
||||
self.groupBox_3.setGeometry(QtCore.QRect(20, 130, 551, 71))
|
||||
self.groupBox_3.setObjectName("groupBox_3")
|
||||
self.layoutWidget2 = QtWidgets.QWidget(self.groupBox_3)
|
||||
self.layoutWidget2.setGeometry(QtCore.QRect(20, 30, 521, 25))
|
||||
self.layoutWidget2.setGeometry(QtCore.QRect(20, 30, 521, 26))
|
||||
self.layoutWidget2.setObjectName("layoutWidget2")
|
||||
self.gridLayout_3 = QtWidgets.QGridLayout(self.layoutWidget2)
|
||||
self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
|
||||
@ -259,7 +259,7 @@ class Ui_MainWindow(object):
|
||||
self.groupBox_5.setGeometry(QtCore.QRect(20, 140, 551, 371))
|
||||
self.groupBox_5.setObjectName("groupBox_5")
|
||||
self.layoutWidget_2 = QtWidgets.QWidget(self.groupBox_5)
|
||||
self.layoutWidget_2.setGeometry(QtCore.QRect(10, 20, 531, 151))
|
||||
self.layoutWidget_2.setGeometry(QtCore.QRect(10, 20, 531, 163))
|
||||
self.layoutWidget_2.setObjectName("layoutWidget_2")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget_2)
|
||||
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
||||
@ -454,7 +454,7 @@ class Ui_MainWindow(object):
|
||||
self.preload_min60_spinBox.setObjectName("preload_min60_spinBox")
|
||||
self.gridLayout_6.addWidget(self.preload_min60_spinBox, 10, 2, 1, 1)
|
||||
self.layoutWidget5 = QtWidgets.QWidget(self.groupBox_6)
|
||||
self.layoutWidget5.setGeometry(QtCore.QRect(40, 30, 362, 32))
|
||||
self.layoutWidget5.setGeometry(QtCore.QRect(40, 30, 362, 40))
|
||||
self.layoutWidget5.setObjectName("layoutWidget5")
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget5)
|
||||
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
||||
@ -469,7 +469,7 @@ class Ui_MainWindow(object):
|
||||
self.tab = QtWidgets.QWidget()
|
||||
self.tab.setObjectName("tab")
|
||||
self.layoutWidget6 = QtWidgets.QWidget(self.tab)
|
||||
self.layoutWidget6.setGeometry(QtCore.QRect(40, 140, 158, 22))
|
||||
self.layoutWidget6.setGeometry(QtCore.QRect(40, 140, 161, 22))
|
||||
self.layoutWidget6.setObjectName("layoutWidget6")
|
||||
self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.layoutWidget6)
|
||||
self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
|
||||
@ -532,7 +532,7 @@ class Ui_MainWindow(object):
|
||||
self.textBrowser.setGeometry(QtCore.QRect(30, 321, 511, 181))
|
||||
self.textBrowser.setObjectName("textBrowser")
|
||||
self.layoutWidget8 = QtWidgets.QWidget(self.tab)
|
||||
self.layoutWidget8.setGeometry(QtCore.QRect(40, 90, 141, 22))
|
||||
self.layoutWidget8.setGeometry(QtCore.QRect(40, 90, 141, 23))
|
||||
self.layoutWidget8.setObjectName("layoutWidget8")
|
||||
self.horizontalLayout_13 = QtWidgets.QHBoxLayout(self.layoutWidget8)
|
||||
self.horizontalLayout_13.setContentsMargins(0, 0, 0, 0)
|
||||
@ -543,7 +543,6 @@ class Ui_MainWindow(object):
|
||||
self.collect_source_comboBox = QtWidgets.QComboBox(self.layoutWidget8)
|
||||
self.collect_source_comboBox.setObjectName("collect_source_comboBox")
|
||||
self.collect_source_comboBox.addItem("")
|
||||
self.collect_source_comboBox.addItem("")
|
||||
self.horizontalLayout_13.addWidget(self.collect_source_comboBox)
|
||||
self.collect_start_pushButton = QtWidgets.QPushButton(self.tab)
|
||||
self.collect_start_pushButton.setGeometry(QtCore.QRect(40, 30, 141, 23))
|
||||
@ -620,21 +619,21 @@ class Ui_MainWindow(object):
|
||||
self.label_9.setText(_translate("MainWindow", "导入权息数据:"))
|
||||
self.hdf5_weight_label.setText(_translate("MainWindow", "TextLabel"))
|
||||
self.import_detail_textEdit.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入上证日线记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入深证日线记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入上证5分钟线记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入深证5分钟线记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入上证1分钟线记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入深证1分钟线记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入上证分笔记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入深证分笔记录:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入上证分时数据:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入深证分时数据:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入权息数据数:</p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">导入完毕!</p></body></html>"))
|
||||
"</style></head><body style=\" font-family:\'Microsoft YaHei UI\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入上证日线记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入深证日线记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入上证5分钟线记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入深证5分钟线记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入上证1分钟线记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入深证1分钟线记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入上证分笔记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入深证分笔记录:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入上证分时数据:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入深证分时数据:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入权息数据数:</span></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">导入完毕!</span></p></body></html>"))
|
||||
self.import_status_label.setText(_translate("MainWindow", "import_status_label"))
|
||||
self.sched_import_pushButton.setText(_translate("MainWindow", "启动定时导入"))
|
||||
self.label_40.setText(_translate("MainWindow", "导入执行时间:"))
|
||||
@ -673,17 +672,16 @@ class Ui_MainWindow(object):
|
||||
self.label_37.setText(_translate("MainWindow", "执行时间段2:"))
|
||||
self.label_38.setText(_translate("MainWindow", "-"))
|
||||
self.textBrowser.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">注:</p>\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:10pt; font-weight:600; color:#ff0000;\">1、行情采集服务仅对预加载数据有效</span>,在行情采集服务运行期间,hikyuu.interactive运行时将自动连接采集服务获取行情数据,并更新预加载的内容数据。</p>\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2、如使用芝麻代理(<a href=\"http://h.zhimaruanjian.com/\"><span style=\" text-decoration: underline; color:#0000ff;\">http://h.zhimaruanjian.com/</span></a>),请自行申请(需付费),并确保ip为其白名单。</p></body></html>"))
|
||||
"</style></head><body style=\" font-family:\'Microsoft YaHei UI\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">注:</span></p>\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'SimSun\';\"><br /></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\'; font-size:10pt; font-weight:600; color:#ff0000;\">1、行情采集服务仅对预加载数据有效</span><span style=\" font-family:\'SimSun\';\">,在行情采集服务运行期间,hikyuu.interactive运行时将自动连接采集服务获取行情数据,并更新预加载的内容数据。</span></p>\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'SimSun\';\"><br /></p>\n"
|
||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'SimSun\';\">2、如使用芝麻代理(</span><a href=\"http://h.zhimaruanjian.com/\"><span style=\" font-family:\'SimSun\'; text-decoration: underline; color:#0000ff;\">http://h.zhimaruanjian.com/</span></a><span style=\" font-family:\'SimSun\';\">),请自行申请(需付费),并确保ip为其白名单。</span></p></body></html>"))
|
||||
self.label_39.setText(_translate("MainWindow", "行情数据源:"))
|
||||
self.collect_source_comboBox.setItemText(0, _translate("MainWindow", "sina"))
|
||||
self.collect_source_comboBox.setItemText(1, _translate("MainWindow", "qq"))
|
||||
self.collect_source_comboBox.setItemText(0, _translate("MainWindow", "qq"))
|
||||
self.collect_start_pushButton.setText(_translate("MainWindow", "启动采集"))
|
||||
self.collect_status_label.setText(_translate("MainWindow", "TextLabel"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "行情采集服务"))
|
||||
|
@ -42,7 +42,7 @@
|
||||
<x>20</x>
|
||||
<y>90</y>
|
||||
<width>521</width>
|
||||
<height>25</height>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
@ -152,7 +152,7 @@
|
||||
<x>20</x>
|
||||
<y>60</y>
|
||||
<width>155</width>
|
||||
<height>18</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
@ -188,7 +188,7 @@
|
||||
<x>20</x>
|
||||
<y>90</y>
|
||||
<width>301</width>
|
||||
<height>18</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
@ -348,7 +348,7 @@
|
||||
<x>20</x>
|
||||
<y>30</y>
|
||||
<width>198</width>
|
||||
<height>18</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
@ -450,7 +450,7 @@
|
||||
<x>20</x>
|
||||
<y>30</y>
|
||||
<width>501</width>
|
||||
<height>25</height>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||
@ -492,7 +492,7 @@
|
||||
<x>20</x>
|
||||
<y>30</y>
|
||||
<width>521</width>
|
||||
<height>25</height>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
@ -591,7 +591,7 @@
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>531</width>
|
||||
<height>151</height>
|
||||
<height>163</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
@ -698,21 +698,21 @@
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入上证日线记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入深证日线记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入上证5分钟线记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入深证5分钟线记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入上证1分钟线记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入深证1分钟线记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入上证分笔记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入深证分笔记录:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入上证分时数据:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入深证分时数据:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入权息数据数:</p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">导入完毕!</p></body></html></string>
|
||||
</style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入上证日线记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入深证日线记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入上证5分钟线记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入深证5分钟线记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入上证1分钟线记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入深证1分钟线记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入上证分笔记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入深证分笔记录:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入上证分时数据:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入深证分时数据:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入权息数据数:</span></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">导入完毕!</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
@ -1043,7 +1043,7 @@ p, li { white-space: pre-wrap; }
|
||||
<x>40</x>
|
||||
<y>30</y>
|
||||
<width>362</width>
|
||||
<height>32</height>
|
||||
<height>40</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
@ -1074,7 +1074,7 @@ p, li { white-space: pre-wrap; }
|
||||
<rect>
|
||||
<x>40</x>
|
||||
<y>140</y>
|
||||
<width>158</width>
|
||||
<width>161</width>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -1199,14 +1199,14 @@ p, li { white-space: pre-wrap; }
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">注:</p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt; font-weight:600; color:#ff0000;">1、行情采集服务仅对预加载数据有效</span>,在行情采集服务运行期间,hikyuu.interactive运行时将自动连接采集服务获取行情数据,并更新预加载的内容数据。</p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2、如使用芝麻代理(<a href="http://h.zhimaruanjian.com/"><span style=" text-decoration: underline; color:#0000ff;">http://h.zhimaruanjian.com/</span></a>),请自行申请(需付费),并确保ip为其白名单。</p></body></html></string>
|
||||
</style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">注:</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'SimSun';"><br /></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun'; font-size:10pt; font-weight:600; color:#ff0000;">1、行情采集服务仅对预加载数据有效</span><span style=" font-family:'SimSun';">,在行情采集服务运行期间,hikyuu.interactive运行时将自动连接采集服务获取行情数据,并更新预加载的内容数据。</span></p>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'SimSun';"><br /></p>
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'SimSun';">2、如使用芝麻代理(</span><a href="http://h.zhimaruanjian.com/"><span style=" font-family:'SimSun'; text-decoration: underline; color:#0000ff;">http://h.zhimaruanjian.com/</span></a><span style=" font-family:'SimSun';">),请自行申请(需付费),并确保ip为其白名单。</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QWidget" name="layoutWidget">
|
||||
@ -1215,7 +1215,7 @@ p, li { white-space: pre-wrap; }
|
||||
<x>40</x>
|
||||
<y>90</y>
|
||||
<width>141</width>
|
||||
<height>22</height>
|
||||
<height>23</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
||||
@ -1228,11 +1228,6 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="collect_source_comboBox">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>sina</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>qq</string>
|
||||
|
@ -5,9 +5,8 @@ package("hdf5")
|
||||
set_license("BSD-3-Clause")
|
||||
|
||||
if is_plat("windows") then
|
||||
add_urls("https://gitee.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5-$(version)-win-x64.zip",
|
||||
"https://github.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5-$(version)-win-x64.zip"
|
||||
)
|
||||
add_urls("https://github.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5-$(version)-win-x64.zip",
|
||||
"https://gitee.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5-$(version)-win-x64.zip")
|
||||
add_versions("1.10.4", "253b23baada1d9c86cb4424595eba366b6844c384a5e0aafebf0893a1148f25f")
|
||||
end
|
||||
|
||||
|
@ -5,8 +5,8 @@ package("hdf5_D")
|
||||
set_license("BSD-3-Clause")
|
||||
|
||||
if is_plat("windows") then
|
||||
add_urls("https://gitee.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5_D-$(version)-win-x64.zip",
|
||||
"https://github.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5_D-$(version)-win-x64.zip")
|
||||
add_urls("https://github.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5_D-$(version)-win-x64.zip",
|
||||
"https://gitee.com/fasiondog/hikyuu/releases/download/1.1.9/hdf5_D-$(version)-win-x64.zip")
|
||||
add_versions("1.10.4", "5b1bd27e054f885bf9cac0beffcacbe180e251c5d8c12c0652a96055f2784b46")
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user