Exchange v0.2.2 Exchange.Adapters.Flux.Orders View Source

InfluxDB support for Orders

Link to this section Summary

Functions

Callback implementation for Instream.Series.from_map/1.

Callback implementation for Instream.Series.from_result/1.

Saves an order from the order book on InfluxDB

Link to this section Types

Specs

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

Link to this section Functions

Callback implementation for Instream.Series.from_map/1.

Callback implementation for Instream.Series.from_result/1.

Specs

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

save_order!(order_params)

View Source

Specs

save_order!(order_params :: map()) :: any()

Saves an order from the order book on InfluxDB