You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: warn on manual brokerage orders not tracked by Lean (#9278)
* feat: warn on manual brokerage orders not tracked by Lean
Add a warning in DefaultBrokerageMessageHandler to notify users when orders are placed manually through the brokerage and are not observed by Lean. The warning is emitted only once per session and includes a message with documentation guidance.
* refactor: message for unrecognized order warning
* refactor: unrecognized order messaging with brokerage IDs
* refactor: unrecognized order msg
return$"Ignoring unrecognized order (BrokerId: {brokerageOrderId}). Please use 'SetBrokerageMessageHandler(...)' to set a custom brokerage message handler to optionally accept unknown orders.";
0 commit comments