com.kaiko.sdk.stream.market_update_v1
StreamMarketUpdateResponseV1
Companion object StreamMarketUpdateResponseV1
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
- 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()
- Alphabetic
- By Inheritance
- StreamMarketUpdateResponseV1
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new 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)
- 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.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _class: String
- def addAdditionalProperties(__vs: (String, String)*): StreamMarketUpdateResponseV1
- def addAllAdditionalProperties(__vs: Iterable[(String, String)]): StreamMarketUpdateResponseV1
- val additionalProperties: Map[String, String]
- val amount: Double
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAdditionalProperties: <error>
- def clearSnapshot: StreamMarketUpdateResponseV1
- def clearTsCollection: StreamMarketUpdateResponseV1
- def clearTsEvent: StreamMarketUpdateResponseV1
- def clearTsExchange: StreamMarketUpdateResponseV1
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val code: String
- val commodity: StreamMarketUpdateCommodity
- def companion: StreamMarketUpdateResponseV1.type
- def discardUnknownFields: <error>
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exchange: String
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: <error>): <error>
- def getFieldByNumber(__fieldNumber: Int): Any
- def getSnapshot: Snapshot
- def getTsCollection: TimestampValue
- def getTsEvent: <error>
- def getTsExchange: TimestampValue
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val price: Double
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sequenceId: String
- def serializedSize: Int
- val snapshot: Option[Snapshot]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toProtoString: String
- val tsCollection: Option[TimestampValue]
- val tsEvent: Option[<error>]
- val tsExchange: Option[TimestampValue]
- val unknownFields: <error>
- val updateType: StreamMarketUpdateType
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAdditionalProperties(__v: Map[String, String]): StreamMarketUpdateResponseV1
- def withAmount(__v: Double): StreamMarketUpdateResponseV1
- def withCode(__v: String): StreamMarketUpdateResponseV1
- def withCommodity(__v: StreamMarketUpdateCommodity): StreamMarketUpdateResponseV1
- def withExchange(__v: String): StreamMarketUpdateResponseV1
- def withId(__v: String): StreamMarketUpdateResponseV1
- def withPrice(__v: Double): StreamMarketUpdateResponseV1
- def withSequenceId(__v: String): StreamMarketUpdateResponseV1
- def withSnapshot(__v: Snapshot): StreamMarketUpdateResponseV1
- def withTsCollection(__v: TimestampValue): StreamMarketUpdateResponseV1
- def withTsEvent(__v: <error>): StreamMarketUpdateResponseV1
- def withTsExchange(__v: TimestampValue): StreamMarketUpdateResponseV1
- def withUnknownFields(__v: <error>): <error>
- def withUpdateType(__v: StreamMarketUpdateType): StreamMarketUpdateResponseV1
- def with_Class(__v: String): StreamMarketUpdateResponseV1
- def writeTo(_output__: <error>): Unit