From c4ac4b560fa885d88d865de67e92de4f02051465 Mon Sep 17 00:00:00 2001 From: nanoric Date: Tue, 21 May 2019 15:34:26 +0800 Subject: [PATCH] [Fix] ITapGateway: fixed: sequence of bid price is error --- vnpy/gateway/itap/itap_gateway.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vnpy/gateway/itap/itap_gateway.py b/vnpy/gateway/itap/itap_gateway.py index 8771ebba..b962ecd2 100644 --- a/vnpy/gateway/itap/itap_gateway.py +++ b/vnpy/gateway/itap/itap_gateway.py @@ -171,9 +171,9 @@ class QuoteNotify(ITapQuoteAPINotify): pre_close=info.QPreClosingPrice, bid_price_1=info.QBidPrice[0], bid_price_2=info.QBidPrice[1], - bid_price_3=info.QBidPrice[3], - bid_price_4=info.QBidPrice[4], - bid_price_5=info.QBidPrice[5], + bid_price_3=info.QBidPrice[2], + bid_price_4=info.QBidPrice[3], + bid_price_5=info.QBidPrice[4], ask_price_1=info.QAskPrice[0], ask_price_2=info.QAskPrice[1], ask_price_3=info.QAskPrice[2],