Commit Graph
100 Commits
Author SHA1 Message Date
TIANHE cbe5d8dece docs: Update Chinese README with SECRET_KEY configuration instructions
- Add SECRET_KEY generation steps in quick start section
- Add dedicated SECRET_KEY generation section with helper scripts
- Add security warning about container not starting with default SECRET_KEY
- Sync with English README format
2026-03-12 01:18:51 +08:00
TIANHE ecc44ade59 fix: Fix max drawdown calculation and pandas fillna compatibility
- Fix max drawdown calculation in dashboard to use equity curve instead of cumulative profit
- Add pandas fillna(method=...) compatibility fix for older indicator code
- Cap drawdown percentage at 10000% to avoid display issues
2026-03-12 00:56:29 +08:00
TIANHE efae3480bf feat: Remove test connection button from strategy creation page and fix dark theme styles in profile page
- Remove test connection button and related code from strategy creation page
- Fix text colors in profile page dark theme (credits log, notification settings, exchange config, referral list)
- Update frontend build files
2026-03-12 00:37:11 +08:00
TIANHE b7451c63fb fix: Fix trading precision issues and improve error handling
- Fix quantity precision calculation for Binance, OKX, Bybit, Bitget, Deepcoin exchanges
- Improve OpenRouter API error handling with detailed error messages
- Add SECRET_KEY validation in Docker deployment entrypoint
- Fix K-line chart measurement tool click issue
- Adapt billing page text colors for dark theme
- Update frontend build files
2026-03-12 00:02:53 +08:00
TIANHE b21777e3a0 v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 17:36:09 +08:00
TIANHE 355059491d v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 17:32:59 +08:00
TIANHE fbc6358e13 v2.2.2 2026-03-01 17:31:48 +08:00
TIANHE 3eb1d9ff69 v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 17:28:50 +08:00
TIANHE 2f0885e5dc v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 17:26:16 +08:00
TIANHE db91fa4580 v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 17:20:37 +08:00
TIANHE d60409f7f8 v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 03:59:55 +08:00
TIANHE a6ea4d967c v2.2.2
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-03-01 03:42:10 +08:00
TIANHE 7c067fe61c v2.2.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-02-28 20:34:33 +08:00
TIANHE 3db3bb2a9a v2.2.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-02-28 00:15:58 +08:00
TIANHE cf58ff40fa v2.2.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-02-27 23:34:13 +08:00
TIANHE d92d4c53dc v2.2.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-02-27 22:28:01 +08:00
TIANHE a90f336b93 fix: remove frontend source CI (moved to private repo), update README with Vibe Coding positioning 2026-02-27 20:29:59 +08:00
TIANHE b1e940ba12 V2.2.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-02-27 20:07:06 +08:00
TIANHE abbad97bdd v2.2.1: frontend closed-source + Docker one-click deploy
- Remove frontend source code (now in private repo)
- Add pre-built frontend/dist/ with Nginx serving
- Simplify docker-compose.yml (no Node.js build needed)
- Update README with docs index and Docker deploy guide
- Add admin order list and AI analysis stats tabs
- Add quick trade API routes
- Clean up redundant files (package-lock.json, yarn.lock, .iml)
- Add GitHub Actions workflow for frontend update automation
2026-02-27 19:57:23 +08:00
TIANHE ffdd2ffbae V2.2.1: Membership & Billing, USDT TRC20 payment, VIP free indicators, AI Trading Radar, simplified strategy creation, system settings simplification, bug fixes and UI improvements 2026-02-27 01:57:04 +08:00
TIANHE ae82cc0d4e fix: Improve System Overview tab UI - user name truncation and status column style 2026-02-13 02:54:46 +08:00
TIANHE 4c73439bd6 feat: Add System Overview tab to User Management page (admin only)
- Add backend API endpoint /api/users/system-strategies for system-wide strategy data
- Query all strategies across all users with positions, PnL, trade stats
- Add summary statistics (total strategies, running count, total capital, total PnL/ROI)
- Support filtering by status (running/stopped) and search by strategy/symbol/user
- Add System Overview tab with summary cards and detailed strategy table
- Display user, strategy name, status, symbol, capital, PnL/ROI, positions, trades, indicator, exchange, timeframe, leverage
- Add i18n translations for zh-CN and en-US
- Lazy-load strategy data when tab is first accessed
2026-02-13 02:46:59 +08:00
TIANHE f0a5af595d fix: Fix indicator parameter configuration and Docker build issues
- Fix indicator parameter values being reset after modification in indicator-analysis page
- Fix Docker build nginx image pull failure (use specific version tag)
- Add Docker build scripts (PowerShell and Bash versions)
- Revert call_indicator feature (temporarily removed to avoid affecting existing indicator execution)
2026-02-13 02:33:00 +08:00
TIANHE e5bb37bcbb fix: Improve decimal precision handling across all exchange clients
- Add strict_precision parameter to _dec_str methods
- Modify quantity normalization methods to return (Decimal, precision) tuple
- Infer precision from stepSize/lotSz/qtyStep for accurate formatting
- Update all order placement methods to use precision information
- Fix LOT_SIZE filter errors by strictly limiting decimal places

