trading-bot-cpp

mkdir -p build && cd build
cmake -G Ninja .. && cmake --build .
ctest

Plots for tests

To enable plotting for tests to see strategy performance you need gnuplot to be installed

for apt (ubuntu/etc) sudo apt update && sudo apt install gnuplot
for brew(mac) brew install gnuplot
for windows http://www.gnuplot.info/

Prepare & run

docker build . -t trading-bot:1.0 docker run -e TINKOFF_TOKEN=$(sudo cat ~/.tinkoff/token) trading-bot:1.0