mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 23:35:14 +00:00
52 lines
931 B
YAML
52 lines
931 B
YAML
---
|
|
sessions:
|
|
max:
|
|
exchange: max
|
|
envVarPrefix: max
|
|
binance:
|
|
exchange: binance
|
|
envVarPrefix: binance
|
|
publicOnly: true
|
|
|
|
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: 1m
|
|
halfSpread: 0.01%
|
|
quantity: 0.005
|
|
orderType: LIMIT_MAKER
|
|
dryRun: true
|
|
|
|
referenceExchange: binance
|
|
referencePriceEMA:
|
|
interval: 1m
|
|
window: 14
|
|
orderPriceLossThreshold: -10
|
|
|
|
positionHardLimit: 200
|
|
maxPositionQuantity: 0.005
|
|
|
|
circuitBreakLossThreshold: -10
|
|
circuitBreakEMA:
|
|
interval: 1m
|
|
window: 14
|
|
|
|
inventorySkew:
|
|
inventoryRangeMultiplier: 1.0
|
|
targetBaseRatio: 0.5
|