summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
14 hoursfeat(strategy): Phase 2 complete — strategy infrastructure upgradeHEADmasterTheSiahxyz
- Technical indicators library (ATR, ADX, RSI, MACD, Bollinger, Stochastic, OBV) - Signal model: conviction score, stop_loss, take_profit fields - BaseStrategy: ADX regime filter, volume confirmation, ATR-based stops - All 8 strategies upgraded with filters, conviction scoring, ATR stops - Combined strategy uses conviction-weighted scoring - 334 tests passing
14 hoursfeat(strategy): apply filters, conviction scoring, and ATR stops to all ↵TheSiahxyz
strategies
14 hoursfeat(strategy): add ADX regime filter, volume confirmation, and ATR stops to ↵TheSiahxyz
BaseStrategy
14 hoursfeat(strategy): add technical indicators library (ATR, ADX, RSI, MACD, ↵TheSiahxyz
Bollinger, Stochastic, OBV)
14 hoursfeat(shared): add conviction, stop_loss, take_profit to Signal modelTheSiahxyz
14 hoursfeat(backtester): Phase 1 complete — realistic backtesting engineTheSiahxyz
- Slippage modeling (configurable per-trade, buy higher/sell lower) - Trading fee deduction (maker/taker configurable) - Stop-loss and take-profit auto-execution per position - Short selling support (allow_short flag) - Walk-forward analysis engine (in-sample/out-of-sample, efficiency ratio) - Daily equity curve Sharpe/Sortino with risk-free rate adjustment - Recovery factor, consecutive win/loss streaks, fee-aware PnL - 312 tests passing
14 hoursfeat(backtester): add slippage, fees, stop-loss/take-profit, and short sellingTheSiahxyz
14 hoursfeat(backtester): add walk-forward analysis engineTheSiahxyz
14 hoursfeat(backtester): improve metrics with daily Sharpe, recovery factor, ↵TheSiahxyz
consecutive stats
14 hoursdocs: trading strategy upgrade plan (4 phases)TheSiahxyz
Phase 1: Backtester realism (slippage, fees, stops, shorts, walk-forward) Phase 2: Strategy infrastructure (ATR stops, ADX regime filter, volume confirmation, conviction scoring, indicator library) Phase 3: Individual strategy upgrades (divergence, filters, adaptive params) Phase 4: Advanced risk management (portfolio VaR, dynamic sizing, scenarios)
15 hoursdocs: final TODO — all issues resolved, only future enhancements remainTheSiahxyz
15 hoursfix: resolve final 3 issues for production readinessTheSiahxyz
- Fix API strategies endpoint path resolution (use STRATEGIES_DIR env var) - Add DATABASE_URL env var override in alembic env.py - Move risk config fields to shared Settings base class - Remove duplicate fields from ExecutorConfig
15 hoursdocs: update TODO — 3 remaining issues identified from deep analysisTheSiahxyz
15 hoursfix: lint cleanup after medium priority tasksTheSiahxyz
15 hoursfeat(broker): add Redis consumer groups for reliable message processingTheSiahxyz
15 hourstest: add CLI command tests and API router testsTheSiahxyz
15 hoursfeat(portfolio): track realized PnL on sell ordersTheSiahxyz
15 hoursfix: lint cleanup after critical and high priority fixesTheSiahxyz
15 hoursfix: WS factory, backtester config, CI docker builds, health port docsTheSiahxyz
15 hoursfix: snapshot delay, env fields, alembic creds, API healthcheck and error ↵TheSiahxyz
handling
15 hoursfix(strategy-engine): process multiple symbols concurrently with asyncio.gatherTheSiahxyz
15 hoursdocs: comprehensive TODO update with deep analysis findingsTheSiahxyz
Critical: multi-symbol bug, snapshot delay, missing env fields, API healthcheck/error handling, alembic creds mismatch High: binance-only WS, backtester config, CI docker builds Medium: test coverage gaps, realized PnL, test warnings
15 hoursdocs: mark all tasks completed, update project statusTheSiahxyz
15 hoursfix: lint cleanup for API, combined strategy, and formattingTheSiahxyz
15 hoursfeat(risk): add trailing stop, volatility sizing, and position limitsTheSiahxyz
15 hoursfeat(strategy): add combined strategy with weighted signal votingTheSiahxyz
15 hoursfeat: add FastAPI REST API serviceTheSiahxyz
15 hoursfeat: add multi-exchange support via ccxt factoryTheSiahxyz
15 hoursfeat(security): add bearer token auth for health/metrics endpointsTheSiahxyz
15 hourstest: add Docker Compose E2E test scriptTheSiahxyz
15 hoursfeat(monitoring): add Grafana dashboard provisioningTheSiahxyz
15 hoursci: add Gitea Actions workflow and CI scriptTheSiahxyz
15 hoursfeat(monitoring): add Loki + Promtail for log aggregationTheSiahxyz
15 hoursdocs: update TODO — mark Critical, High, Medium as completedTheSiahxyz
16 hoursfeat(portfolio): add periodic portfolio snapshots and daily Telegram summaryTheSiahxyz
16 hoursfeat: medium priority improvementsTheSiahxyz
- Add 30 edge case tests (zero volume, empty data, extreme values, strategy reset, notifier failures) - Fix VWAP division by zero on zero-price candles - Add DB transaction rollback on errors + transaction() context manager - Add parameter validation to all 7 strategies with 41 validation tests - Fix lint issues across test files
16 hourstest: add edge case tests for zero volume, empty data, extreme valuesTheSiahxyz
16 hoursfix(shared): add transaction rollback on DB errorsTheSiahxyz
16 hoursfeat(strategy): add parameter validation to all strategiesTheSiahxyz
16 hoursfix: lint fixes for integration tests and backtester noqa annotationsTheSiahxyz
16 hourstest: add integration tests for strategy, order, portfolio, and backtest flowsTheSiahxyz
16 hoursfeat(cli): implement backtest, strategy, portfolio, and data commandsTheSiahxyz
16 hoursfix: clean up backtester strategy loading and update DockerfilesTheSiahxyz
16 hoursfix: resolve critical deployment blockersTheSiahxyz
- Add Alembic initial migration (6 tables: candles, signals, orders, trades, positions, portfolio_snapshots) - Expose health ports (8080-8083) in docker-compose with healthchecks - Add numpy dependency to strategy-engine pyproject.toml
16 hoursdocs: add comprehensive TODO with remaining work and prioritiesTheSiahxyz
Categorized into Critical (deployment blockers), High/Medium/Low priority items with estimated effort and quick start guide.
16 hoursfix: resolve lint issues and final integration fixesTheSiahxyz
- Fix ambiguous variable name in binance_rest.py - Remove unused volumes variable in volume_profile_strategy.py - Fix import ordering in backtester main.py and test_metrics.py - Auto-format all files with ruff
16 hoursfeat(backtester): integrate detailed metrics and rich reporterTheSiahxyz
- Add timestamp field to SimulatedTrade, pass candle.open_time from engine - Engine now builds TradeRecord list and computes DetailedMetrics - Reporter uses rich tables for summary and monthly returns display - Add export_csv() and export_json() functions - Update reporter tests for rich output and export functions
16 hoursfeat(backtester): add detailed metrics (Sharpe, Sortino, drawdown)TheSiahxyz
Add metrics.py with TradeRecord/DetailedMetrics dataclasses and compute_detailed_metrics() that pairs BUY/SELL trades FIFO, computes win/loss stats, profit factor, equity curve, max drawdown, Sharpe, Sortino, Calmar ratios, and monthly returns.
16 hoursfeat(strategy): add Volume Profile strategyTheSiahxyz
16 hoursfeat(strategy): add Bollinger Bands strategyTheSiahxyz