2022-10-03 16:42:31 +00:00
|
|
|
persistence:
|
|
|
|
json:
|
|
|
|
directory: var/data
|
|
|
|
redis:
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 6379
|
|
|
|
db: 0
|
|
|
|
|
|
|
|
sessions:
|
|
|
|
binance:
|
|
|
|
exchange: binance
|
|
|
|
envVarPrefix: binance
|
|
|
|
|
|
|
|
exchangeStrategies:
|
|
|
|
- on: binance
|
|
|
|
harmonic:
|
|
|
|
symbol: BTCBUSD
|
|
|
|
interval: 1s
|
2022-10-06 16:33:18 +00:00
|
|
|
window: 60
|
|
|
|
quantity: 0.005
|
2022-10-04 06:39:19 +00:00
|
|
|
# Draw pnl
|
|
|
|
drawGraph: true
|
|
|
|
graphPNLPath: "./pnl.png"
|
|
|
|
graphCumPNLPath: "./cumpnl.png"
|
2022-10-03 16:42:31 +00:00
|
|
|
|
|
|
|
backtest:
|
|
|
|
sessions:
|
|
|
|
- binance
|
2022-10-06 16:33:18 +00:00
|
|
|
startTime: "2022-10-01"
|
|
|
|
endTime: "2022-10-07"
|
2022-10-03 16:42:31 +00:00
|
|
|
symbols:
|
|
|
|
- BTCBUSD
|
|
|
|
accounts:
|
|
|
|
binance:
|
|
|
|
balances:
|
|
|
|
BTC: 1.0
|
2022-10-06 16:33:18 +00:00
|
|
|
BUSD: 60_000.0
|