PreparePositionEntryResult
Result payload for a successful prepare-entry job.
| Field | Type | Required | Nullable | Default | Description |
|---|---|---|---|---|---|
ExecPlanId | int | Yes | No | Live execution plan id created for this preparation. | |
PositionName | str | Yes | No | Proposed position name. | |
StrategyId | int | Yes | No | Live strategy id. | |
StrategyName | str | Yes | No | Strategy name at the time of preparation. | |
BrokerAccountId | str | Yes | No | Broker account id this preparation targets. | |
SelectedLegs | dict[str, LiveLeg] | Yes | No | Selected legs keyed by leg name. | |
LegGroups | dict[int, list[str]] | Yes | No | Leg groups keyed by leg group id. Values are lists of leg names in that group. | |
LegGroupQtys | dict[int, LegGroupQtys] | Yes | No | Per-leg-group quantities keyed by leg group id. | |
AbortConditions | list[ConditionEvaluation] | Yes | No | Abort condition evaluations. | |
EntryConditions | list[ConditionEvaluation] | Yes | No | Entry condition evaluations. | |
EntryAllowed | bool | Yes | No | Whether entry is allowed according to evaluated checks/conditions. | |
QtyMultiplier | Decimal | Yes | No | Quantity multiplier resolved by the server for this preparation. | |
Vars | dict[str, Decimal] | Yes | No | Variables used/produced during preparation (var name → value). | |
LegGreeks | dict[str, LiveGreeks] | Yes | No | Per-leg greeks keyed by leg name. | |
LegPrices | dict[str, LivePrices] | Yes | No | Per-leg prices keyed by leg name. | |
LegGroupGreeks | dict[int, LiveGreeks] | Yes | No | Per-leg-group greeks keyed by leg group id. | |
LegGroupPrices | dict[int, LivePrices] | Yes | No | Per-leg-group prices keyed by leg group id. | |
PositionGreeks | LiveGreeks | Yes | No | Aggregated greeks for the position. | |
PositionPrice | LivePrices | Yes | No | Aggregated prices for the position. | |
UnderlyingPrice | LivePrices | Yes | No | Underlying prices snapshot used during preparation. |