2022-09-19 07:13:04 +00:00
|
|
|
persistence:
|
|
|
|
json:
|
|
|
|
directory: var/data
|
|
|
|
redis:
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 6379
|
|
|
|
db: 0
|
|
|
|
|
|
|
|
sessions:
|
|
|
|
binance:
|
|
|
|
exchange: binance
|
|
|
|
envVarPrefix: binance
|
2022-10-19 08:02:00 +00:00
|
|
|
max:
|
|
|
|
exchange: max
|
|
|
|
envVarPrefix: max
|
|
|
|
ftx:
|
|
|
|
exchange: ftx
|
|
|
|
envVarPrefix: ftx
|
2022-09-19 07:13:04 +00:00
|
|
|
|
|
|
|
exchangeStrategies:
|
|
|
|
- on: binance
|
2022-10-04 06:24:41 +00:00
|
|
|
irr:
|
2022-09-19 07:13:04 +00:00
|
|
|
symbol: BTCBUSD
|
2022-10-17 13:34:55 +00:00
|
|
|
# in milliseconds(ms)
|
2022-10-19 09:24:27 +00:00
|
|
|
# must > 10 ms
|
2022-10-19 08:02:00 +00:00
|
|
|
hftInterval: 1000
|
2022-10-19 09:24:27 +00:00
|
|
|
# qty per trade
|
2022-10-19 08:02:00 +00:00
|
|
|
quantity: 0.001
|
2022-10-04 06:59:09 +00:00
|
|
|
# Draw pnl
|
|
|
|
drawGraph: true
|
|
|
|
graphPNLPath: "./pnl.png"
|
|
|
|
graphCumPNLPath: "./cumpnl.png"
|