Skip to main content

HistoricalMetricTarget

Target identity for a metric series. Populated fields depend on the query; unpopulated ids are null. Position queries set PositionId and account ids when resolvable. Leg queries set LegId and PositionId when the parent is known. Strategy queries set StrategyId, account ids, and UnderlyingContractId/Underlying. Underlying queries set UnderlyingContractId/Underlying only. Underlying is a denormalized display label; UnderlyingContractId is the stable key.

FieldTypeRequiredNullableDefaultDescription
PositionIdintNoYesLive position id when the series is position-scoped, or leg-scoped with a known parent position.
LegIdintNoYesLive leg id when the series is leg-scoped.
StrategyIdintNoYesLive strategy id when the series is strategy-scoped.
UnderlyingContractIdintNoYesUnderlying live contract id when the series is strategy-scoped or underlying-scoped.
UnderlyingstrNoYesDenormalized underlying display label stored by the source row, when present.
LiveAccountIdintNoYesInternal live account id when the series is account-scoped.
BrokerAccountIdstrNoYesProvider-specific broker account id when available.
BrokerTypeBrokerTypeNoYesBroker/provider backing the account when available.