mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
30 lines
533 B
YAML
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"
|