Merge pull request #1258 from Gwill/dev

fix typo
This commit is contained in:
vn.py 2018-12-24 20:43:14 +08:00 committed by GitHub
commit 155e0004b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,7 +379,7 @@ class CtpMdApi(MdApi):
if tick.exchange == EXCHANGE_DCE: if tick.exchange == EXCHANGE_DCE:
tick.date = datetime.now().strftime('%Y%m%d') tick.date = datetime.now().strftime('%Y%m%d')
# 上交所SEE股票期权相关 # 上交所SSE股票期权相关
if tick.exchange == EXCHANGE_SSE: if tick.exchange == EXCHANGE_SSE:
tick.bidPrice2 = data['BidPrice2'] tick.bidPrice2 = data['BidPrice2']
tick.bidVolume2 = data['BidVolume2'] tick.bidVolume2 = data['BidVolume2']