dekun
b733e551a0
Normalize fullwidth punctuation to ASCII across codebase.
...
Add scripts/normalize_ambiguous_unicode.py; fix corrupted patch_instance_theme_templates.py. Preserves curly quotes in string literals; removes Git homoglyph warnings on .env.example.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 23:42:26 +08:00
dekun
5797d49d8a
refactor: 将共用代码迁入 lib/ 模块化目录
...
统一 strategy、key_monitor、trade、hub 等共用库到 lib/ 子包,并补充 lib-structure 文档,便于四所与中控维护。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-02 16:23:09 +08:00
dekun
5e507d0b66
Use hub exchange instances for calculator contract precision.
...
Load enabled instances from settings, fetch market info via /api/hub/market, and apply exchange-specific amount and price precision in trend and roll calculators.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-23 18:13:02 +08:00
dekun
d938bc6c59
Redesign roll calculator with auto first entry and chained add legs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-23 17:44:27 +08:00
dekun
253d353206
Add hub strategy calculator page with trend and roll risk-based sizing.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-23 17:35:06 +08:00