[Fix] typo in xtp_gateway
This commit is contained in:
parent
a9a23cbb3f
commit
1397c86ae8
@ -241,7 +241,7 @@ class XtpQuoteApi(API.QuoteSpi):
|
|||||||
self.server_ip = server_ip
|
self.server_ip = server_ip
|
||||||
self.server_port = server_port
|
self.server_port = server_port
|
||||||
|
|
||||||
if quote_protocol == "CTP":
|
if quote_protocol == "TCP":
|
||||||
self.quote_protocol = XTP_PROTOCOL_TYPE.XTP_PROTOCOL_TCP
|
self.quote_protocol = XTP_PROTOCOL_TYPE.XTP_PROTOCOL_TCP
|
||||||
else:
|
else:
|
||||||
self.quote_protocol = XTP_PROTOCOL_TYPE.XTP_PROTOCOL_UDP
|
self.quote_protocol = XTP_PROTOCOL_TYPE.XTP_PROTOCOL_UDP
|
||||||
|
Loading…
Reference in New Issue
Block a user