Basic Market maker script for leverj
Debian or Ubuntu platform
- Install docker if needed
- Stop running market maker bot if any
- Capture log of last terminated market maker bot
- Start market maker bot
scp ~/Downloads/d45675-12345.json [email protected]:/root/privateKey
chmod go-rwx /root/privateKey/*
curl https://raw.githubusercontent.com/leverj/marketmaker/master/levmm.sh > levmm.sh && chmod +x levmm.sh
./levmm.sh
KEY_FILE=leverj-api-key.json
PRICE_RANGE=0.0003
QUANTITY=1
DEPTH=2
STEP=0.000001
SPREAD=0.00001
START_PRICE=0.00006
START_SIDE=buy
STRATEGY=COLLAR
BOT_NAME=levmm
URL | Url of exchange | https://test.leverj.io for testnet, https://live.leverj.io for production |
KEY_FILE | json file containing api key | Download from your account |
PRICE_RANGE | ||
QUANTITY | size per order | |
DEPTH | How deep from the spread | |
STEP | price difference between order on same side | |
SPREAD | price difference between bid/ask | |
START_PRICE | midpoint of book start here | |
START_SIDE | ||
STRATEGY | How to place prices | Collar=equal sizes random=random sizes |