first commit

This commit is contained in:
dekun
2026-08-01 10:33:19 +08:00
commit d9a34d4f20
72 changed files with 5499 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
"""波动点数口径 v1:到期指数 − 时段代表指数。"""
from __future__ import annotations
MOVE_POINTS_FORMULA_VERSION = "1.0"
def move_points(settle_index_px: float, index_at_t: float) -> float:
"""signed 点数;绝对值由调用方取 abs。"""
return float(settle_index_px) - float(index_at_t)