Fix trading trend condition by comparing up_bid_price with down_bid_price

This commit is contained in:
Nawaz Haider
2026-01-03 15:11:24 +06:00
parent 1782d25889
commit 9381021ac2
+1 -1
View File
@@ -80,7 +80,7 @@ async def main():
down_ask_price = 1 - up_bid_price
down_bid_price = 1 - up_ask_price
up_trend = up_bid_price > down_ask_price
up_trend = up_bid_price > down_bid_price
if trades < MAX_TRADES:
trading_side = book.last_signal