Skip to main content

UpdateStrategyArgs

Arguments for UpdateStrategy.

FieldTypeRequiredNullableDefaultDescription
StrategyIdintYesNoLive strategy id to update.
DescriptionstrNoYesOptional updated user-facing strategy description. When null, the existing description is preserved.
BacktestIdstrNoYesOptional updated backtest identifier used for traceability (as produced by MesoSim tooling). When null, the existing BacktestId is preserved. Must be provided together with MesoSimInstance when updating.
MesoSimInstancestrNoYesOptional updated MesoSim instance identifier where the strategy definition originated. When null, the existing MesoSimInstance is preserved. Must be provided together with BacktestId when updating.
StrategyDefinitiondict[str, Any]YesNoUpdated strategy definition payload.
ActiveOnAccountslist[str]YesNoBroker account ids where this strategy should be active/enabled.