[Fix]Close #907
This commit is contained in:
parent
5fb1cafc0d
commit
dfe0304f74
@ -381,7 +381,7 @@ class GatewayApi(BitfinexApi):
|
|||||||
|
|
||||||
# BID
|
# BID
|
||||||
bidPriceList = bid.keys()
|
bidPriceList = bid.keys()
|
||||||
bidPriceList.sort()
|
bidPriceList.sort(reverse=True)
|
||||||
|
|
||||||
tick.bidPrice1 = bidPriceList[0]
|
tick.bidPrice1 = bidPriceList[0]
|
||||||
tick.bidPrice2 = bidPriceList[1]
|
tick.bidPrice2 = bidPriceList[1]
|
||||||
@ -398,7 +398,6 @@ class GatewayApi(BitfinexApi):
|
|||||||
# ASK
|
# ASK
|
||||||
askPriceList = ask.keys()
|
askPriceList = ask.keys()
|
||||||
askPriceList.sort()
|
askPriceList.sort()
|
||||||
askPriceList.reverse()
|
|
||||||
|
|
||||||
tick.askPrice1 = askPriceList[0]
|
tick.askPrice1 = askPriceList[0]
|
||||||
tick.askPrice2 = askPriceList[1]
|
tick.askPrice2 = askPriceList[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user