View Source XtbClient.Messages.TickPrice (XtbClient v0.1.1)

Info about one tick of price.

parameters

Parameters

  • ask ask price in base currency,
  • ask_volume number of available lots to buy at given price or null if not applicable
  • bid bid price in base currency,
  • bid_volume number of available lots to buy at given price or null if not applicable,
  • exe_mode exe mode,
  • high the highest price of the day in base currency,
  • level price level,
  • low the lowest price of the day in base currency,
  • quote_id quote ID or null if not applicable, see XtbClient.Messages.QuoteId,
  • spread_raw the difference between raw ask and bid prices,
  • spread_table spread representation,
  • symbol symbol,
  • timestamp timestamp.

Link to this section Summary

Link to this section Types

@type t() :: %XtbClient.Messages.TickPrice{
  ask: float(),
  ask_volume: integer() | nil,
  bid: float(),
  bid_volume: integer() | nil,
  exe_mode: integer() | nil,
  high: float(),
  level: integer(),
  low: float(),
  quote_id: XtbClient.Messages.QuoteId.t() | nil,
  spread_raw: float(),
  spread_table: float(),
  symbol: binary(),
  timestamp: DateTime.t()
}

Link to this section Functions