mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-14 02:53:50 +00:00
47 lines
822 B
YAML
47 lines
822 B
YAML
---
|
|
sessions:
|
|
max:
|
|
exchange: max
|
|
envVarPrefix: max
|
|
binance:
|
|
exchange: binance
|
|
envVarPrefix: binance
|
|
|
|
backtest:
|
|
startTime: "2023-01-01"
|
|
endTime: "2023-01-02"
|
|
symbols:
|
|
- BTCUSDT
|
|
sessions:
|
|
- max
|
|
- binance
|
|
accounts:
|
|
max:
|
|
balances:
|
|
BTC: 0.5
|
|
USDT: 15000.0
|
|
|
|
crossExchangeStrategies:
|
|
- xfixedmaker:
|
|
tradingExchange: max
|
|
symbol: BTCUSDT
|
|
interval: 5m
|
|
halfSpread: 0.01%
|
|
quantity: 0.005
|
|
orderType: LIMIT_MAKER
|
|
dryRun: false
|
|
|
|
referenceExchange: binance
|
|
referencePriceEMA:
|
|
interval: 1m
|
|
window: 14
|
|
orderPriceLossThreshold: -10
|
|
|
|
positionHardLimit: 200
|
|
maxPositionQuantity: 0.005
|
|
|
|
circuitBreakLossThreshold: -10
|
|
circuitBreakEMA:
|
|
interval: 1m
|
|
window: 14
|