Reference/SMA Ingestion Requirements

SMA Ingestion Requirements

This document defines preparatory requirements for adding SMA portfolios after ICOI and IMST. It supports ENG-5249 and should be reviewed before any SMA ingestion implementation.

It does not change the current Alpha ingestion scope.

Purpose

Gordon confirmed that ICOI and IMST are the right first OIF portfolios. He also said the later extension should include SMA portfolios, but only if the system can map SMA positions to derivative-equivalent instruments.

The core requirement is:

The system must know what derivative-equivalent contract an SMA trade represents
before it can attach market data, smile context, term structure, marks, or
copilot warnings.

Relationship To Existing Contracts

SMA ingestion depends on two other documents:

SMA ingestion should not bypass either gate.

Minimum Source Field Contract

The future SMA source should provide, or allow the system to derive with approval, the following fields.

FieldRequired?Meaning
portfolioYesSMA portfolio/account identifier.
source_trade_idYesStable source ID for idempotent ingestion.
source_position_idPreferredPosition or lot ID when available.
trade_timestampYesExecution timestamp with timezone.
settlement_datePreferredSettlement date if available.
source_symbolYesRaw instrument symbol from source.
underlyingYesRaw underlying, such as BTC, ETH, MSTR, COIN, or source-specific value.
instrument_typeYesOption, future, perpetual, spot, structured/OTC, or other.
option_typeRequired for optionsCall or put.
expiryRequired for optionsExpiry date/time.
strikeRequired for optionsStrike.
sideYesBuy/sell or long/short.
quantityYesFilled quantity.
quantity_unitYesContracts, coin, shares, notional, or source-specific unit.
priceYesExecution price in source units.
price_currencyYesCurrency of price.
premiumPreferredTotal premium in source currency.
premium_usdPreferredSource total USD premium.
multiplierYes for optionsContract multiplier.
deliverableRequired for adjusted/customDeliverable or contract adjustment terms.
statusYesFilled, pending, canceled, expired, amended, or source equivalent.
brokerPreferredBroker or execution venue.
venuePreferredExchange, OTC, broker, or source venue.
created_atPreferredSource created timestamp.
updated_atPreferredSource updated timestamp for cursor sync.
strategy_intentPreferredLong vol, short vol, hedge, roll, close, or source strategy tag.
parent_order_idPreferredParent/group ID for lifecycle and spread reconstruction.

Derivative-Equivalent Mapping Fields

For every SMA row, the mapping process should produce:

FieldMeaning
canonical_underlyingNormalized traded underlying.
canonical_expiryNormalized expiry.
canonical_strikeNormalized strike.
canonical_option_typeNormalized call/put.
canonical_multiplierMultiplier used for analytics.
provider_symbolSymbol needed by the approved data provider.
provider_symbol_formatDeribit, OCC/OPRA, Amberdata-native, source-native, or other.
derivative_equivalent_symbolApproved equivalent contract representation when source trade is OTC/custom.
identity_statusExact, derivative-equivalent, proxy-only, pending listing, unmapped, unsupported, or needs review.
mapping_methodExact parse, provider lookup, manual map, approved proxy, fallback, unsupported.
authority_sourceWho or what approved the mapping.
authority_statusApproved, pending, rejected, expired, or not required.
caveatHuman-readable limitation.

Deribit-Style Crypto Option Representation

Gordon noted that Deribit uses a standard option representation. SMA crypto option trades should be mappable to an equivalent representation when economically valid.

The mapping should preserve:

  • underlying currency
  • expiry
  • strike
  • call/put
  • quantity unit
  • multiplier or coin contract size
  • execution source
  • whether the trade was exchange-listed, OTC-like, or custom

The system should not assume that an OTC-like trade is listed simply because a similar Deribit instrument exists. It needs an approved mapping state.

TradFi And Proxy Cases

SMA trades may include structures that are not exact Deribit-style crypto options. They may also include MSTR/COIN or other proxy underlyings.

