Skip to content

Commit 4884123

Browse files
committed
change quote depth subscribe destination
1 parent 98fb6c5 commit 4884123

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tigeropen/common/consts/push_destinations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
QUOTE = 'quote'
4-
QUOTE_DEPTH = 'askbid'
4+
QUOTE_DEPTH = 'quotedepth'
55
QUOTE_FUTURE = 'future'
66
QUOTE_OPTION = 'option'
77

tigeropen/push/push_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def subscribe_depth_quote(self, symbols):
321321
:param symbols: symbol列表
322322
:return:
323323
"""
324-
return self._handle_quote_subscribe(destination=QUOTE_DEPTH, subscription='AskBid', symbols=symbols)
324+
return self._handle_quote_subscribe(destination=QUOTE_DEPTH, subscription='QuoteDepth', symbols=symbols)
325325

326326
def subscribe_option(self, symbols):
327327
"""

0 commit comments

Comments
 (0)