mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
40 lines
633 B
YAML
40 lines
633 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
|
|
interval: 1s
|
|
window: 120
|
|
amount: 500.0
|
|
humpThreshold: 0.000025
|
|
# Draw pnl
|
|
drawGraph: true
|
|
graphPNLPath: "./pnl.png"
|
|
graphCumPNLPath: "./cumpnl.png"
|
|
|
|
backtest:
|
|
sessions:
|
|
- binance
|
|
startTime: "2022-10-09"
|
|
endTime: "2022-10-11"
|
|
# syncSecKLines: true
|
|
symbols:
|
|
- BTCBUSD
|
|
accounts:
|
|
binance:
|
|
takerFeeRate: 0.0
|
|
balances:
|
|
BUSD: 5_000.0
|