Commit Graph

  • 82d71ca642 feat: update navbar title and footer year master Eric0801 2025-12-13 16:42:01 +0800
  • 1ad01649f2 fix: add None check for strategy not found in result_view Eric0801 2025-10-23 11:02:17 +0800
  • 4956bdca5f fix: ensure plotly backend is set in result_view and custom routes Eric0801 2025-10-23 10:56:43 +0800
  • e75773733c fix: use role_map.get() to handle missing role keys safely Eric0801 2025-10-23 10:19:24 +0800
  • efbb22494e fix: improve load_assets error handling and logging Eric0801 2025-10-23 01:47:39 +0800
  • ca52a05f19 feat: add auto schema initialization to data_init scripts Eric0801 2025-10-22 17:43:18 +0800
  • 32ef5e1978 fix: use Railway PORT env var for dynamic port binding Eric0801 2025-10-22 16:50:08 +0800
  • 51fdceb163 perf: add .dockerignore to reduce Docker image size Eric0801 2025-10-22 15:25:53 +0800
  • d3dd4efc53 debug: add detailed logging for Flask initialization Eric0801 2025-10-22 14:32:25 +0800
  • b50b9ee92d fix: lazy load assets files to prevent startup failure Eric0801 2025-10-21 01:27:05 +0800
  • f076054d6a fix: use shell script for Railway startup Eric0801 2025-10-21 00:30:17 +0800
  • 4d45bca548 debug: check if assets files exist in container Eric0801 2025-10-21 00:24:22 +0800
  • e592b9893e feat: support Railway DATABASE_URL and REDIS_URL env vars Eric0801 2025-10-20 23:24:47 +0800
  • d43ea4c7b9 fix: use bridge network driver instead of external for Railway Eric0801 2025-10-19 21:02:04 +0800
  • 0eabfaa906 fix: use fixed port 8000 instead of $PORT variable Eric0801 2025-10-19 20:31:07 +0800
  • ca66ea71af fix: correct startCommand in railway.json Eric0801 2025-10-19 20:24:46 +0800
  • 9c613cf4b7 fix: use --chdir instead of cd in Procfile Eric0801 2025-10-19 20:08:05 +0800
  • dd3270675a fix: reduce gunicorn workers to 2 for Railway memory limit Eric0801 2025-10-19 17:36:26 +0800
  • 3193ca1daf Merge branch 'main' of https://github.com/Eric0801/TPM-v3 Eric0801 2025-10-19 16:57:56 +0800
  • f6f2eb7552 Initial commit Eric0801 2025-10-19 16:45:55 +0800
  • cbd580bb12 feat: V2 prompt system with benchmarks and CoT for Demo Day #1 data-init-fixes Eric0801 2025-10-19 16:42:12 +0800
  • 1c16cb4321 [UX] Remove accordion, restore detailed prompt, keep popover options Eric0801 2025-10-16 20:53:06 +0800
  • 14407e04d2 feat: improve LLM output styling and prompt structure Eric0801 2025-10-11 15:05:05 +0800
  • bfe88e4b80 docs: add README with setup, workflow, and guardrails; no code changes Eric0801 2025-10-10 18:29:06 +0800
  • 3290b69d72 docs: add cursor.md guardrails to prevent tech debt; no code changes Eric0801 2025-10-10 18:28:38 +0800
  • c35d0cd8aa Fix syntax error in test script\n\n- Corrected missing parenthesis in test_llm_service.py\n- All tests now pass successfully Eric0801 2025-09-25 22:02:08 +0800
  • 5a93aa5fb4 Fix unhashable type error in prompt templates\n\n- Fixed syntax error in prompts/investment_advice.py: {{}} -> {}\n- Cleaned up duplicate imports in llm_service.py\n- Removed unused lru_cache import\n- All prompt templates now work correctly\n- Demo script runs successfully Eric0801 2025-09-25 22:01:48 +0800
  • 45e9ea7ec2 Add LLM investment advice feature with OpenAI integration\n\n- Created llm_service.py with comprehensive LLM advisor\n- Added config_openai.py for API configuration\n- Created prompts/investment_advice.py with prompt templates\n- Updated requirements.txt with OpenAI dependency\n- Modified main.py with /api/llm_advice endpoint\n- Enhanced result_view.html with LLM advice section\n- Added CSS styling for better UI\n- Created LLM_SETUP.md setup guide\n- Added test_llm_service.py for testing\n- Implemented caching, retry logic, and error handling\n- Features: strategy analysis, risk assessment, market insights Eric0801 2025-09-25 21:59:00 +0800
  • fd39ea0287 Infra and data updates: fix Redis volume, expose DB, stabilize yfinance ingestion\n\n- docker-compose: use named volume for redis-data; keep common_network; Flask reachable on 8007\n- data_clear&update_us_v0.py: host=localhost; safe price_col; float cast; threads=False\n- data_clear&update_tw_v0.py: same fixes as US; robust insert values\n- update_data_daily.py: consistency fixes for yf.download and price column\n- requirements: align versions for stability\n- Re-initialized US/TW data to latest (2025-09-24) Eric0801 2025-09-24 15:06:53 +0800
  • 086961bed7 Update requirements.txt and finalize data initialization scripts Eric0801 2025-09-24 13:24:02 +0800
  • 9c6db84e15 Fix yfinance data download issues in data initialization scripts Eric0801 2025-09-24 11:55:20 +0800
  • a811f29f84 [tpm] fix data init and daily updater (yfinance cols, threads, paths, ports) Eric0801 2025-09-23 23:26:28 +0800
  • 4e3246e422 update new password setting joey0629 2024-10-13 21:59:48 +0800
  • 16e91ea39f update new volume joey0629 2024-10-07 18:16:47 +0800
  • 4c2896b7ec update numpy version joey0629 2024-10-04 10:51:14 +0800
  • b726730968 set db postgresql version as 15 joey0629 2024-10-04 10:20:17 +0800
  • f4c26f0518 fix data_init problem v2 joey0629 2024-10-04 01:05:33 +0800
  • 33ca3194da fix data_init problem joey0629 2024-10-04 00:42:22 +0800
  • e9cbf3b08b Update daily, fix database create bug josephwang 2024-06-07 18:03:48 +0800
  • e8ddb42cac Update daily, fix database create bug josephwang 2024-06-07 13:52:01 +0800
  • 8629ea6c7e add week Opt & everyday update stock price joey0629 2024-04-22 23:16:17 +0800
  • 38f1bf56e7 Merge branch 'master' of http://140.114.135.53:8081/lab/TPM joseph 2023-12-18 00:31:06 +0800
  • e943d6c918 change only backtesting>=1 joseph 2023-12-18 00:29:12 +0800
  • 51140376e7 update docker-compose Abay 2023-11-30 23:26:32 +0800
  • 221e2d124b update docker-compose.yml Abay 2023-11-30 22:31:01 +0800
  • 493dd6f89f add new class joseph 2023-11-29 21:24:02 +0800
  • cd49c5ec47 add update new class joseph 2023-11-09 10:51:22 +0800
  • 8cb0ea7b6d add effective user&strategy and strategy result show time interval to second joseph 2023-11-09 10:43:50 +0800
  • 7068b546bd fix werkzeug missing bugs joseph 2023-10-02 09:52:54 +0800
  • 603abc0f09 add new assets list and add competitions joseph 2023-09-25 22:46:22 +0800
  • 42542d5626 comment port number modify docker version joseph 2023-09-17 21:47:08 +0800
  • 289e6410bb data_clear_and_update.py added joseph 2023-08-10 13:46:47 +0800
  • 412ffce2b4 comment pgadmin and create data_init joseph 2023-07-28 01:47:52 +0800
  • 645fb069fd 20230721 Finished auto deploy joseph 2023-07-21 01:58:39 +0800
  • 9e7c4c973b init joseph 2023-07-11 10:25:31 +0800