bbgo_origin/config/scmaker.yaml

81 lines
1.8 KiB
YAML
Raw Normal View History

2023-06-13 04:22:59 +00:00
sessions:
2023-07-03 08:22:01 +00:00
max:
2023-06-13 04:22:59 +00:00
exchange: max
envVarPrefix: max
2023-06-14 08:20:37 +00:00
makerFeeRate: 0%
takerFeeRate: 0.025%
2023-06-13 04:22:59 +00:00
#services:
# googleSpreadSheet:
# jsonTokenFile: ".credentials/google-cloud/service-account-json-token.json"
# spreadSheetId: "YOUR_SPREADSHEET_ID"
2023-06-13 04:22:59 +00:00
exchangeStrategies:
- on: max
scmaker:
2023-06-15 09:26:04 +00:00
symbol: &symbol USDCUSDT
2023-06-13 04:22:59 +00:00
## adjustmentUpdateInterval is the interval for adjusting position
adjustmentUpdateInterval: 1m
## liquidityUpdateInterval is the interval for updating liquidity orders
liquidityUpdateInterval: 1h
2023-07-03 08:22:01 +00:00
liquiditySkew: 1.5
numOfLiquidityLayers: 10
liquidityLayerTickSize: 0.0001
liquidityScale:
exp:
domain: [0, 9]
range: [1, 4]
## maxExposure controls how much balance should be used for placing the maker orders
2023-07-03 08:22:01 +00:00
maxExposure: 10_000
2023-06-13 04:22:59 +00:00
## circuitBreakEMA is used for calculating the price for circuitBreak
circuitBreakEMA:
interval: 1m
window: 14
## circuitBreakLossThreshold is the maximum loss threshold for realized+unrealized PnL
circuitBreakLossThreshold: -10.0
## positionHardLimit is the maximum position limit
positionHardLimit: 500.0
## maxPositionQuantity is the maximum quantity per order that could be controlled in positionHardLimit,
## this parameter is used with positionHardLimit togerther
maxPositionQuantity: 10.0
2023-06-13 04:22:59 +00:00
midPriceEMA:
interval: 1h
window: 99
## priceRangeBollinger is used for the liquidity price range
priceRangeBollinger:
interval: 1h
window: 10
k: 1.0
strengthInterval: 1m
2023-06-15 06:07:35 +00:00
minProfit: 0.01%
2023-06-14 08:20:37 +00:00
2023-06-13 04:22:59 +00:00
backtest:
sessions:
- max
2023-06-14 08:20:37 +00:00
startTime: "2023-05-20"
2023-06-13 04:22:59 +00:00
endTime: "2023-06-01"
symbols:
2023-06-15 09:26:04 +00:00
- *symbol
2023-06-13 04:22:59 +00:00
account:
max:
2023-06-14 08:20:37 +00:00
makerFeeRate: 0.0%
takerFeeRate: 0.025%
2023-06-13 04:22:59 +00:00
balances:
USDC: 5000
USDT: 5000