Row

@Serializable
data class Row(val amount: String, val price: String, val priceR: Price)

Represents a single price level in the order book.

Each row contains the total amount available at a given price point, the decimal price, and the price as a ratio.

Constructors

Link copied to clipboard
constructor(amount: String, price: String, priceR: Price)

Properties

Link copied to clipboard
@SerialName(value = "amount")
val amount: String

The amount of the asset available at this price level

Link copied to clipboard
@SerialName(value = "price")
val price: String

The price as a decimal string

Link copied to clipboard
@SerialName(value = "price_r")
val priceR: Price

The price as a ratio (numerator/denominator)