Workbench.BalanceSnapshots.Config (workbench v0.0.8)

Link to this section Summary

Link to this section Types

Specs

Link to this type

product_symbol()

Specs

product_symbol() :: Tai.Venues.Product.symbol()
Link to this type

quote_pair()

Specs

quote_pair() :: {venue_id(), asset()}

Specs

t() :: %Workbench.BalanceSnapshots.Config{
  boot_delay_ms: non_neg_integer(),
  btc_usd_symbol: product_symbol(),
  btc_usd_venue: venue_id(),
  enabled: boolean(),
  every_ms: non_neg_integer(),
  quote_pairs: [quote_pair()],
  usd_quote_asset: atom(),
  usd_quote_venue: venue_id()
}

Specs

venue_id() :: Tai.Venues.Adapter.venue_id()

Link to this section Functions

Link to this function

parse(env \\ Application.get_env(:workbench, :balance_snapshot))