Rename options UI label from 距平衡 to 平衡价差.

Clarifies the column shows strike-to-expiry-breakeven spread, not index distance.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-23 08:23:20 +08:00
parent af3bc5f62a
commit 1a5d565b03
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ def idx_distance_to_be(idx_px: float | None, be_px: float | None) -> float | Non
def strike_distance_to_be(strike: float | None, be_px: float | None) -> float | None:
"""行权价与到期平衡的价差(平衡价 - 行权价).链上「平衡」列用此值."""
"""行权价与到期平衡的价差(平衡价 - 行权价).链上「平衡价差」列用此值."""
if strike is None or be_px is None:
return None
return round(float(be_px) - float(strike), 2)