fix: новые параметры — WIF/ADA/INJ, shift 42-48, SM 12-14
Замена UNI/NEAR/SUI на WIF/ADA/INJ по результатам эмулятора. Ключевые изменения: - shift: 10-14 → 42-48 (предсказание на 2 дня вместо 10 часов) - SM: 0.75-1.25 → 12-14 (компенсация close-only ATR в проде) - Capital: $256 / 3 монеты Бэктест (17 мес, close-only ATR как прод): WIF: +$191 (WR 50%, DD 22%) ADA: +$72 (WR 50%, DD 27%) INJ: +$51 (WR 45%, DD 24%) Total: +$314 / $174 = ROI 180% Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+41
-40
@@ -3,55 +3,77 @@
|
|||||||
mode: paper # paper | live — start with paper for futures validation
|
mode: paper # paper | live — start with paper for futures validation
|
||||||
|
|
||||||
capital:
|
capital:
|
||||||
initial: 16.0 # per-asset (new assets)
|
initial: 85.0 # per-asset ($256 / 3)
|
||||||
total: 177.0 # actual total capital deposited
|
total: 256.0 # actual total capital deposited
|
||||||
currency: USDT
|
currency: USDT
|
||||||
|
|
||||||
risk:
|
risk:
|
||||||
per_trade: 0.05 # 5% risk per trade
|
per_trade: 0.05 # 5% risk per trade
|
||||||
max_position_pct: 0.40 # max 40% of equity (min $5 Bybit limit)
|
max_position_pct: 0.40 # max 40% of equity (min $5 Bybit limit)
|
||||||
max_open_positions: 3 # 3 assets: UNI+NEAR+SUI
|
max_open_positions: 3 # 3 assets: WIF+ADA+INJ
|
||||||
leverage: 1 # 1x — grid search best results all at leverage=1
|
leverage: 1 # 1x — conservative with $174
|
||||||
stop_scale: 1.0 # global default; per-asset overrides below
|
stop_scale: 1.0 # global default; per-asset overrides below
|
||||||
time_exit: true # CRITICAL: backtest uses time exit for futures
|
time_exit: true # CRITICAL: backtest uses time exit for futures
|
||||||
safety_stop_pct: 0.10 # 10% hard stop on exchange (flash crash protection)
|
safety_stop_pct: 0.10 # 10% hard stop on exchange (flash crash protection)
|
||||||
min_confidence: 0.0 # grid search best: no confidence filter
|
min_confidence: 0.0 # grid search best: no confidence filter
|
||||||
|
|
||||||
assets:
|
assets:
|
||||||
# Futures long+short 1x 1h — backtest Sharpe 4-6x
|
# Futures long+short 1x 1h — emulator backtest: +$314 / $174 = 180% ROI (17mo)
|
||||||
- ticker: UNI-USD
|
# SM=12-14 compensates close-only ATR (compute_atr ~2.5-3x smaller than true ATR)
|
||||||
symbol: "UNI/USDT:USDT"
|
- ticker: WIF-USD
|
||||||
|
symbol: "WIF/USDT:USDT"
|
||||||
market_type: futures
|
market_type: futures
|
||||||
retrain_enabled: false
|
retrain_enabled: false
|
||||||
window_size: 64
|
window_size: 64
|
||||||
weight: 0.34
|
weight: 0.34
|
||||||
leverage: 1
|
leverage: 1
|
||||||
K: 2
|
K: 3
|
||||||
shift: 14
|
shift: 48
|
||||||
epochs: 300
|
epochs: 300
|
||||||
lr: 0.005
|
lr: 0.005
|
||||||
stop_mult: 1.25 # fixed ATR mult (no regime_adaptive)
|
stop_mult: 12.0 # compensated: true_atr SM=4 ≈ close_atr SM=12
|
||||||
stop_scale: 0.75
|
stop_scale: 1.0
|
||||||
cooldown_bars: 3
|
cooldown_bars: 3
|
||||||
min_confidence: 0.0
|
min_confidence: 0.0
|
||||||
shape_confirm: false
|
shape_confirm: false
|
||||||
corr_thresh: 0.5
|
corr_thresh: 0.5
|
||||||
timeframe: 1h
|
timeframe: 1h
|
||||||
train_start_pct: 0.70 # optimal: May-Aug 2025
|
train_start_pct: 0.30
|
||||||
train_end_pct: 0.80
|
train_end_pct: 0.40
|
||||||
|
|
||||||
- ticker: NEAR-USD
|
- ticker: ADA-USD
|
||||||
symbol: "NEAR/USDT:USDT"
|
symbol: "ADA/USDT:USDT"
|
||||||
|
market_type: futures
|
||||||
|
retrain_enabled: false
|
||||||
|
window_size: 64
|
||||||
|
weight: 0.33
|
||||||
|
leverage: 1
|
||||||
|
K: 4
|
||||||
|
shift: 42
|
||||||
|
epochs: 300
|
||||||
|
lr: 0.005
|
||||||
|
stop_mult: 12.0
|
||||||
|
stop_scale: 1.0
|
||||||
|
cooldown_bars: 3
|
||||||
|
min_confidence: 0.0
|
||||||
|
shape_confirm: false
|
||||||
|
corr_thresh: 0.5
|
||||||
|
timeframe: 1h
|
||||||
|
train_start_pct: 0.20
|
||||||
|
train_end_pct: 0.30
|
||||||
|
|
||||||
|
- ticker: INJ-USD
|
||||||
|
symbol: "INJ/USDT:USDT"
|
||||||
market_type: futures
|
market_type: futures
|
||||||
retrain_enabled: false
|
retrain_enabled: false
|
||||||
window_size: 64
|
window_size: 64
|
||||||
weight: 0.33
|
weight: 0.33
|
||||||
leverage: 1
|
leverage: 1
|
||||||
K: 3
|
K: 3
|
||||||
shift: 10
|
shift: 42
|
||||||
epochs: 300
|
epochs: 300
|
||||||
lr: 0.005
|
lr: 0.005
|
||||||
stop_mult: 0.75
|
stop_mult: 14.0
|
||||||
stop_scale: 1.0
|
stop_scale: 1.0
|
||||||
cooldown_bars: 3
|
cooldown_bars: 3
|
||||||
min_confidence: 0.0
|
min_confidence: 0.0
|
||||||
@@ -59,34 +81,13 @@ assets:
|
|||||||
corr_thresh: 0.5
|
corr_thresh: 0.5
|
||||||
timeframe: 1h
|
timeframe: 1h
|
||||||
train_start_pct: 0.00
|
train_start_pct: 0.00
|
||||||
train_end_pct: 0.10
|
train_end_pct: 0.30
|
||||||
|
|
||||||
- ticker: SUI-USD
|
|
||||||
symbol: "SUI/USDT:USDT"
|
|
||||||
market_type: futures
|
|
||||||
retrain_enabled: false
|
|
||||||
window_size: 64
|
|
||||||
weight: 0.33
|
|
||||||
leverage: 1
|
|
||||||
K: 2
|
|
||||||
shift: 10
|
|
||||||
epochs: 300
|
|
||||||
lr: 0.005
|
|
||||||
stop_mult: 1.0
|
|
||||||
stop_scale: 1.0
|
|
||||||
cooldown_bars: 3
|
|
||||||
min_confidence: 0.0
|
|
||||||
shape_confirm: false
|
|
||||||
corr_thresh: 0.5
|
|
||||||
timeframe: 1h
|
|
||||||
train_start_pct: 0.40 # optimal: Jul-Nov 2024
|
|
||||||
train_end_pct: 0.50
|
|
||||||
|
|
||||||
model:
|
model:
|
||||||
window_size: 64
|
window_size: 64
|
||||||
n_steps: 20
|
n_steps: 20
|
||||||
total_time: 0.5
|
total_time: 0.5
|
||||||
shift: 14
|
shift: 48 # global default; per-asset shift overrides this
|
||||||
epochs: 300
|
epochs: 300
|
||||||
finetune_epochs: 50
|
finetune_epochs: 50
|
||||||
lr: 0.005
|
lr: 0.005
|
||||||
|
|||||||
Reference in New Issue
Block a user