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.

reason is committed before the broker call. evidence is 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.