Commit Graph

136 Commits

Author SHA1 Message Date
PengfaGuo e1d52a10e5 Merge branch 'brokermr810:main' into main 2026-01-28 13:50:22 +08:00
Quantdinger d1a2130c0e Merge pull request #22 from XSX-Milan/fix/notification-logic
fix(vue): 优化通知配置检测逻辑,正确区分提示与警告
2026-01-28 13:16:56 +08:00
XSX-Milan 15083c6b66 fix(vue): 优化通知配置检测逻辑,正确区分提示与警告 2026-01-28 12:54:28 +08:00
PengfaGuo bafc00245a Merge branch 'brokermr810:main' into main 2026-01-28 08:24:02 +08:00
Quantdinger c0ce97ceb5 Merge pull request #19 from XSX-Milan/fix/fuzzy-search
[FIX] Google搜索使用模糊匹配以避免无结果
2026-01-28 02:11:18 +08:00
XSX-Milan 9faf48e53f 修复:Google搜索使用模糊匹配以避免无结果 2026-01-28 00:46:45 +08:00
PengfaGuo d2889af044 Merge branch 'brokermr810:main' into main 2026-01-27 20:20:19 +08:00
Quantdinger 0c7fd30ade Merge pull request #18 from XSX-Milan/main
feat: 添加 Binance 模拟交易支持
2026-01-27 20:19:15 +08:00
XSX-Milan bc1c991645 feat: 添加 Binance 模拟交易支持
在 BinanceFuturesClient 和 BinanceSpotClient 中添加 enable_demo_trading 参数

根据 enable_demo_trading 自动设置正确的 demo base_url

Futures: https://demo-fapi.binance.com

Spot: https://demo-api.binance.com

在 factory.py 中从 exchange_config 读取 enable_demo_trading 配置并传递给客户端
2026-01-27 19:28:34 +08:00
PengfaGuo db6ef2eecf Merge branch 'brokermr810:main' into main 2026-01-27 08:34:04 +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
PengfaGuo 092bc4fbe6 Merge branch 'brokermr810:main' into main 2026-01-25 11:32:44 +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
PengfaGuo 0c80f4caf0 Merge branch 'brokermr810:main' into main 2026-01-24 14:36:20 +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
guopengfa c1bbcfce92 Merge remote-tracking branch 'origin/main' 2026-01-19 16:52:42 +08:00
guopengfa 70fbdac34f capture signal error. 2026-01-19 16:50:17 +08:00
Quantdinger 7de1570b3a Merge pull request #15 from p369349074/main
make manual positions can add same stock and symbal to difference gro…
2026-01-18 22:21:49 +07:00
guopengfa 433e966860 capture signal error. 2026-01-18 23:01:57 +08:00
guopengfa be8994c2d5 fix bug:html report direction right. 2026-01-18 20:26:46 +08:00
guopengfa cf4ce60ba5 fix bug: when same symbal and same code and same name create html report will can not open the on collection, add symbal code name and group name to unique id (当同一股票在不通分组,生成出来的html报告只能展开一个报告) 2026-01-18 18:55:41 +08:00
guopengfa b07ed7a9ee hide logging 2026-01-18 12:49:40 +08:00
PengfaGuo 4fbe871d2a Merge branch 'brokermr810:main' into main 2026-01-17 20:29:37 +08:00
guopengfa eae534af2e make manual positions can add same stock and symbal to difference group (使资金监控可以添加相同股票到不同分组) 2026-01-17 19:35:19 +08:00
Jinyu Xu f332cc62cb fix: Fix time display in dashboard recent trades
- Convert datetime to timestamp in backend dashboard API
- Improve formatTime function to handle ISO 8601 and RFC 2822 formats
2026-01-17 02:25:12 +07:00
Jinyu Xu c5d000e1c9 feat: Move notification settings to user profile and add i18n support
- Move notification config from system settings (.env) to user profile (database)
- Add user-specific notification settings API endpoints (GET/PUT /api/user/notification-settings)
- Add notification_settings column to qd_users table
- Update portfolio and trading-assistant to use profile notification settings
- Add notification settings UI in profile page with all channels (browser, telegram, email, phone, discord, webhook)
- Add i18n translations for notification settings in 10 languages
- Fix timestamp parsing in TradingRecords and portfolio (handle both ISO strings and Unix timestamps)
- Fix header icons alignment for mobile responsive layout
- Fix equity curve timestamp bug (handle datetime objects properly)
- Remove unused login.js exports and clean up user.js store
- Remove husky, commitlint and other dev dependencies
- Clean up env.example by removing user-specific notification params
- Update signal_notifier to prioritize user-specific tokens over global env vars
2026-01-17 01:37:32 +07:00
Quantdinger 10ad20abf6 Merge pull request #14 from p369349074/main
make code can get more before data
2026-01-17 01:30:14 +07:00
guopengfa b49e642066 hide logs 2026-01-17 01:26:25 +08:00
guopengfa b4a03a8e33 recovery decide_interval 2026-01-17 01:11:58 +08:00
guopengfa 235395491b recovery decide_interval 2026-01-17 00:56:12 +08:00
guopengfa 36ddf09f84 delete before. 2026-01-17 00:38:40 +08:00
guopengfa 889e5acae5 fix bug: trade time is valid. (修复BUG:持仓时间为空的问题) 2026-01-17 00:31:44 +08:00
guopengfa ce11f7ad67 fix bug: trade time is valid. (修复BUG:持仓时间为空的问题) 2026-01-16 22:35:44 +08:00
guopengfa affbfd98da add log show strategy history kline number (增加log展示策略中获取的历史数据有多少) 2026-01-16 21:50:44 +08:00
guopengfa 086fe05c4d set trading code history data to config(策略执行时使用配置数量的历史数据) 2026-01-16 21:35:47 +08:00
Quantdinger 97c68986f5 Merge pull request #12 from p369349074/main
add config: get strategy history limit.(策略中的历史获取ticket数量可配置,当策略运行于分钟线的时候500条历史数据是不够的)
2026-01-16 13:58:43 +07:00
guopengfa d0f4f49953 Merge remote-tracking branch 'origin/main' 2026-01-16 13:28:40 +08:00
guopengfa f25b2ebbe3 add config: get strategy history limit.(策略中的历史获取ticket数量可配置,当策略运行于分钟线的时候500条历史数据是不够的) 2026-01-16 13:28:26 +08:00
PengfaGuo 0ecb15f4ed Merge branch 'brokermr810:main' into main 2026-01-16 13:21:45 +08:00
guopengfa 38d38ce162 add config: get strategy history limit.(策略中的历史获取ticket数量可配置,当策略运行于分钟线的时候500条历史数据是不够的) 2026-01-16 13:14:21 +08:00
guopengfa 0146a54851 add telegram notification configuration guide documents. 2026-01-16 12:53:09 +08:00
Quantdinger 460b9a5de7 Update README.md 2026-01-15 20:37:39 +07:00
Quantdinger ae3253a764 Update README.md 2026-01-15 20:36:10 +07:00
Quantdinger c459c5225e Merge pull request #11 from brokermr810/feature/multi-user-postgresql
Feature/multi user postgresql
2026-01-15 00:09:23 +08:00
TIANHE 455786103a new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-14 23:58:21 +08:00