fix: Set timeInForce in bybit order reqs

This commit is contained in:
John Colvin committed 2025-06-20 20:17:01 +00:00
1 parent cf3f7e6862
commit 98c2d738b2
1 file changed
+1
@@ -397,6 +397,7 @@ class BybitExecutionGateway(ExecutionGateway):
"symbol": sec_name,
"side": "Buy" if req.is_buy() else "Sell",
"orderType": req.order_type().title(),
"timeInForce": req.time_in_force().upper(),
"price": format_price(sec, px),
"qty": format_quantity(sec, qty),
}