2

TradeCaptureReportFIX メッセージを作成する必要があります。作成しようとするまで、これを行う方法は明らかでしたParties

...
<RptSide Ccy="USD" ... >
    <Pty Src="D" ID="1111" R="11">
        <Sub ID="AA" Typ="4010"/>
        <Sub ID="AA" Typ="4013"/>
    </Pty>
    <Pty Src="D" ID="1360" R="1"/>
</RptSide>

RptSide/Pty          - 453
RptSide/Pty/@ID      - 448
RptSide/Pty/@Src     - 447
RptSide/Pty/@R       - 452

RptSide/Pty/Sub      - 802
RptSide/Pty/Sub/@ID  - 523
RptSide/Pty/Sub/@Typ - 803

final TradeCaptureReport tradeCaptureReport = new TradeCaptureReport();
...
final Instrument instrument = new Instrument();
tradeCaptureReport.set(instrument);
...
 // (552) RptSide/*
TradeCaptureReport.NoSides rptSide = new TradeCaptureReport.NoSides();
tradeCaptureReport.addGroup(rptSide);

// (15) RptSide/@Ccy (Currency)
rptSide.set(new Currency("USD"));
...

// (453) RptSide/Pty/*:
Parties parties = new Parties();
rptSide.setGroups(parties);


// (802) RptSide/Pty/Sub/* (NoPartySubIDs)
NoPartySubIDs sub = new NoPartySubIDs();

// (523) RptSide/Pty/Sub/@ID (PartySubID)
PartySubID subID1 = new PartySubID("AA");
PartySubID subID2 = new PartySubID("AA");

// (803) RptSide/Pty/Sub/@Typ (PartySubIDType)
PartySubIDType subIdTyp1 = new PartySubIDType(4010);
PartySubIDType subIdTyp2 = new PartySubIDType(4013);

誰かがJavaコードサンプルを作成してリンクする方法を教えてもらえますかRptSide (803)?

4

1 に答える 1