self.submit_orderΒΆ
- lumibot.strategies.strategy.Strategy.submit_order(self, order: Order | list[Order], *, reason: str | None = None, evidence: dict | None = None, **kwargs)
Submit with an optional private explanation; agent actions require one.
reasonis committed before the broker call.evidenceis an optional JSON object of sources, timestamps, sizing and risks. Full explanations remain in the private memory journal; orders carry compact references. An unknown broker outcome must be reconciled before retrying.