File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ This release will be the final version that uses Poetry for package and dependen
43
43
- Fixed typo in ` delta.rs ` doc comment (#2230 ), thanks @eltociear
44
44
- Fixed memory leak in network PyO3 layer caused by the ` gil-refs ` feature (#2229 ), thanks for reporting @davidsblom
45
45
- Fixed reconnect handling for Betfair (#2232 ), thanks @limx0
46
+ - Fixed ` instrument.id ` null dereferences in error logs (#2237 ), thanks for reporting @ryantam626
47
+ - Fixed schema for listing markets of dYdX (#2240 ), thanks @davidsblom
46
48
47
49
### Documentation Updates
48
50
- Added Databento overview (#2233 ), thanks @stefansimik
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ cdef class Portfolio(PortfolioFacade):
183
183
if instrument is None :
184
184
self ._log.error(
185
185
f" Cannot update initial (order) margin: "
186
- f" no instrument found for {instrument.id }"
186
+ f" no instrument found for {instrument_id }"
187
187
)
188
188
initialized = False
189
189
break
@@ -274,7 +274,7 @@ cdef class Portfolio(PortfolioFacade):
274
274
if instrument is None :
275
275
self ._log.error(
276
276
f" Cannot update maintenance (position) margin: "
277
- f" no instrument found for {instrument.id }"
277
+ f" no instrument found for {instrument_id }"
278
278
)
279
279
initialized = False
280
280
break
Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ cdef class RiskEngine(Component):
427
427
if instrument is None :
428
428
self ._deny_command(
429
429
command = command,
430
- reason = f" Instrument for {command .instrument_id} not found" ,
430
+ reason = f" Instrument for {order .instrument_id} not found" ,
431
431
)
432
432
return # Denied
433
433
You can’t perform that action at this time.
0 commit comments