ExBacktest
For running the examples:
> iex -S mix
ExBacktest.Example.SmaCrossover.run()It will open a browser and will show something like this:
Before running the examples you need to have some OHLCV files. There is a repo for Binance data here (https://github.com/benyblack/BinanceDataset/releases/)
Installation
If available in Hex, the package can be installed
by adding ex_backtest to your list of dependencies in mix.exs:
def deps do
[
{:ex_backtest, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_backtest.