com.kaiko.sdk.stream.orderbookl2_v1
StreamOrderBookL2ResponseV1
Companion object StreamOrderBookL2ResponseV1
final case class StreamOrderBookL2ResponseV1(_class: String = "", code: String = "", exchange: String = "", sequenceId: String = "", updateType: StreamOrderBookL2UpdateType = com.kaiko.sdk.stream.orderbookl2_v1.StreamOrderBookL2UpdateType.UNKNOWN, asks: Seq[Order] = _root_.scala.Seq.empty, bids: Seq[Order] = _root_.scala.Seq.empty, tsExchange: Option[TimestampValue] = _root_.scala.None, tsCollection: Option[TimestampValue] = _root_.scala.None, tsEvent: Option[<error>] = _root_.scala.None, additionalProperties: Map[String, String] = _root_.scala.collection.immutable.Map.empty, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamOrderBookL2ResponseV1 is the response of a Level 2 order book event.
- _class
Instrument class, for example "spot".
- 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.
- updateType
Event type.
- asks
Asks is the list of asks of the orderbook.
- bids
Bids is the list of bids of the orderbook.
- 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.
- additionalProperties
Additionnal properties, specific to the exchange.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- StreamOrderBookL2ResponseV1
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StreamOrderBookL2ResponseV1(_class: String = "", code: String = "", exchange: String = "", sequenceId: String = "", updateType: StreamOrderBookL2UpdateType = com.kaiko.sdk.stream.orderbookl2_v1.StreamOrderBookL2UpdateType.UNKNOWN, asks: Seq[Order] = _root_.scala.Seq.empty, bids: Seq[Order] = _root_.scala.Seq.empty, tsExchange: Option[TimestampValue] = _root_.scala.None, tsCollection: Option[TimestampValue] = _root_.scala.None, tsEvent: Option[<error>] = _root_.scala.None, additionalProperties: Map[String, String] = _root_.scala.collection.immutable.Map.empty, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty)
- _class
Instrument class, for example "spot".
- 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.
- updateType
Event type.
- asks
Asks is the list of asks of the orderbook.
- bids
Bids is the list of bids of the orderbook.
- 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.
- 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)*): StreamOrderBookL2ResponseV1
- def addAllAdditionalProperties(__vs: Iterable[(String, String)]): StreamOrderBookL2ResponseV1
- def addAllAsks(__vs: Iterable[Order]): StreamOrderBookL2ResponseV1
- def addAllBids(__vs: Iterable[Order]): StreamOrderBookL2ResponseV1
- def addAsks(__vs: Order*): StreamOrderBookL2ResponseV1
- def addBids(__vs: Order*): StreamOrderBookL2ResponseV1
- val additionalProperties: Map[String, String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val asks: Seq[Order]
- val bids: Seq[Order]
- def clearAdditionalProperties: <error>
- def clearAsks: <error>
- def clearBids: <error>
- def clearTsCollection: StreamOrderBookL2ResponseV1
- def clearTsEvent: StreamOrderBookL2ResponseV1
- def clearTsExchange: StreamOrderBookL2ResponseV1
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val code: String
- def companion: StreamOrderBookL2ResponseV1.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 getTsCollection: TimestampValue
- def getTsEvent: <error>
- def getTsExchange: TimestampValue
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sequenceId: String
- def serializedSize: Int
- 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: StreamOrderBookL2UpdateType
- 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]): StreamOrderBookL2ResponseV1
- def withAsks(__v: Seq[Order]): StreamOrderBookL2ResponseV1
- def withBids(__v: Seq[Order]): StreamOrderBookL2ResponseV1
- def withCode(__v: String): StreamOrderBookL2ResponseV1
- def withExchange(__v: String): StreamOrderBookL2ResponseV1
- def withSequenceId(__v: String): StreamOrderBookL2ResponseV1
- def withTsCollection(__v: TimestampValue): StreamOrderBookL2ResponseV1
- def withTsEvent(__v: <error>): StreamOrderBookL2ResponseV1
- def withTsExchange(__v: TimestampValue): StreamOrderBookL2ResponseV1
- def withUnknownFields(__v: <error>): <error>
- def withUpdateType(__v: StreamOrderBookL2UpdateType): StreamOrderBookL2ResponseV1
- def with_Class(__v: String): StreamOrderBookL2ResponseV1
- def writeTo(_output__: <error>): Unit