Makin money, ya bitch, can ya dig it?
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
此存儲庫已封存。您可以查看檔案及 Clone 此存儲庫,但不能推送、建立問題及發出合併請求。
lza_menace 10fbd8d66e
update dashboard with portfo in btc
1 年前
grafana update dashboard with portfo in btc 1 年前
static adding some documentation 4 年前
.gitignore Initial commit 4 年前
LICENSE Initial commit 4 年前
README.md adding some documentation 4 年前
db.py make improvements to dashboards and logic of trading script 1 年前
docker-compose.yaml make improvements to dashboards and logic of trading script 1 年前
env-example make improvements to dashboards and logic of trading script 1 年前
requirements.txt reconcile orders, update dashboard, refactor db, refactor trade project 4 年前
trade.py make improvements to dashboards and logic of trading script 1 年前
tradeogre.py make improvements to dashboards and logic of trading script 1 年前

README.md

totrader

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

# Setup secrets and adjust parameters
cp env-example .env
vim .env

# Run containers
docker-compose up -d

Usage

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: