Count expiry settlements as martingale losses.

Even small-profit expiry closes count toward consecutive loss days; only non-expiry profitable days break the streak.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-07 15:08:44 +08:00
parent 930e6c26c5
commit 04e5c11027
3 changed files with 66 additions and 5 deletions
+1 -1
View File
@@ -816,7 +816,7 @@ export default function SettingsPage() {
<p className="hint" style={{ margin: "0.35rem 0 0" }}>
{riskLossPct > 3
? "亏损幅度超过 3% 时不可启用倍投。"
: "连续亏损日达阈值后,按基础幅度翻倍(不改保存的幅度值)。最多可设翻倍次数。"}
: "连续亏损日达阈值后翻倍。到期结算无论盈亏(含小盈利)都按亏损日计;达标平仓盈利才打断连亏。"}
</p>
</div>
{martingaleOn && riskLossPct <= 3 ? (