@clonegod/ttd-core 3.1.47 → 3.1.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "3.1.47",
3
+ "version": "3.1.48",
4
4
  "description": "Common types and utilities for trading systems - use `npm run push` to publish",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types/index.d.ts CHANGED
@@ -943,6 +943,13 @@ export interface PostTradeType {
943
943
 
944
944
  /** 完整 OnTrade 记录:时间线 / 成交结果 / 盘口快照 / 偏差 — 给 UI 渲染时间线和滑点归因用 */
945
945
  ontrade?: OnTradeType
946
+
947
+ /**
948
+ * 降级模式标识:
949
+ * - false / undefined:完整数据(OnTrade 在)
950
+ * - true:仅 OrderMessage 在(trader 上报 OnTrade 前 crash),部分字段缺失
951
+ */
952
+ partial_replay?: boolean
946
953
  }
947
954
 
948
955
  export interface AnalyzeQuoteSnapshotType {