CaseRequired treatment
Exact listed crypto optionMap to provider-recognized exchange instrument.
OTC-like crypto optionRequire derivative-equivalent approval or unsupported state.
Custom strikeMap only when approved; otherwise needs review.
Custom expiryIf expected to list later, mark as pending listing until equivalent exists.
MSTR/COIN optionUse MSTR/COIN traded-contract identity for marks, with BTC market proxy only if approved for opportunity context.
Adjusted contractRequire deliverable, multiplier, and authority source.
Proxy tickerRecord proxy reason, valid metric families, and retirement policy.
Unknown or incomplete termsKeep unmapped; do not infer BTC silently.

Source Quality States

SMA ingestion should report quality before analytics are trusted.

StateMeaning
readyRequired fields and approved identity mapping exist.
needs_mappingRequired source fields exist but derivative-equivalent mapping is pending.
needs_source_fieldSource feed lacks required contract/economic fields.
proxy_onlyRow can support market context but not exact marks or P&L.
unsupportedInstrument is outside current provider/model capability.
not_entitledProvider access blocks required source lookup.
invalidSource row is internally inconsistent.

Questions For Jamil / Alpha / Operations

QuestionWhy it matters
Which SMA portfolios should enter first after ICOI and IMST?Defines scope and test data.
What system will provide SMA trades and positions?Determines API/file contract and auth.
Is there a stable source trade ID and update timestamp?Required for idempotent sync.
Are option terms provided as discrete fields or only in a symbol string?Controls parsing and validation work.
Are custom strike/expiry trades flagged by source?Prevents silent listed-equivalent assumptions.
Does the source provide derivative-equivalent ticker or must we derive it?Determines mapping ownership.
Who approves derivative-equivalent mappings?Prevents engineering from approving economic equivalence.
Are strategy intent, opening/closing flag, and parent order/group available?Needed for copilot action taxonomy and lifecycle.
Are execution marks, broker marks, settlement, or realized P&L available from the same source?Determines whether SMA analytics can become outcome-aware.
How are amendments, cancels, partial fills, and corporate actions represented?Required for reliable lifecycle and P&L.

Decision Points

DecisionWhy it mattersCan proceed now?
Which SMA portfolios enter first?Defines source scope, test data, and mapping universe.Document requirements now; production scope needs Gordon/Jamil.
Who owns derivative-equivalent mapping approval?Engineering should not silently approve economic equivalence.Define approval fields now; owner decision needed.
Which SMA source system is authoritative?Determines sync mechanism, field names, and lifecycle semantics.Collect sample rows now; ingestion waits for source decision.
Can mappings be manually approved?Custom strikes, custom expiries, and OTC-like trades may need human review.Define review states now; workflow decision needed.
Which proxy cases are allowed for opportunity context only?Prevents market proxy from becoming valuation authority.Preserve proxy states now; approved metric families need review.
Does the SMA source provide strategy intent and lifecycle links?Copilot evaluation needs to distinguish opens, closes, rolls, hedges, and spreads.Define optional fields now; source availability decision needed.
What source supplies SMA realized P&L or terminal outcomes?Outcome reporting cannot be inferred from partial trade rows.Keep unavailable by default; source decision needed.

Preparatory Implementation Boundary

Can proceed now:

  • document SMA field contract
  • collect sample source rows
  • classify rows by source-readiness state
  • define derivative-equivalent mapping fields
  • define questions for Jamil and operations

Should wait:

  • production ingestion of SMA portfolios
  • treating SMA derivative-equivalent rows as decision-grade
  • SMA realized P&L
  • strong SMA trade warnings or recommendations
  • automated proxy ticker retirement

Acceptance For Preparatory Stage

This document is complete when Gordon, Jamil, and engineering can review:

  • which fields the SMA source must provide
  • which fields can be derived only with approval
  • how Deribit-style and TradFi/proxy cases differ
  • what states block analytics
  • what questions must be answered before ingestion begins