31 Commits
Author SHA1 Message Date
TIANHE 7da255c1e7 fix: harden live order execution recovery 2026-09-25 22:34:37 +08:00
TIANHE 4f97b54c93 chore: raise quick trade quality baseline 2026-09-20 18:51:53 +08:00
TIANHE 2688852da1 ci: refresh backend quality and OpenAPI baselines 2026-09-17 14:42:27 +08:00
TIANHE dba9c886b9 test: align CI guardrails with strategy contract 2026-09-17 02:13:00 +08:00
TIANHE d8508a85a4 feat: support exchange-routed equity trading 2026-09-14 12:49:49 +08:00
TIANHE de8fd2cd83 fix: improve backtest performance, live execution and Copilot latency
Repair grid rearming and pending-order recovery, accelerate replay data and factors, and persist agent backtest history. Reuse Copilot routing, fetch market data concurrently, and release database connections during streaming. Add regression coverage and enforce LF shell scripts.
2026-09-11 13:45:11 +08:00
Henry f172d18360 chore: update backend quality baseline 2026-09-01 15:16:01 +08:00
Henry 04df335ee6 feat: improve AI research and strategy marketplace reliability 2026-08-29 13:40:04 +08:00
Henry 1604d975e7 Add native multi-timeframe strategies 2026-08-18 19:43:17 +08:00
Henry 1eb92e0279 improve grid and live execution reliability 2026-07-30 14:14:16 +08:00
Henry 1d068bb97d fix live fee accounting and strategy execution 2026-07-22 01:34:45 +08:00
Henry bbd9477831 fix backend CI guardrails 2026-07-21 18:09:41 +08:00
Henry 10a12449f9 fix security, backtests, and live trading 2026-07-21 17:50:04 +08:00
TIANHE a9d591a274 v5.0.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-07-19 11:45:04 +08:00
TIANHE 79b196bcf4 v5.0.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-07-18 17:43:02 +08:00
TIANHE 88e19267eb release: finalize v5.0.1 backend 2026-07-18 14:59:18 +08:00
TIANHE a87ee6192f feat: harden backend contracts observability and delivery 2026-07-13 15:42:50 +08:00
TIANHE 90e60ffdea feat: split backend runtimes and add durable task workers 2026-07-13 03:47:59 +08:00
TIANHE e7e5064189 feat: prepare v5.0.1 beta backend 2026-07-13 02:44:50 +08:00
Dinger d6988cf108 v4.0.3
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-06-28 17:28:58 +08:00
Dinger 1e8c5aef44 v3.0.31
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-06-06 21:04:30 +08:00
Dinger 1e16386e09 v3.0.30
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-06-04 00:25:02 +08:00
Dinger bac16f4cd5 v3.0.29
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-06-02 23:36:08 +08:00
Dinger e5e9b96b38 v3.0.26
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-06-02 03:59:01 +08:00
Dinger 5762fdce75 v3.0.24
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-06-01 18:17:15 +08:00
Dinger a1a51e9afc v3.0.22
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-05-31 23:39:35 +08:00
Dinger 57b54c598f v3.0.17
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-05-28 22:40:02 +08:00
Claude Code eee8b02af2 feat(data): add MOEX (Moscow Exchange) equities data source for analysis/backtest
Adds a read-only MOEX data source backed by the public MOEX ISS HTTP API
(https://iss.moex.com/iss). Targets the TQBR equities board so common Russian
tickers (SBER, GAZP, LKOH, ...) work out of the box.

What's new
- app/data_sources/moex.py: MOEXDataSource with get_kline / get_ticker
  - QuantDinger timeframes mapped to ISS intervals; 5m/15m/30m/4H are
    resampled from the nearest finer native interval (1m or 60m)
  - ISS naive timestamps treated as Europe/Moscow (UTC+3) and converted to
    Unix UTC seconds
  - Pagination via ISS start parameter
  - Symbol normalization handles SBER, SBER.ME, GAZP:MOEX, etc.
- app/data_sources/factory.py: registers MOEX market + aliases
- app/routes/market.py: MOEX in /market/types between HKStock and Crypto
- app/services/symbol_name.py: resolves MOEX names from ISS securities endpoint
- app/services/strategy.py: explicit guard - MOEX cannot be used as a live
  trading market_category (create / batch / update paths)
- tests/test_moex_data_source.py: 11 offline unit tests (mocked HTTP)
- scripts/verify_moex.py: live ISS smoke-test script

Limitations
- Analysis & backtesting only. No live order placement on MOEX.
- TQBR board only by default. Other boards can be enabled by constructing
  MOEXDataSource(board=...) explicitly.
- Sub-hour non-native timeframes (5m/15m/30m) and 4H are resampled
  client-side; large limits at fine timeframes pull more data.
2026-04-28 13:40:39 +00:00
Dinger 2e9c7cd69e feat: AI analysis engine refactor, dark theme polish & virtual position management
Core changes:
- Refactor FastAnalysisService: single LLM multi-factor analysis replaces
  7-agent pipeline; add multi-timeframe consensus, threshold calibration,
  confidence calibration, multi-model ensemble voting
- Add RAG memory injection and reflection validation (analysis_memory +
  reflection worker)
- Simplify billing config: remove unused strategy_run/backtest/portfolio_monitor,
  add ai_code_gen separate billing (different token consumption scale)
- Settings hot-reload after save, no backend restart needed

Frontend:
- Global dark theme overhaul: pure black palette replacing blue-tinted colors
  across sidebar/header/dashboard/analysis/K-line/user-manage/profile/settings/billing
- Fix USDT payment modal dark theme (portal rendering broke CSS selectors)
- Refactor position modal: direction + quantity + entry price, remove add/reduce
  logic, show raw DB values on re-open, save exactly what user inputs
- Fix Polymarket prediction market dark text
- i18n for position modal title

Backend:
- Position management: one record per symbol (DELETE+INSERT replacing
  ON CONFLICT with side), fixes PnL showing 0 when switching long/short
- MarketDataCollector data fetching optimization
- portfolio_monitor scheduled monitoring improvements
- env.example reorganized: common config first, advanced config last

Documentation:
- README architecture diagram updated to FastAnalysisService flow
- Add virtual position, AI tuning config, billing items documentation
- Add INDICATOR_DEFINITIONS_CN.md, FRONTEND_FAST_ANALYSIS.md

Made-with: Cursor
2026-03-23 23:01:04 +08:00
TIANHE db91fa4580 v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 17:20:37 +08:00
TIANHE f43312a858 creat
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-29 03:06:49 +08:00