Spaces:
Running
Running
Commit History
-
feat: add backtester and enable ranging-regime filter Running
Add an event-driven, no-look-ahead backtester (src/backtest) that reuses the live generateSignals/analyzeExit and exact cost formulas, fills SL/TP from intrabar high/low, and models the partial -> breakeven -> runner lifecycle. Includes an A/B preset runner and a robustness validator (per-symbol, in-sample/out-of-sample, fill-sensitivity). Backtest (~60-82d, 96 trades, pessimistic fills) shows that blocking ranging-regime setups improves profit factor 1.36->1.71, net +53%, expectancy ~2x, and cuts max drawdown - on all 4 symbols and both data halves. Enable it live via LIVE_STRATEGY_OPTS.blockRanging (default-off flag), wired into the server autopilot and the browser client. Revert by setting blockRanging:false. Also: export getSpread/calculateCommission from tradeManager for single-source reuse, and add an optional Yahoo range override so backtests can pull 60d of 15m data instead of the app's 15d default. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>f43243e
-
fix: escape & in Telegram close message; net commission into per-trade P&L/stats
cafa0b3
-
fix: clear active trades when resetting the account
034b7dd -
fix: calculate active trade P&L and R:R immediately on history loading
8497958 -
clean: remove signals panel from UI and fix P&L Telegram escape character
0b1907f -
feat: add feed health monitoring and structure-based TP2/trailing stop rules
a547315 -
Remove unprofitable 15m timeframe symbols (ETHUSDT & EURUSD) from the entire application
7a6768e -
Add Reset Account button to UI and wire up API interactions
2d6848e -
Optimize SL ATR buffers dynamically, enforce zone freshness, and align backtester spread execution
86afb93 -
Optimize crypto ATR Stop Loss buffer multiplier to 1.5 to handle spread spacing
ef47b6d -
Add hard trend alignment filter to buildSignal to avoid counter-trend noise
a1564a4 -
Implement Option A (Liquidity Sweep & VSA Volume) and Option B (Forex/Gold Session Kill Zones)
c34a96e -
Update BTCUSDT spread to 25.0 to align with actual execution prices
8560ddd -
fix: pass lastResetDate to database saveDailyLosses call to preserve date rollover state
d5692dc -
fix: implement weekend Day-of-Week stats, client cooldown state sync, and client transition scanning
cb4f623 -
feat: adjust short SL/TP by spread and correct lot sizing to limit risk to exactly
e9b0611 -
Enable Grade B setups (Score >= 4) in autopilot/client scanners and update Telegram and active trade card UI to display Grade badges
d3a66fe -
Apply user's multi-key Twelve Data integration for Forex/Metals with dedicated polling cycles and Yahoo fallback routing
e3fe258 -
Tuning outlier wick filter with lowered min_wick and clampAmt bounds for tighter low-volatility tracking
1d20ea7
-
Apply user's absolute backstop, dynamic clamp bounding, and API edge outlier filtering
db00ed6 -
Upgrade to a premium, dynamic Neighbour-Relative Forex Outlier-Wick Filter
67616e2 -
Completely remove and clean up Twelve Data integration from the codebase
a66b025 -
Lower Forex outlier wick filter to 40 pips and implement same filter in twelveDataAPI
1ee4649 -
Refactor market structure breaks chronologically and implement priority-based marker deduplicator
851ffda -
fix: enforce strict 150-pip hard-clamp limit on Forex outlier wicks to completely eradicate Yahoo Finance bad ticks
d29796c -
fix: implement dynamic Outlier Forex Wick Filter to eliminate Yahoo Finance bad ticks for USDCAD
c32a31a -
fix: differentiate SL Hit from Breakeven Hit to prevent unnecessary post-mortem audits and fix headers
462ac4d -
perf: implement centralized server market-data cache, staggered polling, and spot drift TTL
ebfcd8b -
feat: implement spot gold offset engine and telegram notification loops with smart SL post-mortems
01369a3 -
feat: implement Twelve Data provider integration with secure Express API proxy, automated server-side caching, and key-activated OANDA spot gold/forex upgrade
ba1d9b3 -
fix: align and deduplicate candle timestamps to timeframe duration boundaries, preventing ghost tick candles during live chart updates
992517d -
fix: remove redundant and corrupting chart update inside handleTick to prevent double-candle forming discrepancy
5bbdd04 -
feat: separate symbol-specific Dashboard and Overall Dashboard tabs with independent monthly calendars
5a3fc52 -
feat: implement smart-filtered monthly calendar navigation
9793868 -
fix: implement horizontal selector swipe carousels and double-guarded chart load resizing
7590e35 -
style: implement responsive viewport overhaul for mobile browsers
f3c1b93 -
fix: migrate crypto to yahoo finance to bypass US geoblocks
a87a76b
-
feat: migrate to full-stack cloud autopilot terminal with mongodb atlas
66b7a93