cleanup: Remove redundant code

This commit is contained in:
John Colvin committed 2025-08-18 18:24:05 +00:00
1 parent 809a66323d
commit 30276066f8
1 file changed
-3
@@ -790,9 +790,6 @@ class BybitExecutionGateway(ExecutionGateway):
"qty": format_quantity(sec, req.quantity()),
}
on_ack, on_err = self._order_handlers("cxlrep", ord_data.exch_id)
if self.status != BybitGatewayStatus.READY:
self.buffered_requests[req.key()] = req
return
self.logger.info("[bybit_gw_cxlrep_ord_send.json]%s" % SLog(params=params))
try:
self.trade_cli.amend_order(on_ack, **params, error_callback=on_err)