[Fix]修复okexGateway的bug

This commit is contained in:
vn.py 2018-01-23 10:05:21 +08:00
parent c0e09795fe
commit 983e791fce

View File

@ -572,8 +572,8 @@ etc': u'0', u'act': u'0', u'eth': u'0', u'ltc': u'0', u'bcs': u'0'}, u'free': {u
funds = rawData['info']['funds']
# 持仓信息
#for symbol in ['btc', 'ltc','eth', self.currency]:
for symbol in :
for symbol in ['btc', 'ltc','eth', self.currency]:
#for symbol in :
if symbol in funds['free']:
pos = VtPositionData()
pos.gatewayName = self.gatewayName