Skip to content

Commit d374b11

Browse files
committed
Fix formatting
1 parent 3a88407 commit d374b11

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/concepts/live.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See also the `LiveExecEngineConfig` [API Reference](../api_reference/config#clas
3131
**Purpose**: Ensures that the system state remains consistent with the trading venue by recovering any missed events, such as order and position status updates.
3232

3333
**Settings**:
34-
- `reconciliation`: (default True): Activates reconciliation at startup, aligning the system's internal state with the execution venue's state.
34+
- `reconciliation`: (default True) Activates reconciliation at startup, aligning the system's internal state with the execution venue's state.
3535
- `reconciliation_lookback_mins`: Specifies how far back (in minutes) the system should request past events to reconcile. This provides recovery for uncached execution state.
3636

3737
:::info

nautilus_trader/trading/strategy.pxd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ cdef class Strategy(Actor):
135135
Price trigger_price=*,
136136
ClientId client_id=*, dict[str, object] params=*,
137137
)
138-
cpdef void cancel_order(self, Order order, ClientId client_id=*,dict[str, object] params=*)
139-
cpdef void cancel_orders(self, list orders, ClientId client_id=*,dict[str, object] params=*)
138+
cpdef void cancel_order(self, Order order, ClientId client_id=*, dict[str, object] params=*)
139+
cpdef void cancel_orders(self, list orders, ClientId client_id=*, dict[str, object] params=*)
140140
cpdef void cancel_all_orders(self, InstrumentId instrument_id, OrderSide order_side=*, ClientId client_id=*, dict[str, object] params=*)
141141
cpdef void close_position(self, Position position, ClientId client_id=*, list[str] tags=*, bint reduce_only=*, dict[str, object] params=*)
142142
cpdef void close_all_positions(self, InstrumentId instrument_id, PositionSide position_side=*, ClientId client_id=*, list[str] tags=*, bint reduce_only=*, dict[str, object] params=*)

nautilus_trader/trading/strategy.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ cdef class Strategy(Actor):
993993
else:
994994
self._manager.send_risk_command(command)
995995

996-
cpdef void cancel_order(self, Order order, ClientId client_id = None,dict[str, object] params = None):
996+
cpdef void cancel_order(self, Order order, ClientId client_id = None, dict[str, object] params = None):
997997
"""
998998
Cancel the given order with optional routing instructions.
999999
@@ -1327,7 +1327,7 @@ cdef class Strategy(Actor):
13271327
for position in positions_open:
13281328
self.close_position(position, client_id, tags, reduce_only, params)
13291329

1330-
cpdef void query_order(self, Order order, ClientId client_id = None,dict[str, object] params = None):
1330+
cpdef void query_order(self, Order order, ClientId client_id = None, dict[str, object] params = None):
13311331
"""
13321332
Query the given order with optional routing instructions.
13331333

0 commit comments

Comments
 (0)