qbtrade/config/ccinr.yaml
2024-08-05 17:47:44 +08:00

89 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
- XRPUSDT
- OPUSDT
- OMUSDT
- WIFUSDT
- DYDXUSDT
- XRPUSDT
- PEOPLEUSDT
- WLDUSDT
# - STXUSDT
# - WLDUSDT
# - FILUSDT
# - DOGEUSDT
# - MKRUSDT
# - NOTUSDT
# - ENSUSDT
# - BNBUSDT
# - BTCUSDT
# - ETHUSDT
# - SOLUSDT
interval: 15m
nrInterval: 15m
cciInterval: 15m
atrInterval: 1h
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: 10
placePriceType: 2
lossType: 1
profitOrderType: 0
atrProfitRange: 1.0
atrLossRange: 3.0
tradeStartHour: 8
tradeEndHour: 23
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