package index_v1
- Alphabetic
- Public
- Protected
Type Members
- sealed abstract class StreamIndexCommodity extends AnyRef
StreamIndexCommodity allows selecting kind of index update wanted.
- final case class StreamIndexServiceRequestV1(indexCode: String = "", commodities: Seq[StreamIndexCommodity] = _root_.scala.Seq.empty, interval: Option[DataInterval] = _root_.scala.None, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamIndexServiceRequestV1
StreamIndexServiceRequestV1
- indexCode
Index code.
- commodities
Enum indicating type of feed.
- interval
Data interval. For historical data only.
- Annotations
- @SerialVersionUID()
- final case class StreamIndexServiceResponseBaseAsset(asset: String = "", weight: Double = 0.0, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamIndexServiceResponseBaseAsset is base asset involved in computation.
StreamIndexServiceResponseBaseAsset is base asset involved in computation.
- asset
Asset.
- weight
Weight.
- Annotations
- @SerialVersionUID()
- final case class StreamIndexServiceResponseInstruments(partition: String = "", price: Double = 0.0, volume: Double = 0.0, count: Long = 0L, underlyingTrade: Option[StreamIndexServiceUnderlyingTrade] = _root_.scala.None, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamIndexServiceResponseInstruments is computation result by instruments.
StreamIndexServiceResponseInstruments is computation result by instruments.
- partition
Partition.
- price
Price.
- volume
Volume.
- count
Count.
- underlyingTrade
Underlying trade for the partition.
- Annotations
- @SerialVersionUID()
- final case class StreamIndexServiceResponsePairs(pair: String = "", weight: Double = 0.0, instruments: Seq[StreamIndexServiceResponseInstruments] = _root_.scala.Seq.empty, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamIndexServiceResponsePairs is computation result by pairs.
StreamIndexServiceResponsePairs is computation result by pairs.
- pair
Pair.
- weight
Weight (for multiple assets indices).
- instruments
Detailed computation by instruments.
- Annotations
- @SerialVersionUID()
- final case class StreamIndexServiceResponsePercentage(percentage: Double = 0.0, price: Double = 0.0, pairs: Seq[StreamIndexServiceResponsePairs] = _root_.scala.Seq.empty, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamIndexServiceResponsePercentage is computation result by percentage.
StreamIndexServiceResponsePercentage is computation result by percentage.
- percentage
Percentage.
- price
Price computed for the whole percentage.
- pairs
Detailed computation by pairs.
- Annotations
- @SerialVersionUID()
- final case class StreamIndexServiceResponseV1(indexCode: String = "", commodity: StreamIndexCommodity = com.kaiko.sdk.stream.index_v1.StreamIndexCommodity.SIC_UNKNOWN, interval: Option[DataInterval] = _root_.scala.None, quote: String = "", bases: Seq[StreamIndexServiceResponseBaseAsset] = _root_.scala.Seq.empty, exchanges: Seq[String] = _root_.scala.Seq.empty, percentages: Seq[StreamIndexServiceResponsePercentage] = _root_.scala.Seq.empty, tsEvent: Option[<error>] = _root_.scala.None, sequenceId: String = "", lastIngestTime: Option[<error>] = _root_.scala.None, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamIndexServiceResponseV1
StreamIndexServiceResponseV1
- indexCode
Index code.
- commodity
Event type.
- interval
Data interval.
- quote
Quote.
- bases
Bases.
- exchanges
Exchanges.
- percentages
Detailed computation by percentage.
- tsEvent
Event generation timestamp (event created by Kaiko), after normalization.
- sequenceId
Sequence ID for event. Sortable in lexicographic order.
- lastIngestTime
Last internal ingest date used for computation. Useful for replication purposes.
- Annotations
- @SerialVersionUID()
- final case class StreamIndexServiceUnderlyingTrade(volume: Double = 0.0, exchange: String = "", id: String = "", datetime: Option[<error>] = _root_.scala.None, unknownFields: <error> = _root_.scalapb.UnknownFieldSet.empty) extends Product with Serializable
StreamIndexServiceUnderlyingTrade is underlying trade information for a partition.
StreamIndexServiceUnderlyingTrade is underlying trade information for a partition.
- volume
Amount / quantity of asset bought or sold, displayed in base currency.
- exchange
Instrument exchange code, for example "cbse" (Coinbase).
- id
Trade ID, empty string when not present.
- datetime
Date of trade.
- Annotations
- @SerialVersionUID()
Value Members
- object CommodityProto
- object RequestProto
- object ResponseProto
- object StreamIndexCommodity
- object StreamIndexServiceRequestV1 extends Serializable
- object StreamIndexServiceResponseBaseAsset extends Serializable
- object StreamIndexServiceResponseInstruments extends Serializable
- object StreamIndexServiceResponsePairs extends Serializable
- object StreamIndexServiceResponsePercentage extends Serializable
- object StreamIndexServiceResponseV1 extends Serializable
- object StreamIndexServiceUnderlyingTrade extends Serializable