Skip to main content

PreparePositionEntryResult

Result payload for a successful prepare-entry job.

FieldTypeRequiredNullableDefaultDescription
ExecPlanIdintYesNoLive execution plan id created for this preparation.
PositionNamestrYesNoProposed position name.
StrategyIdintYesNoLive strategy id.
StrategyNamestrYesNoStrategy name at the time of preparation.
BrokerAccountIdstrYesNoBroker account id this preparation targets.
SelectedLegsdict[str, LiveLeg]YesNoSelected legs keyed by leg name.
LegGroupsdict[int, list[str]]YesNoLeg groups keyed by leg group id. Values are lists of leg names in that group.
LegGroupQtysdict[int, LegGroupQtys]YesNoPer-leg-group quantities keyed by leg group id.
AbortConditionslist[ConditionEvaluation]YesNoAbort condition evaluations.
EntryConditionslist[ConditionEvaluation]YesNoEntry condition evaluations.
EntryAllowedboolYesNoWhether entry is allowed according to evaluated checks/conditions.
QtyMultiplierDecimalYesNoQuantity multiplier resolved by the server for this preparation.
Varsdict[str, Decimal]YesNoVariables used/produced during preparation (var name → value).
LegGreeksdict[str, LiveGreeks]YesNoPer-leg greeks keyed by leg name.
LegPricesdict[str, LivePrices]YesNoPer-leg prices keyed by leg name.
LegGroupGreeksdict[int, LiveGreeks]YesNoPer-leg-group greeks keyed by leg group id.
LegGroupPricesdict[int, LivePrices]YesNoPer-leg-group prices keyed by leg group id.
PositionGreeksLiveGreeksYesNoAggregated greeks for the position.
PositionPriceLivePricesYesNoAggregated prices for the position.
UnderlyingPriceLivePricesYesNoUnderlying prices snapshot used during preparation.