Skip to main content

Reflector Prices Data SDEX Snapshot

Table Metadata​

PropertyConfiguration
Natural Key(s)asset_contract_id, valid_from
Partition Field(s)N/A
Clustered Field(s)asset_contract_id
Documentationdbt docs

This table captures historical snapshots of the exchange price of assets minted on the Stellar network. Prices originate from the Reflector oracle contracts on Stellar. The valid_from and valid_to timestamps identify when each record was active.

Column Details​

NameDescriptionData TypeDomain ValuesRequired?Notes
dayThe day when the asset price is valid.DATEYes
asset_codeThe 4 or 12 character code representation of the asset on the network.STRINGNoAsset codes have no guarantees of uniqueness. The combination of asset code, issuer and type represents a distinct asset.
asset_issuerThe account address of the original asset issuer that created the asset.STRINGNo
asset_typeThe identifier for type of asset code, can be an alphanumeric with 4 characters, 12 characters or the native asset to the network, XLM.STRING
  • credit_alphanum4
  • credit_alphanum12
  • native
NoXLM is the native asset to the network. XLM has no asset code or issuer representation and will instead be displayed with an asset type of 'native'
asset_contract_idContract id of the SAC or contract token.STRINGYesNatural Key. Cluster Field.
open_usdPrice of the asset in USD at the start of the day.FLOATYes
high_usdHighest price of the asset in USD during the day.FLOATYes
low_usdLowest price of the asset in USD during the day.FLOATYes
close_usdPrice of the asset in USD at the end of the day.FLOATYes
valid_fromThe timestamp when this snapshot row was first inserted and became effective. This helps in tracking changes over time.TIMESTAMPYesNatural Key.
valid_toThe timestamp when this row is no longer valid. If null, the record is currently active.TIMESTAMPNo