Commit Graph

3 Commits

Author SHA1 Message Date
dekun 16d90814a1 Fix empty recommend list when CTP ticks unavailable off-hours.
Fall back to daily prev_close for margin estimates; keep previous cache when refresh gets all no_price; stop re-fetching only for missing turnover.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 06:43:20 +08:00
dekun 125cc60a3d Fix positions 500 when recommend row lacks turnover field.
Use Jinja defined check in trade template and always set turnover key (or null) when enriching recommend rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 06:34:12 +08:00
dekun e5a586f903 Restructure into modules/ with single-process CTP and config/ layout.
Move business code under modules/, env template to config/, PM2 single qihuo process, and _legacy shims for old imports.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 14:42:16 +08:00