[Mod]调整secGateway的交易所代码默认字段
This commit is contained in:
parent
2b8f918866
commit
25e535641c
@ -1218,7 +1218,7 @@ class SecTdApi(TdApi):
|
||||
contract.gatewayName = self.gatewayName
|
||||
|
||||
contract.symbol = data['securityOptionID']
|
||||
contract.exchange = exchangeMapReverse.get(data['exchangeID'], EXCHANGE_UNKNOWN)
|
||||
contract.exchange = exchangeMapReverse.get(data['exchangeID'], EXCHANGE_SSE)
|
||||
contract.vtSymbol = '.'.join([contract.symbol, contract.exchange])
|
||||
|
||||
contract.name = data['contractName'].decode('GBK')
|
||||
|
Loading…
Reference in New Issue
Block a user