Affected exchanges:
- Binance Spot & Futures
- OKX
- Bybit
- Bitget Spot & Futures
- Deepcoin

This ensures order quantities are formatted with correct precision matching exchange requirements.
2026-02-11 18:28:06 +08:00
TIANHE d875acd522 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-02-10 15:25:21 +08:00
TIANHE a51184497d feat: Add cross-sectional strategy support
- Add cross-sectional strategy type (single vs cross-sectional)
- Support multi-symbol portfolio management with automatic ranking
- Add portfolio size, long ratio, and rebalance frequency configuration
- Implement parallel order execution for cross-sectional strategies
- Add frontend UI for strategy type selection and configuration
- Add i18n support (Chinese and English) for cross-sectional features
- Fix decimal precision issues in exchange order quantities
- Add last_rebalance_at field to database schema
- Add comprehensive documentation and examples

Database migration required: Add last_rebalance_at column to qd_strategies_trading table
2026-02-10 15:19:20 +08:00
TIANHE af8e46011e sss
Signed-off-by: TsssIANHE <TIANHE@GMAIL.COM>
2026-02-05 00:28:08 +08:00
TIANHE 246dc29d6b chore: organize example strategies into docs/examples folder 2026-02-01 15:04:34 +08:00
TIANHE f1fe35a302 chore: move indicator example files to docs folder 2026-02-01 15:03:50 +08:00
TIANHE 8eb38bc6f8 feat: indicator parameterization support for kline chart 2026-02-01 15:02:14 +08:00
TIANHE 5818fbe725 fix: dashboard improvements - remove AI strategy count, fix pie chart, fix position user_id 2026-02-01 12:58:00 +08:00
TIANHE 8a8717a81f chore: merge user_id migration into init.sql 2026-01-31 22:40:41 +08:00
TIANHE 70269c40c9 fix: AI analysis history user isolation & password change Turnstile bypass 2026-01-31 22:34:36 +08:00
TIANHE afa653c3a7 v2.1.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-31 03:13:18 +08:00
TIANHE 0b37aa4a67 V2.1.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-31 02:59:49 +08:00
TIANHE 0bf4bb5bd9 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-26 20:34:29 +08:00
TIANHE 53cadb5ab5 add deepcoin
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-26 20:32:34 +08:00
TIANHE 08515b5ff8 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-26 19:36:43 +08:00
TIANHE 5df11e2491 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-25 01:14:54 +08:00
TIANHE 528be54fe8 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-25 01:03:46 +08:00
TIANHE 32a426d647 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-24 23:57:39 +08:00
TIANHE 35d7ac5e1b Improve global market dashboard UX and settings
- Add global market dashboard APIs/assets and improve data robustness (incl. crypto heatmap by market cap)

- Enhance global market UI (map+heatmap layout, loading behavior, formatting, theme tweaks)

- Fix Settings LLM Provider select to render label/value options correctly

- Rename Indicator Community to Official Community and move it to the bottom

