pub struct CCSpotMarketsInstruments {
pub type_: String,
pub exchange_status: String,
pub mapped_instrument_total: i64,
pub unmapped_instruments_total: i64,
pub instrument_status: CCInstrumentStatus,
pub total_trades_spot: i64,
pub has_orderbook_l2_minute_snapshots_enabled: bool,
pub instruments: HashMap<String, CCInstrument>,
}
Expand description
Spot: Markets + Instruments
Fields§
§type_: String
Type of the message.
exchange_status: String
The status of the echange. We only poll / stream / connect to the ACTIVE ones, for the RETIRED ones we no longer query for data“.
mapped_instrument_total: i64
The total number of instruments that have been verified by our mapping team and have been properly assigned with a base, quote, mapping function, and other necessary fields. This is done to ensure that pairs like XXBTZUSD are accurately mapped to BTC-USD and that the pair refers to the correct assets rather than using the same asset id to represent different assets.
unmapped_instruments_total: i64
The number of instruments that have not yet been verified by our mapping team.
instrument_status: CCInstrumentStatus
An object with the total number of instrument for each of the available instrument statuses.
total_trades_spot: i64
The total number of spot trades that this exchange has processed.
has_orderbook_l2_minute_snapshots_enabled: bool
Boolean field denoting if we have historical minute orderbook snapshots endabled for this exchange.
instruments: HashMap<String, CCInstrument>
The list of instruments requested. It could be a selected few or all for each market.