You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
||4 weeks ago|
|grafana||4 weeks ago|
|static||3 years ago|
|.gitignore||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|db.py||4 weeks ago|
|docker-compose.yaml||4 weeks ago|
|env-example||4 weeks ago|
|requirements.txt||3 years ago|
|trade.py||4 weeks ago|
|tradeogre.py||4 weeks ago|
Experimental market maker script for TradeOgre. As of now it checks if the bid-ask spread is over a certain threshold and places a buy and sell order above and below the current bid and ask.
This is still a work in progress.
# Setup secrets and adjust parameters cp env-example .env vim .env # Run containers docker-compose up -d
This is a command line tool with an option to run continuously or only once.
$ ./trade.py --help usage: trade.py [-h] [--market-maker] [--balances] [--update-orders] [--market-data] [--run] Helpful TradeOgre trading script optional arguments: -h, --help show this help message and exit --market-maker Put in buy/sell orders --balances Update coin balances of both base and currency --update-orders Update status of orders --market-data Update market data --run Run continuously
View the results/metrics in your browser at http://localhost:3000 with the Grafana password specified. You'll need to add a datasource for the PostgreSQL database. Dial that in and your graphs should start working. Here's what it looks like: