GetPositionSnapshotArgs
Arguments for GetPositionSnapshot.
| Field | Type | Required | Nullable | Default | Description |
|---|---|---|---|---|---|
PositionId | int | Yes | No | Live position id to snapshot. | |
PriceFields | LiveQuoteFields | No | No | LiveQuoteFields.All | Quote fields to include for prices (bid/ask/last/mark). |
GreekFields | LiveQuoteFields | No | No | LiveQuoteFields.All | Quote fields to include for greeks. |
PnlFields | LiveQuoteFields | No | No | LiveQuoteFields.All | Quote fields to include for PnL. |
IncludePosition | LiveDataInclude | Yes | No | Which blocks to include for the position itself. | |
IncludeLegs | LiveDataInclude | Yes | No | Which blocks to include for legs belonging to the position. | |
IncludeLegGroups | LiveDataInclude | Yes | No | Which blocks to include for leg groups belonging to the position. | |
Provider | DataProviderType | No | Yes | Optional override for which market data provider to use. null = server default. |