trading-AI

Trading bot with NEAT algorithm

DOWNLOAD

git clone https://github.com/sakex/trading-AI.git

INSTALLATION

/!\ Installation can be very long because it requires to download, extract and build the full Boost library!

With Docker

ENV File

You will need to edit the .env file with your API key and API secret before running the docker

Build:

sudo docker build -t botneat .  

Run:

Train:

sudo docker run --env-file=.env botneat train [iterations? species? individuals_per_species?]

Start bot:

sudo docker run -d --env-file=.env botneat start

With cmake

To build with cmake, you will need:

Build:

cd trading-AI  
cmake .
cmake --build .

Run:

Set environment variables:

set API_KEY = <your api key>
set API_SECRET = <your api secret>

Train

./trading train <iterations? species? individuals_per_species?>

Run as bot

./trading start <json_file>

Built With

  • boost
  • c++
  • cmake
  • dockerfile
Share this project:

Updates