期货互换完整字段与约束目录
原能力
落实期货互换完整字段及约束目录,检查身份、币种、状态和原生摘要。(合同附件 R7 11.17)
首选项目
FINOS CDM(Community Specification License 1.0(CDM 规范及对应资产))。 FINOS CDM
匹配范围
交易产品结构与字段校验支持字段目录。
源码
FINOS CDM · type EconomicTerms:
rosetta-source/src/main/rosetta/product-template-type.rosetta · 31–44 行。 在 GitHub 查看规范模型 · 许可证与声明
上游配置与指引
type EconomicTerms: <" This class represents the full set of price-forming features associated with a contractual product: the payout component, the notional/quantity, the effective and termination date and the date adjustment provisions when applying uniformily across the payout components. This class also includes the legal provisions which have valuation implications: cancelable provision, extendible provision, early termination provision and extraordinary events specification.">
effectiveDate AdjustableOrRelativeDate (0..1) <"The first day of the terms of the trade. This day may be subject to adjustment in accordance with a business day convention.">
[docReference ICMA GMRA namingConvention "Purchase Date"
provision "As defined in GMRA paragraph 2(mm) The date on which Purchased Securities are sold or are to be sold by Seller to Buyer."]
[docReference ICMA ERCCBestPractice namingConvention "Purchase Date"
provision "ERCC Guide: Annex II Glossary of repo terminology. The term for the value date of a repo."]
effectiveTime DirectOrRelativeTime (0..1) <"The time and zone of the first day of the terms of the trade. It can also be specified in relation to another time.">
terminationDate AdjustableOrRelativeDate (0..1) <"The last day of the terms of the trade. This date may be subject to adjustments in accordance with the business day convention. It can also be specified in relation to another scheduled date (e.g. the last payment date).">
[docReference ICMA GMRA namingConvention "Repurchase Date"
provision "As defined in GMRA paragraph 2(qq) The date on which Buyer is to sell Equivalent Securities to Seller."]
[docReference ICMA ERCCBestPractice namingConvention "Repurchase Date"
provision "ERCC Guide: Annex II Glossary of repo terminology. The term for the maturity date of a repo."]
terminationTime DirectOrRelativeTime (0..1) <"The time and zone of the last day of the terms of the trade. It can also be specified in relation to another time.">
Pandera · def validate(
pandera/api/pandas/container.py · 127–140 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
def validate(
self,
check_obj: pd.DataFrame,
head: int | None = None,
tail: int | None = None,
sample: int | None = None,
random_state: int | None = None,
lazy: bool = False,
inplace: bool = False,
) -> pd.DataFrame:
"""Validate a DataFrame based on the schema specification.
:param pd.DataFrame check_obj: the dataframe to be validated.
:param head: validate the first n rows. Rows overlapping with `tail` or
实现与验收要点
按原字段定义、适用域、单位、来源和原摘要校验。