bbgo_origin/config/irr.yaml
2022-10-19 16:02:20 +08:00

30 lines
533 B
YAML

persistence:
json:
directory: var/data
redis:
host: 127.0.0.1
port: 6379
db: 0
sessions:
binance:
exchange: binance
envVarPrefix: binance
exchangeStrategies:
- on: binance
irr:
symbol: BTCBUSD
# in milliseconds(ms)
hftInterval: 1000
# maxima position in USD
amount: 500.0
# alpha1: negative return reversion
NR: false
# alpha2: moving average reversion
MR: true
# Draw pnl
drawGraph: true
graphPNLPath: "./pnl.png"
graphCumPNLPath: "./cumpnl.png"