View Source XtbClient.Messages.ChartLast.Query (XtbClient v0.1.1)

Parameters for last chart query.

parameters

Parameters

  • period an atom of XtbClient.Messages.Period type, describing the time interval for the query
  • start start of chart block (rounded down to the nearest interval and excluding)
  • symbol symbol name.

Link to this section Summary

Functions

Creates new query with mandatory arguments.

Link to this section Types

@type t() :: %XtbClient.Messages.ChartLast.Query{
  period: XtbClient.Messages.Period.minute_period(),
  start: integer(),
  symbol: binary()
}

Link to this section Functions

@spec new(%{
  period: XtbClient.Messages.Period.t(),
  start: Calendar.datetime(),
  symbol: binary()
}) :: t()

Creates new query with mandatory arguments.