package market_update_v1
- Alphabetic
- Public
- Protected
Type Members
- sealed abstract class StreamMarketUpdateCommodity extends AnyRef
StreamMarketUpdateCommodity allows selecting kind of market update wanted.
- final case class StreamMarketUpdateRequestV1(instrumentCriteria: Option[InstrumentCriteria] = _root_.scala.None, commodities: Seq[StreamMarketUpdateCommodity] = _root_.scala.Seq.empty, interval: Option[DataInterval] = _root_.scala.None, snapshotType: OrderbookSnapshotType = com.kaiko.sdk.stream.market_update_v1.StreamMarketUpdateRequestV1.OrderbookSnapshotType.UNKNOWN, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamMarketUpdateRequestV1
StreamMarketUpdateRequestV1
- instrumentCriteria
InstrumentCriteria is instrument exchange, class and code, wildcard (*) can be used.
- commodities
Enum indicating type of feed. If no commodity is specified, you get all commodities by default, otherwise you get only specified commodities.
- interval
Data interval. For historical data only.
- snapshotType
SnapshotType is the type of snapshot if commodities contains orderbook. This field is deprecated and used anymore, only full snapshot are sent.
- Annotations
- @SerialVersionUID()
- final case class StreamMarketUpdateResponseV1(commodity: StreamMarketUpdateCommodity = com.kaiko.sdk.stream.market_update_v1.StreamMarketUpdateCommodity.SMUC_UNKNOWN, amount: Double = 0.0, _class: String = "", code: String = "", exchange: String = "", sequenceId: String = "", id: String = "", price: Double = 0.0, tsExchange: Option[TimestampValue] = _root_.scala.None, tsCollection: Option[TimestampValue] = _root_.scala.None, tsEvent: Option[<error>] = _root_.scala.None, updateType: StreamMarketUpdateType = com.kaiko.sdk.stream.market_update_v1.StreamMarketUpdateResponseV1.StreamMarketUpdateType.UNKNOWN, snapshot: Option[Snapshot] = _root_.scala.None, additionalProperties: Map[String, String] = _root_.scala.collection.immutable.Map.empty, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamMarketUpdateResponseV1
StreamMarketUpdateResponseV1
- commodity
Kind of commodity concerned by the market update.
- amount
Amount / quantity of asset bought or sold, displayed in base currency.
- _class
Instrument class, internal Kaiko classification denoting whether an instrument is a spot, future, perpetual future, or option.
- code
Instrument code (currency pair), for example btc-usd.
- exchange
Instrument exchange code, for example "cbse" (Coinbase).
- sequenceId
Sequence ID for event. Sortable in lexicographic order.
- id
ID from exchange (trades only), empty string when not present.
- price
Price for quote currency.
- tsExchange
Timestamp of the event as provided by the exchange.
- tsCollection
Timestamp of collection (event entered Kaiko's infrastructure), before nomalization.
- tsEvent
Event generation timestamp (event created by Kaiko), after normalization.
- updateType
Event category for this update.
- snapshot
Snapshot for this update.
- additionalProperties
Additionnal properties, specific to the exchange.
- Annotations
- @SerialVersionUID()
Value Members
- object CommodityProto
- object RequestProto
- object ResponseProto
- object StreamMarketUpdateCommodity
- object StreamMarketUpdateRequestV1 extends Serializable
- object StreamMarketUpdateResponseV1 extends Serializable