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
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
Quantdinger
bb45248982
Merge pull request #10 from p369349074/telegram-notification-docts
...
add telegram notification configuration guide documents.
2026-01-12 14:54:25 +08:00
guopengfa
957a63156a
add telegram notification configuration guide documents.
2026-01-12 12:45:04 +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