- Add search fallback when Google quota is exhausted
2026-01-24 23:26:26 +08:00
TIANHE f4e5a9f8e0 fix: Multiple bug fixes and improvements
- Fix Invalid Date display in Dashboard notifications
- Fix timezone offset (8 hours) in Trading Records time display
- Fix position closing failures due to commission discrepancies (fetch actual exchange position size for reduce_only orders)
- Fix IBKR connection error 'no current event loop in thread' by ensuring asyncio event loop exists
- Fix duplicate orders on same candle by extending signal deduplication to close signals
- Add responsive design for Profile page (mobile-friendly)
- Remove unused strategy_code module and database table
- Fix LLM service to support multiple providers (OpenRouter, OpenAI, DeepSeek, Grok, Google)
- Add auto-detection of configured LLM provider based on API key availability
- Fix AI code generation to use unified LLMService with proper provider selection
- Fix crypto symbol format handling (ETH/USDT no longer becomes ETH/USDT/USDT)
- Fix Commission display showing '0E-8' in Trading Records
- Fix P&L display for signal-only trades (show '--' for unrealized P&L)
- Fix OAuth login not updating last_login_at for new users
- Add migration script for notification_settings column
- Update env.example with new LLM provider configurations
- Remove ESLint rule that was not defined in config
2026-01-24 03:22:14 +08:00
TIANHE 455786103a new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 23:58:21 +08:00
TIANHE 6011ba4ce3 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 23:50:31 +08:00
TIANHE 47efb7e024 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 23:01:39 +08:00
TIANHE 0172147348 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 22:07:37 +08:00
TIANHE fc66d9677d new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 22:06:19 +08:00
TIANHE 2849bd745c new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 21:52:09 +08:00
TIANHE 0fbee21c57 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 21:49:45 +08:00
TIANHE 0b810adb10 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 21:41:40 +08:00
TIANHE 445e7ac290 feat: improve authentication and user management
- Fix token missing issue after email code registration/login
- Add last login time update for code-based login
- Support email login in addition to username login
- Fix password login for code-registered users (allow setting password)
- Fix referral code parameter passing from URL hash
- Add email column to user management table
- Improve profile page layout (align card heights, reorganize layout)
- Add i18n support for Register Bonus, Referral Bonus, Code Lock Minutes, Code Max Attempts
- Fix billing service add_credits to support reference_id parameter
- Update password handling documentation
2026-01-14 20:42:10 +08:00
TIANHE fa721c034c new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 05:58:08 +08:00
TIANHE 61a5e5e6aa feat: Multi-user system with PostgreSQL - WIP temporary save 2026-01-14 05:29:55 +08:00
TIANHE 996e3b38fe new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-13 17:09:50 +08:00
TIANHE 3f795f78a2 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-13 04:27:34 +08:00
TIANHE d17a1e8c67 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-13 04:16:42 +08:00
TIANHE 7053aefc33 Supports MT5 and forex trading.
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-13 04:10:05 +08:00
TIANHE a3a4f75bb6 Supports MT5 and forex trading.
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-13 04:04:14 +08:00
TIANHE e095f9be7e Supports MT5 and forex trading.
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-13 04:01:42 +08:00
TIANHE 7527d73f25 Supports Interactive Brokers, US and Hong Kong stocks.
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-13 02:35:48 +08:00
TIANHE 714dd47c86 feat: add real-time price fetching and fix data delays
- Add get_ticker() method for real-time quotes across all markets

- Add get_realtime_price() service with ticker/kline fallback chain

- Fix yfinance end date issue for US stocks and futures

- Fix forex timezone parsing for Tiingo UTC timestamps

- Add retry mechanism with exponential backoff for Tiingo API

- Add API rate limiting for portfolio (3 concurrent, 0.3s interval)

- Add force refresh option to bypass price cache on manual refresh
2026-01-13 00:21:33 +08:00
TIANHE ac932aebf0 Fixed a bug related to transaction volume.
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-12 23:26:50 +08:00
TIANHE 63f0b118a1 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-12 23:10:47 +08:00
TIANHE ec56b59530 feat: add Portfolio Management module with AI monitoring 2026-01-12 22:36:10 +08:00
TIANHE 43523d4796 fix: Forex data source improvements and Tiingo subscription hints 2026-01-12 04:28:42 +08:00
TIANHE bd5db753df feat: improve backtest system and add OpenRouter balance query 2026-01-12 04:01:17 +08:00
TIANHE 5a4c770279 feat: Refactor settings UI and fix commission fee recording
Settings improvements:
- Reorganize config groups with logical ordering (server, auth, ai, trading, etc.)
- Add description/tooltip for each config item with question mark icon
- Add icon to each group header
- Support i18n for descriptions (zh-CN, zh-TW, en-US)
- Move order execution config (ORDER_MODE, MAKER_WAIT_SEC, MAKER_OFFSET_BPS) to env

