-
-
Notifications
You must be signed in to change notification settings - Fork 775
Setup Guide
Nathan Getty edited this page May 21, 2021
·
1 revision
-
Install Dependencies
- Easy mode (might clash with current depends)
pip install -r requirements.txt
- Prefered Method (venv)
python3 -m venv .venv source .venv/bin/activate # linux .\.venv/scripts/activate # windows pip install -r requirements.txt
- Easy mode (might clash with current depends)
-
Copy
creds.example.yml
tocreds.yml
(or whatever you want.) and update the creds.# linux: Copy file over. cp creds.example.yml creds.yml # windows: either copy the file in explorer and rename to 'creds.yml' or use copy creds.example.yml creds.yml # powershell Copy-Item creds.example.yml -Destination creds.yml
-
Edit the credentials yaml file and enter your API key.
# MAIN NET prod: access_key: replace_me secret_key: replace_me
-
Configure input params as in
config.yml
(see configuration wiki) -
Run the script
- Standard
python3 Binance\ Detect\ Moonings.py
- Background process (linux only)
The logs are stored in log.txt. To stop the process either look in your process list with
nohup python3 -u Binance\ Detect\ Moonings.py >> log.txt 2>&1 &
ps aux | grep -i python3
and kill withkill PROCESS_ID
orkillall python3
when you know what you're doing.
- Standard
Use the
--help
flag if you want to see supported arguments
optional arguments:
-h, --help show this help message and exit
--debug, -d extra logging
--config CONFIG, -c CONFIG
Path to config.yml
--creds CREDS, -u CREDS
Path to creds file