ex_backtest v0.0.1 ExBacktest.Tools.Chart

Link to this section Summary

Functions

show Send data to a python script and show a chart on the browser

Link to this section Functions

Link to this function

show(symbol, data, more_data, dates, oscillator_data \\ [%{}], trade_history \\ "{}")

show(String.t(), [float()], String.t(), [String.t()], [map()], String.t()) ::
  :ok

show Send data to a python script and show a chart on the browser

##Parameters

  • symbol: Symbol name, for example, "BTCUSDT"
  • data: List of prices
  • dates: List of dates
  • oscillator_data: List of Maps contain oscillator indicators
  • trade_history: Json string of trade history.