Commit Graph

  • e58fbfa10b Merge branch 'dev' into beta # Conflicts: # config/database.go # main.go icy 2025-11-02 22:11:07 +08:00
  • bf07df94b9 Merge branch 'dev' of https://github.com/tinkle-community/nofx into dev icy 2025-11-02 21:54:48 +08:00
  • 2775e6fa25 Merge pull request #176 from yuanshi2016/dev Kline获取方式为Websocket缓存 Roninchen 2025-11-02 21:54:16 +08:00
  • c45e7ffad1 Merge branch 'dev' of https://github.com/tinkle-community/nofx into dev icy 2025-11-02 21:54:02 +08:00
  • 287ccee1df Merge pull request #257 from SkywalkerJi/dev Google Tag Manager tinkle-community 2025-11-02 21:47:38 +08:00
  • 3d6d1e4104 Google Tag Manager SkywalkerJi 2025-11-02 21:44:53 +08:00
  • 1abc3d41b4 Merge pull request #246 from xqliu/fix/model-config-validation-245 tinkle-community 2025-11-02 18:32:45 +08:00
  • a8d5171087 fix: Update model validation in handleSaveModelConfig to support both configured and supported models - Change validation to check allModels first, then supportedModels - This allows saving new model configurations without "model does not exist" error - Fixes issue where users couldn't save AI model config after selecting from dropdown Fixes #245 Co-Authored-By: tinkle-community <tinklefund@gmail.com> Liu Xiang Qian 2025-11-02 18:08:25 +08:00
  • d8582475d3 修改Kline获取方式为Websocket缓存。 yuanshi2016 2025-11-02 17:59:19 +08:00
  • 2020f80193 Merge pull request #242 from Icyoung/beta Fixed beta codes file mapping tinkle-community 2025-11-02 17:22:58 +08:00
  • 0a2476960e Fixed beta codes file mapping icy 2025-11-02 17:19:58 +08:00
  • cae63ea398 Merge pull request #235 from Icyoung/beta Beta Beta mode support、UI design optimize tinkle-community 2025-11-02 15:32:31 +08:00
  • 7302f96e8e K线获取方式改为websocket组合流. 带重拨机制 流程为下: 1. 启动时使用所有交易员设置的币种(去重) 如果交易员未配置,则使用系统默认 2. 在决策获取K线时 如果没有缓存 则先实时获取后再添加订阅. ps: 适用于Api方式的币种列表 yuanshi2016 2025-11-02 14:03:13 +08:00
  • 0347705df5 Merge branch 'tinkle-community:dev' into dev 原始 2025-11-02 14:02:11 +08:00
  • 22cc35f1d8 update aster exchange guide tinkle-community 2025-11-02 12:23:33 +08:00
  • 4227081ca8 Merge branch 'tinkle-community:dev' into dev 原始 2025-11-02 12:19:40 +08:00
  • 4a8d4d9284 update aster exchange guide tinkle-community 2025-11-02 12:15:40 +08:00
  • dee040e35b docs: Enhance timestamp/timezone troubleshooting based on Issue #60 Enhanced the Exchange API errors section with more detailed solutions for timestamp-related failures, based on Issue #60. Problem: - code=-1021: Timestamp outside of recvWindow - System time not synced with Binance servers - Docker container time drift Enhanced Solutions: 1. System Time Sync (Multiple methods) - ntpdate pool.ntp.org (recommended) - ntpdate with different NTP servers - timedatectl for automatic sync - Aliyun NTP for China users 2. Docker-specific fixes - Check container time vs host time - Restart Docker service - Add TZ environment variable 3. API Key verification steps - Regeneration procedure - Permission checklist 4. Rate limit considerations - Reduce trader count - Increase decision interval Both English and Chinese versions updated. Fixes: #60 Co-Authored-By: tinkle-community <tinklefund@gmail.com> Liu Xiang Qian 2025-11-02 11:44:57 +08:00
  • 24855b4859 docs: Add Docker image pull failure troubleshooting (China) Added comprehensive troubleshooting guide for Docker image pull failures in mainland China, based on Issue #168. Problem: - Users in China cannot pull Docker images from Docker Hub - ERROR: load metadata for docker.io/library/... - Timeouts and connection failures Solutions Added: 1. Configure Docker registry mirrors (Recommended) - List of working China mirrors - Step-by-step configuration for Linux/macOS/Windows - Verification commands 2. Use VPN - Taiwan nodes recommended - Global mode required 3. Offline image download - Image proxy websites - Manual import instructions Both English and Chinese versions updated. Fixes: #168 Co-Authored-By: tinkle-community <tinklefund@gmail.com> Liu Xiang Qian 2025-11-02 11:38:53 +08:00
  • d8a5a9e143 docs: Fix AI model list in FAQ - correct supported models Fixed incorrect information about supported AI models: Before (Incorrect): - Listed OpenAI GPT-4 and Claude as directly supported - These are NOT natively supported After (Correct): - DeepSeek (native support, recommended) - Qwen (native support, Alibaba Cloud) - Custom OpenAI-compatible APIs (can use OpenAI, Claude via proxy, etc.) Also updated cost estimates to reflect actual supported models. Reference: mcp/client.go shows only DeepSeek, Qwen, and Custom providers. Co-Authored-By: tinkle-community <tinklefund@gmail.com> Liu Xiang Qian 2025-11-02 11:09:18 +08:00
  • 261e0d47ad docs: Expand FAQ and clarify separation from TROUBLESHOOTING Addressed review feedback on PR #226: - FAQ and TROUBLESHOOTING serve different purposes and should both be kept - FAQ: Quick Q&A format for common questions (now expanded) - TROUBLESHOOTING: Detailed step-by-step diagnostic guide Changes: - Expanded FAQ from 26 lines to 200+ lines with 7 sections: * General Questions (What is NOFX, supported exchanges, profitability) * Setup & Configuration (requirements, API keys, subaccounts) * Trading Questions (decision frequency, position limits, customization) * Technical Issues (quick fixes for common errors) * AI & Model Questions (supported models, costs, learning) * Data & Privacy (storage, security, export) * Contributing (how to help, feature requests) - Added cross-references between FAQ and TROUBLESHOOTING - FAQ provides quick answers with links to detailed troubleshooting - TROUBLESHOOTING remains comprehensive diagnostic guide Both English and Chinese versions updated. Fixes review comment from @reviewer on PR #226 Co-Authored-By: tinkle-community <tinklefund@gmail.com> Liu Xiang Qian 2025-11-02 11:04:58 +08:00
  • 97f2eec7fc Merge pull request #88 from fanyinghao/fix-decision-result fix: Correct error handling in GetFullDecision function Luna Martinez 2025-11-01 23:03:55 -04:00
  • 35eefb5992 Merge pull request #181 from Xeron2000/fix-broken-dashscope-link-issue-128 Fix broken DashScope link in README files (fixes #128) Luna Martinez 2025-11-01 23:00:27 -04:00
  • cf12be74f5 test: Add minimal UT infrastructure and fix Issue #227 This commit sets up a minimal, KISS-principle testing infrastructure for both backend and frontend, and includes the fix for Issue #227. Backend Changes: - Add Makefile with test commands (test, test-backend, test-frontend, test-coverage) - Add example test: config/database_test.go - Fix Go 1.25 printf format string warnings in trader/auto_trader.go (Changed log.Printf to log.Print for non-format strings) - All backend tests pass ✓ Frontend Changes: - Add Vitest configuration: web/vitest.config.ts (minimal setup) - Add test utilities: web/src/test/test-utils.tsx - Add example test: web/src/App.test.tsx - Add dependencies: vitest, jsdom, @testing-library/react - All frontend tests pass ✓ Issue #227 Fix: - Fix AITradersPage to allow editing traders with disabled models/exchanges - Change validation to use allModels/allExchanges instead of enabledModels/enabledExchanges - Add comprehensive tests in web/src/components/AITradersPage.test.tsx - Fixes: https://github.com/tinkle-community/nofx/issues/227 CI/CD: - Add GitHub Actions workflow: .github/workflows/test.yml - Non-blocking tests (continue-on-error: true) - Runs on push/PR to main and dev branches Test Results: - Backend: 1 test passing - Frontend: 5 tests passing (including 4 for Issue #227) Co-Authored-By: tinkle-community <tinklefund@gmail.com> Liu Xiang Qian 2025-11-02 10:58:31 +08:00
  • 48ee2e3eca Fix broken DashScope link in README files (fixes #128) Xeron 2025-11-02 10:56:24 +08:00
  • 6789b22609 Merge pull request #228 from hzb1115/dev fix: github workflow permission Luna Martinez 2025-11-01 22:28:22 -04:00
  • 3af9f3e376 fix: github workflow permission zbhan 2025-11-01 22:25:32 -04:00
  • b1a0f015d7 docs: Enhance bug report template and add comprehensive troubleshooting guide - Enhanced bug report template with detailed log capture instructions - Added bug categorization system (6 main categories) - Frontend error capture guide (DevTools Console/Network tabs) - Backend log capture for Docker and PM2 deployments - Trading/decision logs location and usage - Comprehensive environment information checklist - Quick diagnostic tips for faster issue resolution - Created bilingual troubleshooting guides (EN/ZH) - Common trading issues (e.g., Issue #202: only short positions) - Detailed explanation of Binance position mode requirements - AI decision problems and diagnostics - Connection and API error solutions - Frontend and database issues - Complete log capture instructions with commands - Emergency reset procedures - Updated documentation cross-references - Added troubleshooting guide links to bug report template - Added links in README Common Issues section - Bilingual support for better accessibility This reduces maintainer workload by helping users self-diagnose issues and submit higher-quality bug reports with all necessary information. Addresses Issue #202 root cause documentation. Co-Authored-By: tinkle-community <tinklefund@gmail.com> Liu Xiang Qian 2025-11-02 09:58:30 +08:00
  • 7d730866b7 Merge branch 'dev' into beta icy 2025-11-02 07:13:41 +08:00
  • 554c46f0f3 Merge branch 'dev' of https://github.com/tinkle-community/nofx into dev icy 2025-11-02 07:13:33 +08:00
  • 063521cc37 fix: resolve merge conflicts in RegisterPage.tsx - Remove merge conflict markers - Keep HeaderBar import instead of ArrowLeft - Remove duplicate betaMode state declaration - Remove duplicate useEffect hook - Update translation keys to use authStep* variants - Ensure proper beta mode functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 07:05:07 +08:00
  • b6b7bbe0c0 fix: add beta_mode to config.json.example Add missing beta_mode configuration option to the example config file. This ensures Docker builds and new deployments include the beta_mode setting. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:51:17 +08:00
  • 2e016845d0 fix: use CSS variables for form background in RegisterPage Replace hardcoded colors with CSS variables: - background: var(--panel-bg) - border: var(--panel-border) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:43:39 +08:00
  • d0c88c4a8a fix: restore header bar and fix layout in RegisterPage - Add HeaderBar component to registration page - Change background to use CSS variables (var(--brand-black)) - Remove "back to home" button - Update layout structure to match LoginPage pattern - Fix container padding and spacing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:42:51 +08:00
  • 6a8352ae58 fix: resolve all TypeScript build errors - Remove unused imports (LoginModal, Zap) and variables - Fix Language type mismatches across components - Update HeaderBar interface to use Language type - Remove unused onLoginClick parameter - Fix duplicate translation keys by renaming auth steps - Remove invalid language prop from CommunitySection 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:39:23 +08:00
  • de6f602a5a Merge pull request #219 from hzb1115/dev feat: PR validation Luna Martinez 2025-11-01 18:37:50 -04:00
  • 2d9a123a9f fix: add beta_mode property to SystemConfig interface 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:31:51 +08:00
  • 36c8df3261 Merge pull request #1 from hzb1115/dev_pr_check feat: pr validation Luna Martinez 2025-11-01 18:29:56 -04:00
  • 2f4f277001 feat: pr validation zbhan 2025-11-01 18:25:44 -04:00
  • 3349df0a4a fix: remove extra closing div tag in RegisterPage JSX 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:25:09 +08:00
  • c24807ff18 feat: update UI components and add new assets - Update App, CompetitionPage, CryptoFeatureCard components with improvements - Enhance Header and LoginPage components - Update styling in index.css and API configurations - Add new hand background and hand image assets - Remove old logo.png file - Update server configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:23:06 +08:00
  • 2c0bb26154 feat(auth): integrate beta mode functionality in registration - Add beta code input field to registration form when beta mode is enabled - Check system config on component mount to determine beta mode status - Require 6-character alphanumeric beta code for registration in beta mode - Maintain existing internationalization and styling patterns 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:22:38 +08:00
  • b6cc1d2644 feat(i18n): internationalize footer and login modal components - Update FooterSection to use language prop pattern instead of useLanguage hook - Add language prop support to LoginModal component - Ensure consistent internationalization approach across UI components - Maintain proper prop interfaces for language handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:22:16 +08:00
  • d8f0a154b4 feat(i18n): internationalize landing page sections - Update AboutSection, FeaturesSection, HowItWorksSection to use language prop pattern - Replace useLanguage hook with language prop interface for consistency - Add comprehensive internationalization support for landing page content - Update HeroSection and LandingPage to support language prop flow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:21:48 +08:00
  • f8c9c80a72 feat(i18n): add navigation internationalization - Add Chinese/English translations for navigation buttons (实时/Real-time, 配置/Config, 看板/Dashboard) - Update HeaderBar component to use translation system for navigation elements - Add realtimeNav, configNav, dashboardNav translation keys - Support both desktop and mobile navigation internationalization 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-02 06:20:28 +08:00
  • 266b84bd6b Merge branch 'tinkle-community:dev' into dev 原始 2025-11-02 04:09:26 +08:00
  • c7a6b64a9a Merge pull request #216 from tinkle-community/shui_dev Feat: Update docs Luna Martinez 2025-11-01 15:13:29 -04:00
  • fcacfbd79d Feat: Update docs - 重构文档结构 - 更新文档内容 - 制定roadmap - 提供中/EN 双语文档 zbhan 2025-11-01 15:05:24 -04:00
  • 7f50f5bd10 Merge branch 'tinkle-community:dev' into dev 原始 2025-11-02 03:00:32 +08:00
  • 2c9e16f192 Merge branch 'dev' into beta icy 2025-11-02 02:35:50 +08:00
  • f57d1227b6 Merge branch 'main' into beta icy 2025-11-02 02:31:36 +08:00
  • 266481caee Add beta mode icy 2025-11-02 02:31:19 +08:00
  • ba35d29eee Merge pull request #215 from zhoujunhehe/landing-page-pr tinkle-community 2025-11-02 02:16:17 +08:00
  • de5e135dfd style(web): 统一 FooterSection 组件的代码风格,优化链接格式和排版 Ember 2025-11-02 01:59:42 +08:00
  • f53559ce59 fix(web): Footer ‘资源/文档’ 链接改为 GitHub 主 README(https://github.com/tinkle-community/nofx/blob/main/README.md) Ember 2025-11-02 01:57:50 +08:00
  • 1de95510c0 chore(web): Footer 支持方去除图标并新增 Hyperliquid 链接 Ember 2025-11-02 01:56:21 +08:00
  • 0d70e3a107 feat(web): Footer 按旧版文案重排 —— 顶部品牌 + 三列(链接/资源/支持方:Aster DEX、Binance、Amber.ac) Ember 2025-11-02 01:53:48 +08:00
  • 7ea396cc26 feat(web): Footer 增加“支持的交易所”列(Binance、Aster DEX 图标与链接),对齐早期版本记忆 Ember 2025-11-02 01:50:49 +08:00
  • a14f4b3fc0 feat(web): LandingPage 页脚升级为多链接版本(链接/资源/产品/支持 四列) Ember 2025-11-02 01:46:40 +08:00
  • ee6eecf7c9 feat(web): 恢复 LandingPage 页脚(FooterSection),复用 App 的 Footer 文案与样式 Ember 2025-11-02 01:42:30 +08:00
  • d9fd1a752d Merge branch 'tinkle-community:dev' into dev 原始 2025-11-02 01:40:29 +08:00
  • e927f86e06 style(web): 移除功能卡片右下角黄色渐变点缀(去除黄光) Ember 2025-11-02 01:39:31 +08:00
  • 53c336aad9 ui(web): 管理员模式徽标改为 Lucide Zap 图标,保持与其他 emoji 替换一致 (#138 风格) Ember 2025-11-02 01:14:11 +08:00
  • 13774d74bb ui(web): 对齐 #138 风格——用 Lucide/矢量图标替换表情与占位,增强空态/警告显示(ComparisonChart/Competition/AITraders/ConfigModal) Ember 2025-11-02 01:02:15 +08:00
  • 37db073de4 feat(web): 重做 #138/#133 的前端改动(LOGO 替换 + Loading Logo + 校验优化保留),尽量不覆盖他人代码 Ember 2025-11-02 00:58:25 +08:00
  • 8e28854751 refactor(web): 拆分 LandingPage 为可复用组件(HeaderBar/Hero/AnimatedSection 等),新增 pages 结构并完成集成;构建通过 Ember 2025-11-02 00:36:37 +08:00
  • 5afa80c9d8 refactor(web): 引入 pages 目录并迁移 LandingPage;修正 App 引用与相对路径,保持构建通过 Ember 2025-11-02 00:28:38 +08:00
  • 0f91f25421 fix(web): 更新主图像文件以改善视觉效果 Ember 2025-11-02 00:19:49 +08:00
  • d3de0ad70b fix(web): 优化落地页内容—移除多余空行,简化图片组件,更新支持方列表 Ember 2025-11-02 00:17:19 +08:00
  • 88db8becb6 style(web): 对齐币安风格—移除渐变/发光,固化深色/面板色,新增 header 样式,按钮与卡片统一 Ember 2025-11-02 00:08:46 +08:00
  • 47083f97b1 fix(web): 去除残留 undefined(文本最终清洗)并将启动命令改为顶层 README 流程(start.sh + compose) Ember 2025-11-02 00:01:38 +08:00
  • c3a0efb384 fix(web): Typewriter 更稳健—charAt防越界、sanitizedLines防空值、pre-wrap防换行丢失 Ember 2025-11-01 23:58:48 +08:00
  • 4dfe6626fc feat(web): Typewriter 优化(修复 undefined、矩阵绿样式、降低速度)并更新启动指令为 README 前端开发流程 Ember 2025-11-01 23:53:17 +08:00
  • daba1bc113 feat(web): 落地页“启动输出”加入打字机效果(Typewriter) Ember 2025-11-01 23:45:27 +08:00
  • e747e449da feat(web): 新增 Landing 页面与 UI 优化\n\n- 新增 LandingPage、CryptoFeatureCard 等组件\n- 登录/注册页面与样式优化\n- 静态资源 images/main.png Ember 2025-11-01 23:36:28 +08:00
  • 984a6acad6 Merge pull request #201 from SkywalkerJi/dev Mapping the prompts folder in Docker. tinkle-community 2025-11-01 22:33:30 +08:00
  • f6ff790b42 Merge remote-tracking branch 'refs/remotes/origin/dev' into dev SkywalkerJi 2025-11-01 22:31:09 +08:00
  • f4ab9baba6 Docker port mapping prompts. SkywalkerJi 2025-11-01 22:28:49 +08:00
  • c11cc09fb6 Merge branch 'tinkle-community:dev' into dev 原始 2025-11-01 22:07:25 +08:00
  • 6d915ae27d Merge pull request #194 from Icyoung/dev Remote auth for prompt templates tinkle-community 2025-11-01 20:34:32 +08:00
  • 8fc4619c62 Merge pull request #192 from Icyoung/dev Dev Bug fix tinkle-community 2025-11-01 20:28:06 +08:00
  • 3c56f25f86 Remote auth for prompt templates icy 2025-11-01 20:25:55 +08:00
  • 54f7de65e4 Merge branch 'tinkle-community:dev' into dev 原始 2025-11-01 20:24:59 +08:00
  • 182d0b695d Merge branch 'dev' of https://github.com/tinkle-community/nofx icy 2025-11-01 20:09:17 +08:00
  • 196475f0a5 Merge pull request #189 from SkywalkerJi/dev Supports custom system prompts and custom models. tinkle-community 2025-11-01 19:49:26 +08:00
  • b12cf0cdec Merge branch 'tinkle-community:dev' into dev SkywalkerJi 2025-11-01 20:46:33 +09:00
  • 5ad135310f Supports custom system prompts and custom models. SkywalkerJi 2025-11-01 19:45:54 +08:00
  • 770c34e473 Fixed i18n lint icy 2025-11-01 19:39:27 +08:00
  • 6d81a773f2 Resolve merge conflicts in AITradersPage.tsx - Fixed import statement conflict (using 'type Language') - Merged exchange configuration logic preserving support for multiple exchange types - Kept comprehensive form handling for Binance, Hyperliquid, Aster, and OKX exchanges - Updated security warning messages to use proper translation keys 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com> icy 2025-11-01 19:01:44 +08:00
  • 8d93a8a095 Fixed health check; Fixed dex config; Add rank trader info view; icy 2025-11-01 18:58:32 +08:00
  • 1a1df70ab3 Merge branch 'tinkle-community:dev' into dev 原始 2025-11-01 18:46:27 +08:00
  • 1ac6eed8af Rename the model. SkywalkerJi 2025-11-01 17:10:36 +08:00
  • 4d0e24feda Reordering system prompts. SkywalkerJi 2025-11-01 16:25:36 +08:00
  • 5b44a80b44 Merge pull request #177 from SkywalkerJi/dev Fixed the custom model URL. Added functionality for custom model names. tinkle-community 2025-11-01 16:13:37 +08:00
  • 2b72f97143 Merge branch 'tinkle-community:dev' into dev SkywalkerJi 2025-11-01 17:09:55 +09:00
  • 7542f9df49 * Fixed the custom model URL. * Added functionality for custom model names. SkywalkerJi 2025-11-01 16:09:15 +08:00
  • f6539eb750 新增内置AI评分 修改market/data.go Get函数获取K线为流式获取(可以解决传入币种比较多的情况下耗时问题) market目录下新增文件 main.go 新增运行入口 通过inside_coins=true控制 该评分默认初始化大约需要2分钟左右(因为币种列表比较多,api有限速) 使用时应该注意engine.go下的流动性过滤问题 yuanshi2016 2025-11-01 15:58:54 +08:00
  • a210fd068e Merge pull request #172 from SkywalkerJi/dev Eliminating Model Shorting Bias. tinkle-community 2025-11-01 14:55:26 +08:00
  • 631f7b6cfe Eliminating Model Shorting Bias. SkywalkerJi 2025-11-01 14:44:07 +08:00
  • c566110d64 merge main fix Conflict tinkle-community 2025-11-01 13:14:22 +08:00