Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

benyblack/ex_backtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

31 Commits

Repository files navigation

ExBacktest

For running the examples:

> iex -S mix
ExBacktest.Example.SmaCrossover.run()

It will open a browser and will show something like this:

image

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/)

For chart I am using Bokeh in python. If you check the python file in priv folder it needs some libraries in Pyhton which have to be installed via PIP.

pip install numpy bokeh

Also, I use talib as my indicator library in Elixir.

The docs can be found at https://hexdocs.pm/ex_backtest.

About

A library for back-testing strategies in trading.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /