A simple algorithm-based python crypto trader
- Download the repo with either:
- git:
git clone https://github.com/Aegeontis/Volatenium.git
cd Volatenium
- as zip:
- Download https://github.com/Aegeontis/Volatenium/archive/refs/heads/main.zip
unzip Volatenium-main.zip
cd Volatenium-main
- git:
- Initiate a python venv:
python -m venv venv
- Enter the python venv:
source venv/bin/activate
- Install requirements:
pip install -r requirements.txt
- Create a settings.yaml file. MAKE SURE each algorithm has a UNIQUE id. Example below:
general_settings:
action_interval: 60.0
exchanges:
Simulator:
exchange_settings:
algorithms:
- id: 0
codename: "SafeTrade"
algorithm_vars:
wallet_crypto_amount: 0.0
wallet_fiat_amount: 100.0
exchange_vars:
crypto_codename: "BTC-EUR"
exchange_fee: 0.0001
wallet_crypto_amount: 0.0
wallet_fiat_amount: 100.0
- id: 1
codename: "SafeTrade"
algorithm_vars:
wallet_crypto_amount: 0.0
wallet_fiat_amount: 100.0
exchange_vars:
crypto_codename: "ETH-EUR"
exchange_fee: 0.0001
wallet_crypto_amount: 0.0
wallet_fiat_amount: 100.0
- Enter the python venv:
source venv/bin/activate
- Start the script:
python main.py
- Enter the python venv:
source venv/bin/activate
- Start the script:
python main.py --generate-graph