和顺 / 衡律 返回所属 Agent
21.8

资本基础设施与资产权利适配

原能力

逐供应商、操作和账户适配资本及权利端点,保留外部状态和更正链。(合同附件 R7 21.8)

首选项目

FINOS CDM(Community Specification License 1.0(CDM 规范及对应资产))。 FINOS CDM

匹配范围

产品/生命周期模型与 FIX 接口部件。

源码

FINOS CDM · type BusinessEvent extends

rosetta-source/src/main/rosetta/event-common-type.rosetta · 60–73 行。 在 GitHub 查看规范模型 · 许可证与声明

上游配置与指引
type BusinessEvent extends EventInstruction: <"A business event represents a life cycle event of a trade. The combination of the state changes results in a qualifiable life cycle event. An example of a Business Event is a PartialTermination which is a defined by a quantity change primitive event.">
    [metadata key]
    [rootType]

    eventQualifier string (0..1) <"The CDM event qualifier, which corresponds to the outcome of the isEvent qualification logic which qualifies the lifecycle event as a function of its features (e.g. PartialTermination, ClearingSubmission, Novation, ...).">
    after TradeState (0..*) <"Specifies the after trade state(s) created.">

    condition EventDate:
        eventDate exists

type AgreementEvent extends AgreementEventInstruction: <"An agreement event represents a life cycle event of a legal document. The combination of legal term amendments, contracting party changes or agreement status changes that are represented by an amendment agreement that includes a change to the overall Legal agreement representation through a change in contractual parties or terms.">
    [metadata key]
    [rootType]

QuickFIX C++ · void Session::next(const std::string &msg

src/C++/Session.cpp · 1170–1183 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
void Session::next(const std::string &msg, const UtcTimeStamp &now, bool queued) {
  try {
    m_state.onIncoming(msg);
    const DataDictionary &sessionDD = m_dataDictionaryProvider.getSessionDataDictionary(m_sessionID.getBeginString());
    if (m_sessionID.isFIXT()) {
      const DataDictionary &applicationDD
          = m_dataDictionaryProvider.getApplicationDataDictionary(m_senderDefaultApplVerID);
      next(Message(msg, sessionDD, applicationDD, m_validateLengthAndChecksum), now, queued);
    } else {
      next(Message(msg, sessionDD, m_validateLengthAndChecksum), now, queued);
    }
  } catch (InvalidMessage &e) {
    m_state.onEvent(e.what());
  • ** Copyright (c) 2001-2014

实现与验收要点

资本、权利端点真实接入、授权及权威结果。