diff --git a/application/firstrade_fee_schedule.py b/application/firstrade_fee_schedule.py index ba483a38..3fe63781 100644 --- a/application/firstrade_fee_schedule.py +++ b/application/firstrade_fee_schedule.py @@ -43,7 +43,7 @@ class FeeScheduleError(ValueError): "schema_version": "firstrade_fee_schedule.v1", # Last trade date for which every rate below was verified against the # published sources. Later trade dates are unsupported (fail closed). - "verified_through": "2026-11-01", + "verified_through": "2026-12-01", # Matched case-insensitively against the transaction description. "broker_assisted_markers": ["BROKER/DEALER ORDER"], "broker_assisted_fee": [ diff --git a/docs/statement-reconciliation.md b/docs/statement-reconciliation.md index d20f0624..d3b8ea11 100644 --- a/docs/statement-reconciliation.md +++ b/docs/statement-reconciliation.md @@ -44,7 +44,7 @@ by two years: `0.000232` / `$11.61` from 2029-01-01, `0.000240` / `$12.05` from SEC or FINRA publish a new rate; `load_fee_schedule()` validates ordering and values. -`verified_through` (currently `2026-11-01`) is the last trade date the rates +`verified_through` (currently `2026-12-01`) is the last trade date the rates were checked against the published sources. Trade dates after it are `unsupported` (`..._not_verified_after_`), because the SEC fiscal year 2027 Section 31 rate has not been published (the FY2026 rate stays in effect diff --git a/docs/statement-reconciliation.zh-CN.md b/docs/statement-reconciliation.zh-CN.md index b727e4a3..1edb6048 100644 --- a/docs/statement-reconciliation.zh-CN.md +++ b/docs/statement-reconciliation.zh-CN.md @@ -21,7 +21,7 @@ 费率以带生效日期的分段形式放在 `application/firstrade_fee_schedule.py`(SEC 自 2025-05-14 起 `0.00`,自 2026-04-04 起每百万 `20.60`)。TAF(普通股/ETF)2026 年每股 `0.000195`(单笔上限 `$9.79`),2026-10-01 至 2026-12-31 暂停(SR-FINRA-2026-021);因 SR-FINRA-2026-020 将剩余涨幅推迟两年,2027、2028 年仍为 `0.000195` / `$9.79`,2029-01-01 起 `0.000232` / `$11.61`,2030-01-01 起 `0.000240` / `$12.05`,2031-01-01 起 `0.000249` / `$12.50`。SEC 或 FINRA 发布新费率时更新分段;`load_fee_schedule()` 会校验顺序和取值。 -`verified_through`(当前 `2026-11-01`)是费率最后一次对照公开来源核实的交易日。之后的交易日为 `unsupported`(`..._not_verified_after_<日期>`):SEC 2027 财年 Section 31 费率尚未公布(FY2026 费率在 2027 财年拨款法案生效后 60 天内继续有效),上述 FINRA 备案虽即时生效但仍可能被 SEC 暂停。更新来源核实时需在同一变更中推进 `verified_through`。 +`verified_through`(当前 `2026-12-01`)是费率最后一次对照公开来源核实的交易日。之后的交易日为 `unsupported`(`..._not_verified_after_<日期>`):SEC 2027 财年 Section 31 费率尚未公布(FY2026 费率在 2027 财年拨款法案生效后 60 天内继续有效),上述 FINRA 备案虽即时生效但仍可能被 SEC 暂停。更新来源核实时需在同一变更中推进 `verified_through`。 ## 估值口径差异 diff --git a/tests/test_statement_reconciliation.py b/tests/test_statement_reconciliation.py index 474441a3..53e62408 100644 --- a/tests/test_statement_reconciliation.py +++ b/tests/test_statement_reconciliation.py @@ -112,16 +112,16 @@ def test_taf_increase_is_deferred_to_2029_by_sr_finra_2026_020(): def test_dates_after_verified_through_are_unsupported(): schedule = load_fee_schedule() - assert schedule.verified_through == date(2026, 11, 1) - assert schedule.sec_rate_on(date(2026, 11, 1)) == Decimal("20.60") + assert schedule.verified_through == date(2026, 12, 1) + assert schedule.sec_rate_on(date(2026, 12, 1)) == Decimal("20.60") for lookup in (schedule.sec_rate_on, schedule.taf_on, schedule.broker_assisted_fee_on): - with pytest.raises(FeeScheduleError, match="not_verified_after_2026-11-01"): - lookup(date(2026, 11, 2)) + with pytest.raises(FeeScheduleError, match="not_verified_after_2026-12-01"): + lookup(date(2026, 12, 2)) # SEC FY2027 Section 31 rate is not published: a later sale must not borrow FY2026's. - late = decompose_sell_fees(sell_on("2026-11-02")) + late = decompose_sell_fees(sell_on("2026-12-02")) assert late["status"] == "unsupported" - assert "not_verified_after_2026-11-01" in late["reason"] - assert decompose_sell_fees(sell_on("2026-11-01"))["status"] != "unsupported" + assert "not_verified_after_2026-12-01" in late["reason"] + assert decompose_sell_fees(sell_on("2026-12-01"))["status"] != "unsupported" def test_verified_through_is_required_and_must_be_a_date():