Skip to content

Instantly share code, notes, and snippets.

@c9s
Created April 26, 2022 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c9s/9a69dc6e17e418411c860ac8350bb939 to your computer and use it in GitHub Desktop.
Save c9s/9a69dc6e17e418411c860ac8350bb939 to your computer and use it in GitHub Desktop.
bbgo bollmaker for BNB
---
persistence:
redis:
host: 127.0.0.1
port: 6379
db: 0
exchangeStrategies:
- on: binance
bollmaker:
symbol: BNBUSDT
interval: 1m
amount: 30
askSpread: 0.1%
bidSpread: 0.1%
minProfitSpread: 0.2%
useTickerPrice: true
dynamicExposurePositionScale:
byPercentage:
# exp means we want to use exponential scale, you can replace "exp" with "linear" for linear scale
exp:
# from down to up
domain: [ -1, 1 ]
# when in down band, holds 10.0 by maximum
# when in up band, holds 1.0 by maximum
range: [ 10.0, 1.0 ]
uptrendSkew: 0.2
downtrendSkew: 1.5
long: true
buyBelowNeutralSMA: true
tradeInBand: true
defaultBollinger:
interval: "4h"
window: 21
bandWidth: 2.0
neutralBollinger:
interval: "5m"
window: 21
bandWidth: 2.0
persistence:
type: redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment