独立配置
This commit is contained in:
@@ -130,6 +130,8 @@ class QmtV(XtQuantTraderCallback):
|
||||
# ========================================#
|
||||
def startMarketDataSubscription(self):
|
||||
self.subscriptionId = xtdata.subscribe_whole_quote(['SH', 'SZ'], self.onDataUpdate)
|
||||
|
||||
PrintLog(LogLevel.INFO, f'- [市场数据订阅成功-{self.subscriptionId}]')
|
||||
|
||||
def stopMarketDataSubscription(self):
|
||||
PrintLog(LogLevel.INFO, '- 停止市场数据订阅')
|
||||
|
||||
Reference in New Issue
Block a user