Commit Graph

19 Commits

Author SHA1 Message Date
TIANHE 8eb38bc6f8 feat: indicator parameterization support for kline chart 2026-02-01 15:02:14 +08:00
TIANHE 0b37aa4a67 V2.1.1
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-31 02:59:49 +08:00
TIANHE 528be54fe8 new
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2026-01-25 01:03:46 +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 b4a03a8e33 recovery decide_interval 2026-01-17 01:11:58 +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 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
guopengfa f25b2ebbe3 add config: get strategy history limit.(策略中的历史获取ticket数量可配置,当策略运行于分钟线的时候500条历史数据是不够的) 2026-01-16 13:28:26 +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
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 ec56b59530 feat: add Portfolio Management module with AI monitoring 2026-01-12 22:36:10 +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 3337bcfc14 creat
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-29 19:05:17 +08:00
TIANHE 278b88ec71 creat
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-29 04:45:59 +08:00
TIANHE f43312a858 creat
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
2025-12-29 03:06:49 +08:00