io.github.paoloboni.binance.common.response

Type members

Classlikes

final case class Ask(price: BigDecimal, quantity: BigDecimal)
Companion:
object
object Ask
Companion:
class
final case class Bid(price: BigDecimal, quantity: BigDecimal)
Companion:
object
object Bid
Companion:
class
case class BookTicker(u: Long, s: String, b: BigDecimal, B: BigDecimal, a: BigDecimal, A: BigDecimal)
case class ContractKLineStream(e: String, E: Long, ps: String, ct: FutureContractType, k: ContractKLineStreamPayload)
case class ContractKLineStreamPayload(t: Long, T: Long, i: Interval, f: Long, L: Long, o: BigDecimal, c: BigDecimal, h: BigDecimal, l: BigDecimal, v: BigDecimal, n: Int, x: Boolean, q: BigDecimal, V: BigDecimal, Q: BigDecimal)
final case class DepthGetResponse(lastUpdateId: Long, bids: Seq[Bid], asks: Seq[Ask])
final case class DiffDepthStream(e: String, E: Long, s: String, U: Long, u: Long, b: Seq[Bid], a: Seq[Ask])
case class KLineStream(e: String, E: Long, s: String, k: KLineStreamPayload)
case class KLineStreamPayload(t: Long, T: Long, s: String, i: Interval, f: Long, L: Long, o: BigDecimal, c: BigDecimal, h: BigDecimal, l: BigDecimal, v: BigDecimal, n: Int, x: Boolean, q: BigDecimal, V: BigDecimal, Q: BigDecimal)
enum Level
final case class PartialDepthStream(lastUpdateId: Long, bids: Seq[Bid], asks: Seq[Ask])
case class RateLimit(rateLimitType: RateLimitType, interval: RateLimitInterval, intervalNum: Int, limit: Int)
Companion:
object
object RateLimit
Companion:
class
case class RateLimits(rateLimits: List[RateLimit])
final case class TradeStream(e: String, E: Long, s: String, t: Long, p: BigDecimal, q: BigDecimal, b: Long, a: Long, T: Long, m: Boolean, M: Boolean)

Types

type CirceResponse[T] = Either[ResponseException[String, Error], T]