qbtrade/config/ccinr.yaml
2024-08-05 00:04:56 +08:00

87 lines
1.6 KiB
YAML

#persistence:
# json:
# directory: var/data
# redis:
# host: 127.0.0.1
# port: 6379
# db: 0
sessions:
binance:
exchange: binance
envVarPrefix: BINANCE
futures: true
exchangeStrategies:
- on: binance
ccinr:
symbols:
- ARUSDT
- ORDIUSDT
- OPUSDT
- OMUSDT
- WIFUSDT
- DYDXUSDT
- XRPUSDT
- PEOPLEUSDT
# - STXUSDT
# - WLDUSDT
# - FILUSDT
# - DOGEUSDT
# - MKRUSDT
# - NOTUSDT
# - ENSUSDT
# - BNBUSDT
# - BTCUSDT
# - ETHUSDT
# - SOLUSDT
interval: 1m
nrInterval: 1m
cciInterval: 5m
atrInterval: 2h
nrCount: 4
cciWindow: 20
atrWindow: 14
symbol: ARUSDT
dryRun: false
strictMode: true
longCCI: -180.0
shortCCI: 180.0
leverage: 5.0
profitRange: 5%
lossRange: 1%
amount: 20
placePriceType: 2
lossType: 1
profitOrderType: 0
atrProfitRange: 1.0
atrLossRange: 2.0
tradeStartHour: 0
tradeEndHour: 8
pauseTradeLoss: -10.0
# recalculate: false
# dry_run: false
# # quantity: 3
# strict_mode: true
backtest:
startTime: "2023-10-15"
endTime: "2024-08-02"
symbols:
- ARUSDT
- ORDIUSDT
- OPUSDT
- OMUSDT
- WIFUSDT
- DYDXUSDT
- XRPUSDT
- PEOPLEUSDT
sessions: [ binance ]
syncSecKLines: true
accounts:
binance:
takerFeeRate: 0.0002
makerFeeRate: 0.0005
balances:
USDT: 200