diff --git a/config/ccinr.yaml b/config/ccinr.yaml index 454d029..600a12d 100644 --- a/config/ccinr.yaml +++ b/config/ccinr.yaml @@ -18,12 +18,14 @@ exchangeStrategies: symbols: - ARUSDT - ORDIUSDT + - XRPUSDT - OPUSDT - OMUSDT - WIFUSDT - DYDXUSDT - XRPUSDT - PEOPLEUSDT + - WLDUSDT # - STXUSDT # - WLDUSDT # - FILUSDT @@ -39,7 +41,7 @@ exchangeStrategies: interval: 15m nrInterval: 15m cciInterval: 15m - atrInterval: 2h + atrInterval: 1h nrCount: 4 cciWindow: 20 atrWindow: 14 @@ -51,14 +53,14 @@ exchangeStrategies: leverage: 5.0 profitRange: 5% lossRange: 1% - amount: 20 + amount: 10 placePriceType: 2 lossType: 1 profitOrderType: 0 atrProfitRange: 1.0 - atrLossRange: 2.0 - tradeStartHour: 0 - tradeEndHour: 8 + atrLossRange: 3.0 + tradeStartHour: 8 + tradeEndHour: 23 pauseTradeLoss: -10.0 # recalculate: false # dry_run: false diff --git a/pkg/strategy/ccinr/strategy.go b/pkg/strategy/ccinr/strategy.go index 9503007..9935066 100644 --- a/pkg/strategy/ccinr/strategy.go +++ b/pkg/strategy/ccinr/strategy.go @@ -426,7 +426,7 @@ func (s *Strategy) isTradeTime(ctx context.Context) bool { now := time.Now().In(location) hour := now.Hour() - return !(hour >= s.TradeStartHour && hour < s.TradeEndHour) + return hour >= s.TradeStartHour && hour < s.TradeEndHour } func (s *Strategy) isPauseTrade(ctx context.Context) bool {