Exchange v0.2.1 Exchange.Adapters.Flux.Trades View Source

InfluxDB support for Trades

Link to this section Summary

Link to this section Types

Specs

t() :: %Exchange.Adapters.Flux.Trades{
  fields: Exchange.Adapters.Flux.Trades.Fields.t(),
  tags: Exchange.Adapters.Flux.Trades.Tags.t(),
  timestamp: non_neg_integer()
}

Link to this section Functions

Link to this function

completed_trades(ticker)

View Source

Specs

completed_trades(ticker :: atom()) :: list()
Link to this function

completed_trades_by_id(ticker, trader_id)

View Source

Specs

completed_trades_by_id(ticker :: atom(), trader_id :: String.t()) :: list()

Callback implementation for Instream.Series.from_map/1.

Callback implementation for Instream.Series.from_result/1.

Link to this function

process_trade!(trade_params)

View Source