骆驼比特币 dekun
dekun pushed to main at dekun/qihuo 2026-07-01 07:02:40 +00:00
658982d2b9 Speed up CTP account display: refresh equity on fast snapshot without waiting for full position sync.
dekun pushed to main at dekun/qihuo 2026-07-01 06:47:28 +00:00
a34bcb6bfc Fix test_simnow.py imports for modules layout and config/.env.
dekun pushed to main at dekun/qihuo 2026-07-01 06:42:37 +00:00
e5a586f903 Restructure into modules/ with single-process CTP and config/ layout.
dekun pushed to main at dekun/qihuo 2026-07-01 06:06:45 +00:00
b354d6c701 Document Git-only deploy workflow and reduce positions page IPC blocking.
dekun pushed to main at dekun/qihuo 2026-07-01 05:34:01 +00:00
7748a88219 Fix positions page hang from blocking CTP IPC and SSE lock wait.
dekun pushed to main at dekun/qihuo 2026-07-01 05:27:48 +00:00
5aba31f530 Fix position SSE JSON serialization for datetime fields.
dekun pushed to main at dekun/qihuo 2026-07-01 04:57:30 +00:00
95156ca595 Update docs for CTP worker split and roll breakout off-session.
dekun pushed to main at dekun/qihuo 2026-07-01 04:38:01 +00:00
9cd81a3ea7 Isolate CTP in worker process and improve strategy roll UX.
dekun pushed to main at dekun/qihuo 2026-07-01 00:31:19 +00:00
08d55411aa Simplify account_risk_state DDL for PostgreSQL compatibility.
dekun pushed to main at dekun/qihuo 2026-07-01 00:29:48 +00:00
cd636ff1c3 Fix account_risk_state missing on PostgreSQL: probe table before cache skip.
dekun pushed to main at dekun/qihuo 2026-07-01 00:26:15 +00:00
d7ea7b9e8a Inline account_risk_state DDL in init_db; use autocommit for migration.
dekun pushed to main at dekun/qihuo 2026-07-01 00:25:10 +00:00
06fbff04a7 Ensure account_risk_state table exists even if schema flag was set.
dekun pushed to main at dekun/qihuo 2026-07-01 00:24:28 +00:00
ef790c8a80 Fix migration: per-table connections and skip non-serial setval.
dekun pushed to main at dekun/qihuo 2026-07-01 00:22:57 +00:00
6abe06d935 Ensure all PG tables on init; fix migration commits per table.
dekun pushed to main at dekun/qihuo 2026-07-01 00:22:24 +00:00
e418c2dcec Fix SQLite migration: no app import, commit per table.
dekun pushed to main at dekun/qihuo 2026-07-01 00:21:37 +00:00
1bb0028402 Import rollback_if_postgres in strategy_db for PostgreSQL migrations.
dekun pushed to main at dekun/qihuo 2026-07-01 00:20:52 +00:00
8e1baf9a73 Commit each schema migration separately on PostgreSQL.
dekun pushed to main at dekun/qihuo 2026-07-01 00:19:48 +00:00
47ee9602d1 Use direct PostgreSQL connections instead of pool to fix init deploy.
dekun pushed to main at dekun/qihuo 2026-07-01 00:17:31 +00:00
843b68b412 Stop PM2 before PostgreSQL init to free connection pool.
dekun pushed to main at dekun/qihuo 2026-07-01 00:15:34 +00:00
2347276bf4 Fix PostgreSQL schema init: commit DDL before ALTER migrations.