mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 17:25:16 +00:00
778a3d8be1
strategy:irr: clean up strategy:irr: clean up strategy:irr: clean up
33 lines
534 B
YAML
33 lines
534 B
YAML
persistence:
|
|
json:
|
|
directory: var/data
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
db: 0
|
|
|
|
sessions:
|
|
binance:
|
|
exchange: binance
|
|
envVarPrefix: binance
|
|
max:
|
|
exchange: max
|
|
envVarPrefix: max
|
|
ftx:
|
|
exchange: ftx
|
|
envVarPrefix: ftx
|
|
|
|
exchangeStrategies:
|
|
- on: binance
|
|
irr:
|
|
symbol: BTCBUSD
|
|
# in milliseconds(ms)
|
|
# must > 10 ms
|
|
hftInterval: 1000
|
|
# qty per trade
|
|
quantity: 0.001
|
|
# Draw pnl
|
|
drawGraph: true
|
|
graphPNLPath: "./pnl.png"
|
|
graphCumPNLPath: "./cumpnl.png"
|