Gate one-open-per-expiry by historical expiry_ymd across days.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -302,7 +302,7 @@ export default function PlanPage() {
|
||||
{fmt(plan?.min_option_leverage, 0)}x · {atmRule}
|
||||
{plan?.skip_weekends ? " · 周末跳过开仓" : ""}
|
||||
{plan?.one_expiry_per_day !== false
|
||||
? " · 同到期日一天只开一次"
|
||||
? " · 每个到期只开一次"
|
||||
: ""}
|
||||
</p>
|
||||
<p>
|
||||
@@ -313,7 +313,7 @@ export default function PlanPage() {
|
||||
<span className="plan-rules-k">节奏</span>
|
||||
组间休息 {plan?.rest_seconds ?? "—"}s · 可开判定看交易账户
|
||||
{plan?.one_expiry_per_day !== false
|
||||
? " · 同到期平仓后改开下一到期"
|
||||
? " · 同到期用过后改开下一到期"
|
||||
: ""}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -1230,7 +1230,7 @@ export default function SettingsPage() {
|
||||
</div>
|
||||
<div className="field">
|
||||
<label htmlFor="oneExpDay">
|
||||
同到期日一天只开一次(节奏)
|
||||
每个到期只开一次(跨日)
|
||||
</label>
|
||||
<select
|
||||
id="oneExpDay"
|
||||
@@ -1244,7 +1244,7 @@ export default function SettingsPage() {
|
||||
<option value="0">关闭</option>
|
||||
</select>
|
||||
<p className="hint" style={{ margin: "0.35rem 0 0" }}>
|
||||
开启后:当日已开过某到期日(如 0802)并平仓后,不能再开同到期,只能开下一到期(如 0803)。
|
||||
开启后:历史上已开过某到期日(如 0803)后,不论今天还是明天都不能再开同到期,只能监控/开下一到期(如 0804)。
|
||||
</p>
|
||||
</div>
|
||||
<div className="field">
|
||||
|
||||
Reference in New Issue
Block a user