Kujira.Fin.Book.Price (kujira v0.1.51)

A specific price point in the order book summary

Fields

  • :price - The bid or ask price

  • :total - The total amount offered at this price

  • :side - Which side of the book this order is on

Summary

Types

@type side() :: :bid | :ask
@type t() :: %Kujira.Fin.Book.Price{
  price: Decimal.t(),
  side: side(),
  total: integer()
}

Functions

Link to this function

from_query(side, map)

@spec from_query(side(), map()) :: t()