Commission fee fixes:
- Fix fee extraction in exchange clients: Bybit, Coinbase, Kraken, Gate, Kucoin, Bitfinex
- Properly accumulate and record commission fees in pending_order_worker
- Add fee/fee_ccy fields to wait_for_fill returns

Frontend updates:
- Remove order_mode config from trading-assistant frontend (now uses env config)
- Add sorted schema display by order field
- Add tooltip with description on hover
2026-01-12 00:15:52 +08:00
TIANHE e7cb9c6493 feat(i18n): add missing translations for trading-assistant modal
- Add step2Params and step3Signal translations
- Add execution mode related translations (signal/live)
- Add notification channel translations (browser/email/phone/telegram/discord/webhook)
- Add live trading config translations (savedCredential, credentialName, etc.)
- Add batch operation message translations (batchCreateSuccess, batchStart/Stop/Delete)
- Add placeholders for email, phone, telegram, discord, webhook inputs
- Add validation messages for email and notify channel
- Add strategy group translations (startAll, stopAll, deleteAll, symbolCount)
- Support both zh-CN (Simplified Chinese) and zh-TW (Traditional Chinese)
2026-01-11 22:15:54 +08:00
TIANHE 74138b4cb2 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-11 21:15:26 +08:00
TIANHE c1dc3f3a71 feat: Add indicator code verification API and UI
- Add POST /api/indicator/verifyCode endpoint in Python backend.
- Update IndicatorEditor.vue with Verify Code button and error modal.
- Add i18n support for verification UI.
- Update README files.
2026-01-06 19:53:23 +08:00
TIANHE eea7d75615 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 19:30:16 +08:00
TIANHE 491cfece81 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 04:09:26 +08:00
TIANHE 5f6fd72a3a new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 04:06:18 +08:00
TIANHE 2b608f37d3 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 04:02:32 +08:00
TIANHE 5b5ededb1d new 2026-01-06 04:00:41 +08:00
TIANHE 9b4f0c16ac new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 03:57:59 +08:00
TIANHE 493d375f6e new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 03:52:26 +08:00
TIANHE 87c4f1efcc new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 01:49:15 +08:00
TIANHE 355f5c5ef1 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 01:34:37 +08:00
TIANHE 6754d0cf37 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-06 00:55:29 +08:00
TIANHE dafa0013cf new 2026-01-06 00:47:54 +08:00
TIANHE ab7226e5fe Merge branch 'main' of https://github.com/brokermr810/QuantDinger 2026-01-05 18:24:44 +08:00
TIANHE 635a6bb709 鏇存柊README锛氬皢瀹樼綉鏀逛负瀹樻柟绀惧尯锛屽垹闄ug鎶ュ憡鍜岃璁哄尯閾炬帴 2026-01-05 18:24:31 +08:00
TIANHE 3a74257b29 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-05 05:16:30 +08:00
TIANHE ce063e53b5 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-04 02:41:38 +08:00
TIANHE 5b2a7a30fa new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-04 02:35:46 +08:00
TIANHE a1d4dff427 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-04 02:22:12 +08:00
TIANHE 452a97c6a9 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-04 01:38:14 +08:00
TIANHE fc2a30deed update .env.example 2026-01-03 20:25:58 +08:00
TIANHE dad169bb9c creat
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-03 20:14:57 +08:00
TIANHE 1b2c302248 creat lang
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-03 02:04:05 +08:00
TIANHE 74bc06f82f Merge branch 'main' of https://github.com/brokermr810/QuantDinger 2026-01-03 01:55:39 +08:00
TIANHE 8610a55e7e new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-03 01:53:16 +08:00
TIANHE 7ccf53a461 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-03 00:33:13 +08:00
TIANHE 965efbb49b new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-03 00:16:30 +08:00
TIANHE 8ac7248799 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-31 17:14:11 +08:00
TIANHE 76d24aa203 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-31 02:22:10 +08:00
TIANHE a9d8765f50 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-30 22:05:14 +08:00
TIANHE 9493dd0fd4 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-30 21:59:54 +08:00