From ea867680e29db1c023d02840971114368c8f3f87 Mon Sep 17 00:00:00 2001 From: Chris Busbey Date: Sun, 13 Mar 2016 15:03:05 -0700 Subject: [PATCH] support for optional components, component setters --- _gen/helpers.go | 35 +- datadictionary/build.go | 16 +- fix43/advertisement/Advertisement.go | 35 +- fix43/allocation/Allocation.go | 128 +++--- fix43/allocationack/AllocationAck.go | 23 +- fix43/bidresponse/BidResponse.go | 31 +- .../CrossOrderCancelReplaceRequest.go | 184 ++++---- .../CrossOrderCancelRequest.go | 47 +- .../DerivativeSecurityList.go | 39 +- .../DerivativeSecurityListRequest.go | 11 +- fix43/dontknowtrade/DontKnowTrade.go | 24 +- fix43/email/Email.go | 6 +- fix43/executionreport/ExecutionReport.go | 275 ++++++------ fix43/ioi/IOI.go | 12 +- fix43/liststrikeprice/ListStrikePrice.go | 21 +- .../MarketDataIncrementalRefresh.go | 89 ++-- fix43/marketdatarequest/MarketDataRequest.go | 4 +- .../MarketDataSnapshotFullRefresh.go | 19 +- fix43/massquote/MassQuote.go | 67 +-- .../MassQuoteAcknowledgement.go | 69 +-- .../MultilegOrderCancelReplaceRequest.go | 164 +++---- fix43/newordercross/NewOrderCross.go | 176 ++++---- fix43/neworderlist/NewOrderList.go | 174 +++---- fix43/newordermultileg/NewOrderMultileg.go | 158 +++---- fix43/newordersingle/NewOrderSingle.go | 174 +++---- fix43/news/News.go | 6 +- .../OrderCancelReplaceRequest.go | 169 +++---- .../ordercancelrequest/OrderCancelRequest.go | 41 +- .../OrderMassCancelReport.go | 22 +- .../OrderMassCancelRequest.go | 32 +- .../OrderMassStatusRequest.go | 29 +- .../orderstatusrequest/OrderStatusRequest.go | 20 +- fix43/quote/Quote.go | 96 ++-- fix43/quotecancel/QuoteCancel.go | 11 +- fix43/quoterequest/QuoteRequest.go | 62 +-- .../quoterequestreject/QuoteRequestReject.go | 62 +-- fix43/quotestatusreport/QuoteStatusReport.go | 90 ++-- .../quotestatusrequest/QuoteStatusRequest.go | 22 +- .../RegistrationInstructions.go | 24 +- .../RegistrationInstructionsResponse.go | 5 +- fix43/rfqrequest/RFQRequest.go | 13 +- .../securitydefinition/SecurityDefinition.go | 36 +- .../SecurityDefinitionRequest.go | 32 +- fix43/securitylist/SecurityList.go | 30 +- .../SecurityListRequest.go | 23 +- fix43/securitystatus/SecurityStatus.go | 45 +- .../SecurityStatusRequest.go | 13 +- .../SettlementInstructions.go | 5 +- .../tradecapturereport/TradeCaptureReport.go | 60 +-- .../TradeCaptureReportRequest.go | 38 +- fix44/advertisement/Advertisement.go | 55 ++- .../AllocationInstruction.go | 201 +++++---- .../AllocationInstructionAck.go | 5 +- fix44/allocationreport/AllocationReport.go | 209 +++++---- .../AllocationReportAck.go | 5 +- fix44/assignmentreport/AssignmentReport.go | 76 ++-- fix44/bidresponse/BidResponse.go | 31 +- .../CollateralAssignment.go | 132 +++--- fix44/collateralinquiry/CollateralInquiry.go | 127 +++--- .../CollateralInquiryAck.go | 87 ++-- fix44/collateralreport/CollateralReport.go | 129 +++--- fix44/collateralrequest/CollateralRequest.go | 119 ++--- .../collateralresponse/CollateralResponse.go | 117 ++--- fix44/confirmation/Confirmation.go | 151 ++++--- .../ConfirmationRequest.go | 21 +- .../CrossOrderCancelReplaceRequest.go | 220 ++++----- .../CrossOrderCancelRequest.go | 67 +-- .../DerivativeSecurityList.go | 35 +- .../DerivativeSecurityListRequest.go | 11 +- fix44/dontknowtrade/DontKnowTrade.go | 44 +- fix44/email/Email.go | 20 +- fix44/executionreport/ExecutionReport.go | 349 +++++++------- fix44/ioi/IOI.go | 92 ++-- fix44/liststrikeprice/ListStrikePrice.go | 11 +- .../MarketDataIncrementalRefresh.go | 103 +++-- fix44/marketdatarequest/MarketDataRequest.go | 17 +- .../MarketDataSnapshotFullRefresh.go | 35 +- fix44/massquote/MassQuote.go | 75 ++-- .../MassQuoteAcknowledgement.go | 77 ++-- .../MultilegOrderCancelReplace.go | 235 +++++----- fix44/newordercross/NewOrderCross.go | 212 +++++---- fix44/neworderlist/NewOrderList.go | 200 +++++---- fix44/newordermultileg/NewOrderMultileg.go | 229 +++++----- fix44/newordersingle/NewOrderSingle.go | 205 +++++---- fix44/news/News.go | 20 +- .../OrderCancelReplaceRequest.go | 200 +++++---- .../ordercancelrequest/OrderCancelRequest.go | 58 +-- .../OrderMassCancelReport.go | 22 +- .../OrderMassCancelRequest.go | 32 +- .../OrderMassStatusRequest.go | 31 +- .../orderstatusrequest/OrderStatusRequest.go | 39 +- .../PositionMaintenanceReport.go | 40 +- .../PositionMaintenanceRequest.go | 23 +- fix44/positionqty/PositionQty.go | 4 +- fix44/positionreport/PositionReport.go | 77 ++-- fix44/quote/Quote.go | 183 ++++---- fix44/quotecancel/QuoteCancel.go | 31 +- fix44/quoterequest/QuoteRequest.go | 129 +++--- .../quoterequestreject/QuoteRequestReject.go | 127 +++--- fix44/quoteresponse/QuoteResponse.go | 187 ++++---- fix44/quotestatusreport/QuoteStatusReport.go | 174 +++---- .../quotestatusrequest/QuoteStatusRequest.go | 47 +- .../RegistrationInstructions.go | 24 +- .../RegistrationInstructionsResponse.go | 5 +- .../RequestForPositions.go | 22 +- .../RequestForPositionsAck.go | 56 ++- fix44/rfqrequest/RFQRequest.go | 31 +- .../securitydefinition/SecurityDefinition.go | 32 +- .../SecurityDefinitionRequest.go | 30 +- fix44/securitylist/SecurityList.go | 71 +-- .../SecurityListRequest.go | 53 ++- fix44/securitystatus/SecurityStatus.go | 26 +- .../SecurityStatusRequest.go | 26 +- .../SettlementInstructionRequest.go | 5 +- .../SettlementInstructions.go | 30 +- .../SettlInstructionsData.go | 4 +- .../tradecapturereport/TradeCaptureReport.go | 202 +++++---- .../TradeCaptureReportAck.go | 126 +++--- .../TradeCaptureReportRequest.go | 100 +++-- .../TradeCaptureReportRequestAck.go | 45 +- .../UnderlyingInstrument.go | 7 +- .../AdjustedPositionReport.go | 25 +- fix50/advertisement/Advertisement.go | 47 +- fix50/allocackgrp/AllocAckGrp.go | 4 +- .../AllocationInstruction.go | 189 ++++---- .../AllocationInstructionAck.go | 38 +- .../AllocationInstructionAlert.go | 189 ++++---- fix50/allocationreport/AllocationReport.go | 199 ++++---- .../AllocationReportAck.go | 48 +- fix50/allocgrp/AllocGrp.go | 20 +- fix50/assignmentreport/AssignmentReport.go | 42 +- fix50/bidcomprspgrp/BidCompRspGrp.go | 2 +- fix50/bidrequest/BidRequest.go | 64 +-- fix50/bidresponse/BidResponse.go | 7 +- .../CollateralAssignment.go | 136 +++--- fix50/collateralinquiry/CollateralInquiry.go | 128 +++--- .../CollateralInquiryAck.go | 88 ++-- fix50/collateralreport/CollateralReport.go | 136 +++--- fix50/collateralrequest/CollateralRequest.go | 123 ++--- .../collateralresponse/CollateralResponse.go | 127 +++--- fix50/confirmation/Confirmation.go | 125 +++--- .../ConfirmationRequest.go | 29 +- .../ContraryIntentionReport.go | 30 +- .../CrossOrderCancelReplaceRequest.go | 150 ++++--- .../CrossOrderCancelRequest.go | 27 +- .../DerivativeSecurityList.go | 18 +- .../DerivativeSecurityListRequest.go | 11 +- fix50/dlvyinstgrp/DlvyInstGrp.go | 4 +- fix50/dontknowtrade/DontKnowTrade.go | 36 +- fix50/email/Email.go | 43 +- .../ExecutionAcknowledgement.go | 48 +- fix50/executionreport/ExecutionReport.go | 385 ++++++++-------- fix50/instrmtgrp/InstrmtGrp.go | 4 +- fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go | 12 +- fix50/instrmtleggrp/InstrmtLegGrp.go | 4 +- fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go | 8 +- .../InstrmtLegSecListGrp.go | 12 +- fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go | 10 +- fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 2 +- fix50/instrument/Instrument.go | 119 ++--- .../InstrumentExtension.go | 9 +- fix50/instrumentleg/InstrumentLeg.go | 91 ++-- fix50/instrumentparties/InstrumentParties.go | 4 +- fix50/ioi/IOI.go | 89 ++-- fix50/legordgrp/LegOrdGrp.go | 16 +- fix50/legpreallocgrp/LegPreAllocGrp.go | 4 +- fix50/legquotgrp/LegQuotGrp.go | 16 +- fix50/legquotstatgrp/LegQuotStatGrp.go | 12 +- fix50/listcancelrequest/ListCancelRequest.go | 5 +- fix50/listordgrp/ListOrdGrp.go | 56 +-- fix50/liststatus/ListStatus.go | 25 +- fix50/liststrikeprice/ListStrikePrice.go | 16 +- .../MarketDataIncrementalRefresh.go | 20 +- fix50/marketdatarequest/MarketDataRequest.go | 33 +- .../MarketDataRequestReject.go | 15 +- .../MarketDataSnapshotFullRefresh.go | 43 +- fix50/massquote/MassQuote.go | 26 +- .../MassQuoteAcknowledgement.go | 34 +- fix50/mdfullgrp/MDFullGrp.go | 4 +- fix50/mdincgrp/MDIncGrp.go | 16 +- .../MultilegOrderCancelReplace.go | 191 ++++---- fix50/nestedparties/NestedParties.go | 4 +- fix50/nestedparties2/NestedParties2.go | 4 +- fix50/nestedparties3/NestedParties3.go | 4 +- .../NetworkCounterpartySystemStatusRequest.go | 9 +- ...NetworkCounterpartySystemStatusResponse.go | 11 +- fix50/newordercross/NewOrderCross.go | 144 +++--- fix50/neworderlist/NewOrderList.go | 44 +- fix50/newordermultileg/NewOrderMultileg.go | 191 ++++---- fix50/newordersingle/NewOrderSingle.go | 227 +++++----- fix50/news/News.go | 39 +- fix50/ordallocgrp/OrdAllocGrp.go | 4 +- .../OrderCancelReplaceRequest.go | 232 +++++----- .../ordercancelrequest/OrderCancelRequest.go | 53 ++- .../OrderMassCancelReport.go | 52 ++- .../OrderMassCancelRequest.go | 37 +- .../OrderMassStatusRequest.go | 31 +- .../orderstatusrequest/OrderStatusRequest.go | 34 +- fix50/parties/Parties.go | 4 +- .../PositionMaintenanceReport.go | 63 +-- .../PositionMaintenanceRequest.go | 73 +-- fix50/positionqty/PositionQty.go | 4 +- fix50/positionreport/PositionReport.go | 82 ++-- fix50/posundinstrmtgrp/PosUndInstrmtGrp.go | 8 +- fix50/preallocgrp/PreAllocGrp.go | 4 +- fix50/preallocmleggrp/PreAllocMlegGrp.go | 4 +- fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go | 16 +- fix50/quote/Quote.go | 154 ++++--- fix50/quotecancel/QuoteCancel.go | 12 +- fix50/quotentryackgrp/QuotEntryAckGrp.go | 8 +- fix50/quotentrygrp/QuotEntryGrp.go | 8 +- fix50/quoterequest/QuoteRequest.go | 17 +- .../quoterequestreject/QuoteRequestReject.go | 15 +- fix50/quoteresponse/QuoteResponse.go | 154 ++++--- fix50/quotestatusreport/QuoteStatusReport.go | 154 ++++--- .../quotestatusrequest/QuoteStatusRequest.go | 39 +- fix50/quotreqgrp/QuotReqGrp.go | 38 +- fix50/quotreqlegsgrp/QuotReqLegsGrp.go | 16 +- fix50/quotreqrjctgrp/QuotReqRjctGrp.go | 38 +- fix50/quotsetackgrp/QuotSetAckGrp.go | 8 +- fix50/quotsetgrp/QuotSetGrp.go | 6 +- .../RegistrationInstructions.go | 33 +- .../RegistrationInstructionsResponse.go | 5 +- fix50/relsymderivsecgrp/RelSymDerivSecGrp.go | 12 +- .../RequestForPositions.go | 59 +-- .../RequestForPositionsAck.go | 62 +-- fix50/rfqreqgrp/RFQReqGrp.go | 10 +- fix50/rfqrequest/RFQRequest.go | 3 +- fix50/rgstdtlsgrp/RgstDtlsGrp.go | 4 +- fix50/rootparties/RootParties.go | 4 +- fix50/seclistgrp/SecListGrp.go | 32 +- .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 32 +- .../SecLstUpdRelSymsLegGrp.go | 12 +- .../securitydefinition/SecurityDefinition.go | 28 +- .../SecurityDefinitionRequest.go | 40 +- .../SecurityDefinitionUpdateReport.go | 49 +- fix50/securitylist/SecurityList.go | 19 +- .../SecurityListRequest.go | 45 +- .../SecurityListUpdateReport.go | 7 +- fix50/securitystatus/SecurityStatus.go | 64 +-- .../SecurityStatusRequest.go | 30 +- fix50/securitytypes/SecurityTypes.go | 27 +- .../SettlementInstructionRequest.go | 5 +- .../SettlementInstructions.go | 23 +- fix50/settlinstgrp/SettlInstGrp.go | 8 +- .../SettlInstructionsData.go | 13 +- fix50/settlparties/SettlParties.go | 4 +- .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 6 +- .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 14 +- .../tradecapturereport/TradeCaptureReport.go | 197 ++++---- .../TradeCaptureReportAck.go | 179 ++++---- .../TradeCaptureReportRequest.go | 107 +++-- .../TradeCaptureReportRequestAck.go | 47 +- .../tradingsessionlist/TradingSessionList.go | 5 +- .../TradingSessionStatus.go | 39 +- fix50/trdallocgrp/TrdAllocGrp.go | 4 +- .../TrdCapRptAckSideGrp.go | 32 +- fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go | 32 +- fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 12 +- .../UnderlyingInstrument.go | 23 +- fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go | 4 +- fix50/undinstrmtgrp/UndInstrmtGrp.go | 4 +- .../UndInstrmtStrkPxGrp.go | 4 +- .../UndlyInstrumentParties.go | 4 +- .../AdjustedPositionReport.go | 25 +- fix50sp1/advertisement/Advertisement.go | 47 +- fix50sp1/allocackgrp/AllocAckGrp.go | 4 +- .../AllocationInstruction.go | 189 ++++---- .../AllocationInstructionAck.go | 38 +- .../AllocationInstructionAlert.go | 189 ++++---- fix50sp1/allocationreport/AllocationReport.go | 199 ++++---- .../AllocationReportAck.go | 48 +- fix50sp1/allocgrp/AllocGrp.go | 20 +- .../ApplicationMessageReport.go | 15 +- .../ApplicationMessageRequest.go | 15 +- .../ApplicationMessageRequestAck.go | 13 +- fix50sp1/assignmentreport/AssignmentReport.go | 49 +- fix50sp1/basetradingrules/BaseTradingRules.go | 35 +- fix50sp1/bidcomprspgrp/BidCompRspGrp.go | 2 +- fix50sp1/bidrequest/BidRequest.go | 64 +-- fix50sp1/bidresponse/BidResponse.go | 7 +- .../CollateralAssignment.go | 136 +++--- .../collateralinquiry/CollateralInquiry.go | 128 +++--- .../CollateralInquiryAck.go | 88 ++-- fix50sp1/collateralreport/CollateralReport.go | 136 +++--- .../collateralrequest/CollateralRequest.go | 123 ++--- .../collateralresponse/CollateralResponse.go | 127 +++--- fix50sp1/confirmation/Confirmation.go | 125 +++--- .../ConfirmationRequest.go | 29 +- .../ContraryIntentionReport.go | 37 +- .../CrossOrderCancelReplaceRequest.go | 150 ++++--- .../CrossOrderCancelRequest.go | 27 +- .../DerivativeInstrument.go | 28 +- .../DerivativeInstrumentParties.go | 4 +- .../DerivativeSecurityDefinition.go | 22 +- .../DerivativeSecurityList.go | 32 +- .../DerivativeSecurityListRequest.go | 18 +- .../DerivativeSecurityListUpdateReport.go | 32 +- fix50sp1/dlvyinstgrp/DlvyInstGrp.go | 4 +- fix50sp1/dontknowtrade/DontKnowTrade.go | 36 +- fix50sp1/email/Email.go | 43 +- .../ExecutionAcknowledgement.go | 48 +- fix50sp1/executionreport/ExecutionReport.go | 420 +++++++++-------- fix50sp1/fillsgrp/FillsGrp.go | 4 +- fix50sp1/instrmtgrp/InstrmtGrp.go | 4 +- .../instrmtlegexecgrp/InstrmtLegExecGrp.go | 16 +- fix50sp1/instrmtleggrp/InstrmtLegGrp.go | 4 +- fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go | 8 +- .../InstrmtLegSecListGrp.go | 12 +- fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go | 10 +- fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 6 +- fix50sp1/instrument/Instrument.go | 154 ++++--- .../InstrumentExtension.go | 9 +- fix50sp1/instrumentleg/InstrumentLeg.go | 107 ++--- .../instrumentparties/InstrumentParties.go | 4 +- fix50sp1/ioi/IOI.go | 96 ++-- fix50sp1/legordgrp/LegOrdGrp.go | 16 +- fix50sp1/legpreallocgrp/LegPreAllocGrp.go | 4 +- fix50sp1/legquotgrp/LegQuotGrp.go | 16 +- fix50sp1/legquotstatgrp/LegQuotStatGrp.go | 12 +- .../listcancelrequest/ListCancelRequest.go | 5 +- fix50sp1/listordgrp/ListOrdGrp.go | 56 +-- fix50sp1/liststatus/ListStatus.go | 29 +- fix50sp1/liststrikeprice/ListStrikePrice.go | 9 +- .../MarketDataIncrementalRefresh.go | 27 +- .../marketdatarequest/MarketDataRequest.go | 38 +- .../MarketDataRequestReject.go | 20 +- .../MarketDataSnapshotFullRefresh.go | 58 +-- fix50sp1/marketdefinition/MarketDefinition.go | 53 ++- .../MarketDefinitionUpdateReport.go | 55 ++- fix50sp1/marketsegmentgrp/MarketSegmentGrp.go | 8 +- fix50sp1/massquote/MassQuote.go | 26 +- .../MassQuoteAcknowledgement.go | 36 +- fix50sp1/mdfullgrp/MDFullGrp.go | 16 +- fix50sp1/mdincgrp/MDIncGrp.go | 32 +- .../MultilegOrderCancelReplace.go | 201 +++++---- fix50sp1/nestedparties/NestedParties.go | 4 +- fix50sp1/nestedparties2/NestedParties2.go | 4 +- fix50sp1/nestedparties3/NestedParties3.go | 4 +- fix50sp1/nestedparties4/NestedParties4.go | 4 +- .../NetworkCounterpartySystemStatusRequest.go | 9 +- ...NetworkCounterpartySystemStatusResponse.go | 11 +- fix50sp1/newordercross/NewOrderCross.go | 144 +++--- fix50sp1/neworderlist/NewOrderList.go | 46 +- fix50sp1/newordermultileg/NewOrderMultileg.go | 201 +++++---- fix50sp1/newordersingle/NewOrderSingle.go | 227 +++++----- fix50sp1/news/News.go | 46 +- fix50sp1/ordallocgrp/OrdAllocGrp.go | 4 +- .../OrderCancelReplaceRequest.go | 232 +++++----- .../ordercancelrequest/OrderCancelRequest.go | 53 ++- .../OrderMassActionReport.go | 63 +-- .../OrderMassActionRequest.go | 43 +- .../OrderMassCancelReport.go | 65 +-- .../OrderMassCancelRequest.go | 41 +- .../OrderMassStatusRequest.go | 31 +- .../orderstatusrequest/OrderStatusRequest.go | 34 +- fix50sp1/parties/Parties.go | 4 +- .../PositionMaintenanceReport.go | 63 +-- .../PositionMaintenanceRequest.go | 73 +-- fix50sp1/positionqty/PositionQty.go | 4 +- fix50sp1/positionreport/PositionReport.go | 89 ++-- fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go | 8 +- fix50sp1/preallocgrp/PreAllocGrp.go | 4 +- fix50sp1/preallocmleggrp/PreAllocMlegGrp.go | 4 +- .../quotcxlentriesgrp/QuotCxlEntriesGrp.go | 16 +- fix50sp1/quote/Quote.go | 160 ++++--- fix50sp1/quotecancel/QuoteCancel.go | 14 +- fix50sp1/quotentryackgrp/QuotEntryAckGrp.go | 8 +- fix50sp1/quotentrygrp/QuotEntryGrp.go | 8 +- fix50sp1/quoterequest/QuoteRequest.go | 28 +- .../quoterequestreject/QuoteRequestReject.go | 26 +- fix50sp1/quoteresponse/QuoteResponse.go | 162 +++---- .../quotestatusreport/QuoteStatusReport.go | 162 +++---- .../quotestatusrequest/QuoteStatusRequest.go | 39 +- fix50sp1/quotreqgrp/QuotReqGrp.go | 38 +- fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go | 16 +- fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go | 38 +- fix50sp1/quotsetackgrp/QuotSetAckGrp.go | 8 +- fix50sp1/quotsetgrp/QuotSetGrp.go | 6 +- .../RegistrationInstructions.go | 33 +- .../RegistrationInstructionsResponse.go | 5 +- .../relsymderivsecgrp/RelSymDerivSecGrp.go | 16 +- .../RelSymDerivSecUpdGrp.go | 16 +- .../RequestForPositions.go | 59 +-- .../RequestForPositionsAck.go | 62 +-- fix50sp1/rfqreqgrp/RFQReqGrp.go | 10 +- fix50sp1/rfqrequest/RFQRequest.go | 8 +- fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go | 4 +- fix50sp1/rootparties/RootParties.go | 4 +- fix50sp1/seclistgrp/SecListGrp.go | 40 +- .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 40 +- .../SecLstUpdRelSymsLegGrp.go | 12 +- .../securitydefinition/SecurityDefinition.go | 71 +-- .../SecurityDefinitionRequest.go | 63 +-- .../SecurityDefinitionUpdateReport.go | 73 +-- fix50sp1/securitylist/SecurityList.go | 30 +- .../SecurityListRequest.go | 49 +- .../SecurityListUpdateReport.go | 18 +- fix50sp1/securitystatus/SecurityStatus.go | 81 ++-- .../SecurityStatusRequest.go | 34 +- .../SecurityTradingRules.go | 22 +- fix50sp1/securitytypes/SecurityTypes.go | 38 +- fix50sp1/settldetails/SettlDetails.go | 4 +- .../SettlementInstructionRequest.go | 5 +- .../SettlementInstructions.go | 23 +- .../SettlementObligationReport.go | 12 +- fix50sp1/settlinstgrp/SettlInstGrp.go | 8 +- .../SettlInstructionsData.go | 13 +- .../SettlObligationInstructions.go | 12 +- fix50sp1/settlparties/SettlParties.go | 4 +- .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 6 +- .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 14 +- fix50sp1/strikerules/StrikeRules.go | 4 +- .../TradeCapLegUnderlyingsGrp.go | 4 +- .../tradecapturereport/TradeCaptureReport.go | 229 +++++----- .../TradeCaptureReportAck.go | 194 ++++---- .../TradeCaptureReportRequest.go | 107 +++-- .../TradeCaptureReportRequestAck.go | 47 +- .../tradingsessionlist/TradingSessionList.go | 12 +- .../TradingSessionListUpdateReport.go | 14 +- .../TradingSessionRules.go | 30 +- .../TradingSessionRulesGrp.go | 4 +- .../TradingSessionStatus.go | 52 ++- fix50sp1/trdallocgrp/TrdAllocGrp.go | 4 +- .../TrdCapRptAckSideGrp.go | 36 +- fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go | 36 +- fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 16 +- fix50sp1/trdsesslstgrp/TrdSessLstGrp.go | 4 +- .../UnderlyingInstrument.go | 23 +- .../UnderlyingLegInstrument.go | 7 +- .../undinstrmtcollgrp/UndInstrmtCollGrp.go | 4 +- fix50sp1/undinstrmtgrp/UndInstrmtGrp.go | 4 +- .../UndlyInstrumentParties.go | 4 +- fix50sp1/usernotification/UserNotification.go | 13 +- .../AdjustedPositionReport.go | 25 +- fix50sp2/advertisement/Advertisement.go | 47 +- fix50sp2/allocackgrp/AllocAckGrp.go | 4 +- .../AllocationInstruction.go | 194 ++++---- .../AllocationInstructionAck.go | 38 +- .../AllocationInstructionAlert.go | 189 ++++---- fix50sp2/allocationreport/AllocationReport.go | 204 +++++---- .../AllocationReportAck.go | 48 +- fix50sp2/allocgrp/AllocGrp.go | 20 +- .../ApplicationMessageReport.go | 17 +- .../ApplicationMessageRequest.go | 20 +- .../ApplicationMessageRequestAck.go | 18 +- .../ApplIDRequestAckGrp.go | 4 +- fix50sp2/applidrequestgrp/ApplIDRequestGrp.go | 4 +- fix50sp2/assignmentreport/AssignmentReport.go | 51 ++- fix50sp2/basetradingrules/BaseTradingRules.go | 35 +- fix50sp2/bidcomprspgrp/BidCompRspGrp.go | 2 +- fix50sp2/bidrequest/BidRequest.go | 64 +-- fix50sp2/bidresponse/BidResponse.go | 7 +- .../CollateralAssignment.go | 136 +++--- .../collateralinquiry/CollateralInquiry.go | 128 +++--- .../CollateralInquiryAck.go | 88 ++-- fix50sp2/collateralreport/CollateralReport.go | 136 +++--- .../collateralrequest/CollateralRequest.go | 123 ++--- .../collateralresponse/CollateralResponse.go | 127 +++--- .../complexeventdates/ComplexEventDates.go | 4 +- fix50sp2/complexevents/ComplexEvents.go | 4 +- fix50sp2/confirmation/Confirmation.go | 129 +++--- .../ConfirmationRequest.go | 29 +- fix50sp2/contextparties/ContextParties.go | 4 +- .../ContraryIntentionReport.go | 37 +- .../CrossOrderCancelReplaceRequest.go | 150 ++++--- .../CrossOrderCancelRequest.go | 27 +- .../DerivativeInstrument.go | 28 +- .../DerivativeInstrumentParties.go | 4 +- .../DerivativeSecurityDefinition.go | 22 +- .../DerivativeSecurityList.go | 38 +- .../DerivativeSecurityListRequest.go | 18 +- .../DerivativeSecurityListUpdateReport.go | 34 +- fix50sp2/dlvyinstgrp/DlvyInstGrp.go | 4 +- fix50sp2/dontknowtrade/DontKnowTrade.go | 36 +- fix50sp2/email/Email.go | 43 +- .../ExecutionAcknowledgement.go | 48 +- fix50sp2/executionreport/ExecutionReport.go | 425 ++++++++++-------- fix50sp2/fillsgrp/FillsGrp.go | 4 +- fix50sp2/instrmtgrp/InstrmtGrp.go | 4 +- .../instrmtlegexecgrp/InstrmtLegExecGrp.go | 16 +- fix50sp2/instrmtleggrp/InstrmtLegGrp.go | 4 +- fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go | 8 +- .../InstrmtLegSecListGrp.go | 12 +- fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go | 10 +- fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go | 6 +- fix50sp2/instrument/Instrument.go | 161 +++---- .../InstrumentExtension.go | 9 +- fix50sp2/instrumentleg/InstrumentLeg.go | 111 ++--- .../instrumentparties/InstrumentParties.go | 4 +- fix50sp2/ioi/IOI.go | 96 ++-- fix50sp2/legordgrp/LegOrdGrp.go | 16 +- fix50sp2/legpreallocgrp/LegPreAllocGrp.go | 4 +- fix50sp2/legquotgrp/LegQuotGrp.go | 16 +- fix50sp2/legquotstatgrp/LegQuotStatGrp.go | 12 +- .../listcancelrequest/ListCancelRequest.go | 5 +- fix50sp2/listordgrp/ListOrdGrp.go | 56 +-- fix50sp2/liststatus/ListStatus.go | 29 +- fix50sp2/liststrikeprice/ListStrikePrice.go | 9 +- .../MarketDataIncrementalRefresh.go | 27 +- .../marketdatarequest/MarketDataRequest.go | 38 +- .../MarketDataRequestReject.go | 20 +- .../MarketDataSnapshotFullRefresh.go | 60 +-- fix50sp2/marketdefinition/MarketDefinition.go | 53 ++- .../MarketDefinitionUpdateReport.go | 55 ++- fix50sp2/marketsegmentgrp/MarketSegmentGrp.go | 8 +- fix50sp2/massquote/MassQuote.go | 26 +- .../MassQuoteAcknowledgement.go | 41 +- fix50sp2/mdfullgrp/MDFullGrp.go | 20 +- fix50sp2/mdincgrp/MDIncGrp.go | 36 +- .../MultilegOrderCancelReplace.go | 201 +++++---- fix50sp2/nestedparties/NestedParties.go | 4 +- fix50sp2/nestedparties2/NestedParties2.go | 4 +- fix50sp2/nestedparties3/NestedParties3.go | 4 +- fix50sp2/nestedparties4/NestedParties4.go | 4 +- .../NetworkCounterpartySystemStatusRequest.go | 9 +- ...NetworkCounterpartySystemStatusResponse.go | 11 +- fix50sp2/newordercross/NewOrderCross.go | 144 +++--- fix50sp2/neworderlist/NewOrderList.go | 46 +- fix50sp2/newordermultileg/NewOrderMultileg.go | 201 +++++---- fix50sp2/newordersingle/NewOrderSingle.go | 227 +++++----- fix50sp2/news/News.go | 61 +-- fix50sp2/ordallocgrp/OrdAllocGrp.go | 4 +- .../OrderCancelReplaceRequest.go | 232 +++++----- .../ordercancelrequest/OrderCancelRequest.go | 53 ++- .../OrderMassActionReport.go | 68 +-- .../OrderMassActionRequest.go | 48 +- .../OrderMassCancelReport.go | 70 +-- .../OrderMassCancelRequest.go | 46 +- .../OrderMassStatusRequest.go | 36 +- .../orderstatusrequest/OrderStatusRequest.go | 34 +- fix50sp2/parties/Parties.go | 4 +- fix50sp2/partyaltids/PartyAltIDs.go | 4 +- fix50sp2/partydetail/PartyDetail.go | 26 +- .../PartyDetailsListReport.go | 28 +- .../PartyDetailsListRequest.go | 32 +- fix50sp2/partylistgrp/PartyListGrp.go | 8 +- .../PositionMaintenanceReport.go | 63 +-- .../PositionMaintenanceRequest.go | 73 +-- fix50sp2/positionqty/PositionQty.go | 4 +- fix50sp2/positionreport/PositionReport.go | 93 ++-- fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go | 8 +- fix50sp2/preallocgrp/PreAllocGrp.go | 4 +- fix50sp2/preallocmleggrp/PreAllocMlegGrp.go | 4 +- .../quotcxlentriesgrp/QuotCxlEntriesGrp.go | 16 +- fix50sp2/quote/Quote.go | 171 +++---- fix50sp2/quotecancel/QuoteCancel.go | 21 +- fix50sp2/quotentryackgrp/QuotEntryAckGrp.go | 8 +- fix50sp2/quotentrygrp/QuotEntryGrp.go | 8 +- fix50sp2/quoterequest/QuoteRequest.go | 32 +- .../quoterequestreject/QuoteRequestReject.go | 26 +- fix50sp2/quoteresponse/QuoteResponse.go | 162 +++---- .../quotestatusreport/QuoteStatusReport.go | 175 ++++---- .../quotestatusrequest/QuoteStatusRequest.go | 46 +- fix50sp2/quotreqgrp/QuotReqGrp.go | 42 +- fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go | 16 +- fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go | 38 +- fix50sp2/quotsetackgrp/QuotSetAckGrp.go | 8 +- fix50sp2/quotsetgrp/QuotSetGrp.go | 6 +- .../RegistrationInstructions.go | 33 +- .../RegistrationInstructionsResponse.go | 5 +- .../RelatedContextParties.go | 4 +- .../relatedpartyaltids/RelatedPartyAltIDs.go | 4 +- .../relatedpartydetail/RelatedPartyDetail.go | 28 +- fix50sp2/relatedpartygrp/RelatedPartyGrp.go | 8 +- .../RelationshipRiskInstrumentScope.go | 4 +- .../RelationshipRiskLimits.go | 8 +- .../relsymderivsecgrp/RelSymDerivSecGrp.go | 16 +- .../RelSymDerivSecUpdGrp.go | 16 +- .../RequestForPositions.go | 59 +-- .../RequestForPositionsAck.go | 62 +-- fix50sp2/rfqreqgrp/RFQReqGrp.go | 10 +- fix50sp2/rfqrequest/RFQRequest.go | 8 +- fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go | 4 +- .../RiskInstrumentScope.go | 4 +- fix50sp2/risklimits/RiskLimits.go | 8 +- fix50sp2/rootparties/RootParties.go | 4 +- fix50sp2/seclistgrp/SecListGrp.go | 40 +- .../seclstupdrelsymgrp/SecLstUpdRelSymGrp.go | 40 +- .../SecLstUpdRelSymsLegGrp.go | 12 +- .../securitydefinition/SecurityDefinition.go | 73 +-- .../SecurityDefinitionRequest.go | 63 +-- .../SecurityDefinitionUpdateReport.go | 75 ++-- fix50sp2/securitylist/SecurityList.go | 30 +- .../SecurityListRequest.go | 55 ++- .../SecurityListUpdateReport.go | 36 +- fix50sp2/securitystatus/SecurityStatus.go | 81 ++-- .../SecurityStatusRequest.go | 34 +- .../SecurityTradingRules.go | 22 +- fix50sp2/securitytypes/SecurityTypes.go | 38 +- fix50sp2/settldetails/SettlDetails.go | 4 +- .../SettlementInstructionRequest.go | 5 +- .../SettlementInstructions.go | 23 +- .../SettlementObligationReport.go | 12 +- fix50sp2/settlinstgrp/SettlInstGrp.go | 8 +- .../SettlInstructionsData.go | 13 +- .../SettlObligationInstructions.go | 12 +- fix50sp2/settlparties/SettlParties.go | 4 +- .../sidecrossordcxlgrp/SideCrossOrdCxlGrp.go | 6 +- .../sidecrossordmodgrp/SideCrossOrdModGrp.go | 14 +- .../StreamAssignmentReport.go | 11 +- .../StreamAssignmentRequest.go | 7 +- fix50sp2/strikerules/StrikeRules.go | 4 +- fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go | 8 +- .../StrmAsgnReqInstrmtGrp.go | 4 +- fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go | 8 +- .../StrmAsgnRptInstrmtGrp.go | 4 +- .../TradeCapLegUnderlyingsGrp.go | 4 +- .../tradecapturereport/TradeCaptureReport.go | 226 +++++----- .../TradeCaptureReportAck.go | 198 ++++---- .../TradeCaptureReportRequest.go | 107 +++-- .../TradeCaptureReportRequestAck.go | 49 +- .../TradeReportOrderDetail.go | 46 +- .../tradingsessionlist/TradingSessionList.go | 12 +- .../TradingSessionListUpdateReport.go | 12 +- .../TradingSessionRules.go | 30 +- .../TradingSessionRulesGrp.go | 4 +- .../TradingSessionStatus.go | 52 ++- fix50sp2/trdallocgrp/TrdAllocGrp.go | 4 +- .../TrdCapRptAckSideGrp.go | 40 +- fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go | 40 +- fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go | 16 +- fix50sp2/trdsesslstgrp/TrdSessLstGrp.go | 4 +- .../UnderlyingInstrument.go | 23 +- .../UnderlyingLegInstrument.go | 7 +- .../undinstrmtcollgrp/UndInstrmtCollGrp.go | 4 +- fix50sp2/undinstrmtgrp/UndInstrmtGrp.go | 4 +- .../UndlyInstrumentParties.go | 4 +- fix50sp2/usernotification/UserNotification.go | 13 +- fixt11/header.go | 5 +- fixt11/logon/Logon.go | 27 +- 631 files changed, 17708 insertions(+), 14350 deletions(-) diff --git a/_gen/helpers.go b/_gen/helpers.go index 6b22bef25..7e8c0b780 100644 --- a/_gen/helpers.go +++ b/_gen/helpers.go @@ -13,15 +13,24 @@ import ( var fieldSetterTemplate *template.Template func init() { - tmplFuncs := make(template.FuncMap) - tmplFuncs["fixFieldTypeToGoType"] = FixFieldTypeToGoType + tmplFuncs := template.FuncMap{ + "fixFieldTypeToGoType": FixFieldTypeToGoType, + "toLower": strings.ToLower, + } fieldSetterTemplate = template.Must(template.New("Setters").Funcs(tmplFuncs).Parse(` +{{define "fieldSetter"}} func (m *{{.Receiver}}) Set{{.Name}}(v {{ if .IsGroup}}[]{{.Name}}{{else}}{{fixFieldTypeToGoType .Type}}{{end}}) { {{- if .IsGroup -}}m.{{.Name}} = v {{- else if .Required -}}m.{{.Name}} = v {{- else -}}m.{{.Name}} = &v -{{- end}}}`)) +{{- end}}}{{end}} + +{{define "compSetter"}} +func (m *{{.Receiver}}) Set{{.Name}}(v {{toLower .Name}}.{{ .Name}}) { +{{- if .Required -}}m.{{.Name}} = v +{{- else -}}m.{{.Name}} = &v +{{- end}}}{{end}}`)) } //WriteFieldSetters generates setters appropriate for Messages, Components or Repeating Groups @@ -31,10 +40,19 @@ func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary *datadictionary.FieldDef } + type componentSetter struct { + Receiver string + datadictionary.Component + } + for _, part := range parts { switch field := part.(type) { + case datadictionary.Component: + if err := fieldSetterTemplate.ExecuteTemplate(writer, "compSetter", componentSetter{receiver, field}); err != nil { + return err + } case *datadictionary.FieldDef: - if err := fieldSetterTemplate.Execute(writer, setter{receiver, field}); err != nil { + if err := fieldSetterTemplate.ExecuteTemplate(writer, "fieldSetter", setter{receiver, field}); err != nil { return err } } @@ -46,8 +64,13 @@ func WriteFieldSetters(writer io.Writer, receiver string, parts []datadictionary func WriteFieldDeclaration(fixSpecMajor int, fixSpecMinor int, part datadictionary.MessagePart, componentName string) (s string) { switch field := part.(type) { case datadictionary.Component: - s += fmt.Sprintf("//%v Component\n", field.Name()) - s += fmt.Sprintf("%v.%v\n", strings.ToLower(field.Name()), field.Name()) + if field.Required() { + s += fmt.Sprintf("//%v is a required component for %v.\n", field.Name(), componentName) + s += fmt.Sprintf("%v.%v\n", strings.ToLower(field.Name()), field.Name()) + } else { + s += fmt.Sprintf("//%v is a non-required component for %v.\n", field.Name(), componentName) + s += fmt.Sprintf("%v *%v.%v\n", field.Name(), strings.ToLower(field.Name()), field.Name()) + } return case *datadictionary.FieldDef: diff --git a/datadictionary/build.go b/datadictionary/build.go index dabc25d58..50d972042 100644 --- a/datadictionary/build.go +++ b/datadictionary/build.go @@ -181,20 +181,18 @@ func (b builder) buildGroupFieldDef(xmlField *XMLComponentMember, groupFieldType for _, member := range xmlField.Members { if member.XMLName.Local == "component" { var err error - var comp *ComponentType - if comp, err = b.findOrBuildComponentType(member); err != nil { + var compType *ComponentType + if compType, err = b.findOrBuildComponentType(member); err != nil { return nil, err } - parts = append(parts, Component{ComponentType: comp, required: (member.Required == "Y")}) - //FIXME: set fields - for _, f := range comp.Parts { - switch field := f.(type) { - case *FieldDef: - fields = append(fields, field) - } + comp := Component{ + ComponentType: compType, + required: (member.Required == "Y"), } + parts = append(parts, comp) + fields = append(fields, comp.Fields...) } else { var f *FieldDef var err error diff --git a/fix43/advertisement/Advertisement.go b/fix43/advertisement/Advertisement.go index 8db3555f5..54e32dabf 100644 --- a/fix43/advertisement/Advertisement.go +++ b/fix43/advertisement/Advertisement.go @@ -19,7 +19,7 @@ type Message struct { AdvTransType string `fix:"5"` //AdvRefID is a non-required field for Advertisement. AdvRefID *string `fix:"3"` - //Instrument Component + //Instrument is a required component for Advertisement. instrument.Instrument //AdvSide is a required field for Advertisement. AdvSide string `fix:"4"` @@ -53,22 +53,23 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAdvId(v string) { m.AdvId = v } -func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } -func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } -func (m *Message) SetAdvSide(v string) { m.AdvSide = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetAdvId(v string) { m.AdvId = v } +func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } +func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetAdvSide(v string) { m.AdvSide = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/allocation/Allocation.go b/fix43/allocation/Allocation.go index a9088867f..475bd4573 100644 --- a/fix43/allocation/Allocation.go +++ b/fix43/allocation/Allocation.go @@ -64,8 +64,8 @@ type NoAllocs struct { IndividualAllocID *string `fix:"467"` //ProcessCode is a non-required field for NoAllocs. ProcessCode *string `fix:"81"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //NotifyBrokerOfCredit is a non-required field for NoAllocs. NotifyBrokerOfCredit *bool `fix:"208"` //AllocHandlInst is a non-required field for NoAllocs. @@ -76,8 +76,8 @@ type NoAllocs struct { EncodedAllocTextLen *int `fix:"360"` //EncodedAllocText is a non-required field for NoAllocs. EncodedAllocText *string `fix:"361"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoAllocs. + CommissionData *commissiondata.CommissionData //AllocAvgPx is a non-required field for NoAllocs. AllocAvgPx *float64 `fix:"153"` //AllocNetMoney is a non-required field for NoAllocs. @@ -98,25 +98,27 @@ type NoAllocs struct { NoMiscFees []NoMiscFees `fix:"136,omitempty"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *NoAllocs) SetNotifyBrokerOfCredit(v bool) { m.NotifyBrokerOfCredit = &v } -func (m *NoAllocs) SetAllocHandlInst(v int) { m.AllocHandlInst = &v } -func (m *NoAllocs) SetAllocText(v string) { m.AllocText = &v } -func (m *NoAllocs) SetEncodedAllocTextLen(v int) { m.EncodedAllocTextLen = &v } -func (m *NoAllocs) SetEncodedAllocText(v string) { m.EncodedAllocText = &v } -func (m *NoAllocs) SetAllocAvgPx(v float64) { m.AllocAvgPx = &v } -func (m *NoAllocs) SetAllocNetMoney(v float64) { m.AllocNetMoney = &v } -func (m *NoAllocs) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } -func (m *NoAllocs) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *NoAllocs) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } -func (m *NoAllocs) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *NoAllocs) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *NoAllocs) SetSettlInstMode(v string) { m.SettlInstMode = &v } -func (m *NoAllocs) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocPrice(v float64) { m.AllocPrice = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetNotifyBrokerOfCredit(v bool) { m.NotifyBrokerOfCredit = &v } +func (m *NoAllocs) SetAllocHandlInst(v int) { m.AllocHandlInst = &v } +func (m *NoAllocs) SetAllocText(v string) { m.AllocText = &v } +func (m *NoAllocs) SetEncodedAllocTextLen(v int) { m.EncodedAllocTextLen = &v } +func (m *NoAllocs) SetEncodedAllocText(v string) { m.EncodedAllocText = &v } +func (m *NoAllocs) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *NoAllocs) SetAllocAvgPx(v float64) { m.AllocAvgPx = &v } +func (m *NoAllocs) SetAllocNetMoney(v float64) { m.AllocNetMoney = &v } +func (m *NoAllocs) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } +func (m *NoAllocs) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *NoAllocs) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } +func (m *NoAllocs) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *NoAllocs) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *NoAllocs) SetSettlInstMode(v string) { m.SettlInstMode = &v } +func (m *NoAllocs) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } //NoMiscFees is a repeating group in NoAllocs type NoMiscFees struct { @@ -156,7 +158,7 @@ type Message struct { NoExecs []NoExecs `fix:"124,omitempty"` //Side is a required field for Allocation. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for Allocation. instrument.Instrument //Quantity is a required field for Allocation. Quantity float64 `fix:"53"` @@ -176,8 +178,8 @@ type Message struct { Currency *string `fix:"15"` //AvgPrxPrecision is a non-required field for Allocation. AvgPrxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for Allocation. + Parties *parties.Parties //TradeDate is a required field for Allocation. TradeDate string `fix:"75"` //TransactTime is a non-required field for Allocation. @@ -218,42 +220,44 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPrxPrecision(v int) { m.AvgPrxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPrxPrecision(v int) { m.AvgPrxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/allocationack/AllocationAck.go b/fix43/allocationack/AllocationAck.go index 0fda1591f..ba299eea8 100644 --- a/fix43/allocationack/AllocationAck.go +++ b/fix43/allocationack/AllocationAck.go @@ -13,8 +13,8 @@ import ( type Message struct { FIXMsgType string `fix:"P"` fix43.Header - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationAck. + Parties *parties.Parties //AllocID is a required field for AllocationAck. AllocID string `fix:"70"` //TradeDate is a required field for AllocationAck. @@ -39,15 +39,16 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/bidresponse/BidResponse.go b/fix43/bidresponse/BidResponse.go index e6153b9f8..94e0ad3ca 100644 --- a/fix43/bidresponse/BidResponse.go +++ b/fix43/bidresponse/BidResponse.go @@ -10,7 +10,7 @@ import ( //NoBidComponents is a repeating group in BidResponse type NoBidComponents struct { - //CommissionData Component + //CommissionData is a required component for NoBidComponents. commissiondata.CommissionData //ListID is a non-required field for NoBidComponents. ListID *string `fix:"66"` @@ -42,20 +42,21 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } -func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } -func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } -func (m *NoBidComponents) SetSide(v string) { m.Side = &v } -func (m *NoBidComponents) SetPrice(v float64) { m.Price = &v } -func (m *NoBidComponents) SetPriceType(v int) { m.PriceType = &v } -func (m *NoBidComponents) SetFairValue(v float64) { m.FairValue = &v } -func (m *NoBidComponents) SetNetGrossInd(v int) { m.NetGrossInd = &v } -func (m *NoBidComponents) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *NoBidComponents) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoBidComponents) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoBidComponents) SetText(v string) { m.Text = &v } -func (m *NoBidComponents) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoBidComponents) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = v } +func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } +func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } +func (m *NoBidComponents) SetSide(v string) { m.Side = &v } +func (m *NoBidComponents) SetPrice(v float64) { m.Price = &v } +func (m *NoBidComponents) SetPriceType(v int) { m.PriceType = &v } +func (m *NoBidComponents) SetFairValue(v float64) { m.FairValue = &v } +func (m *NoBidComponents) SetNetGrossInd(v int) { m.NetGrossInd = &v } +func (m *NoBidComponents) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *NoBidComponents) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoBidComponents) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoBidComponents) SetText(v string) { m.Text = &v } +func (m *NoBidComponents) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoBidComponents) SetEncodedText(v string) { m.EncodedText = &v } //Message is a BidResponse FIX Message type Message struct { diff --git a/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go b/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go index 44f144849..041bb43f0 100644 --- a/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go +++ b/fix43/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go @@ -30,8 +30,8 @@ type NoSides struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for NoSides. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //Account is a non-required field for NoSides. @@ -48,10 +48,10 @@ type NoSides struct { NoAllocs []NoAllocs `fix:"78,omitempty"` //QuantityType is a non-required field for NoSides. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoSides. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoSides. @@ -82,34 +82,37 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } -func (m *NoSides) SetSide(v string) { m.Side = v } -func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoSides) SetAccount(v string) { m.Account = &v } -func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } -func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *NoSides) SetQuantityType(v int) { m.QuantityType = &v } -func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } -func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *NoSides) SetText(v string) { m.Text = &v } -func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } -func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } -func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } +func (m *NoSides) SetSide(v string) { m.Side = v } +func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoSides) SetAccount(v string) { m.Account = &v } +func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } +func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *NoSides) SetQuantityType(v int) { m.QuantityType = &v } +func (m *NoSides) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoSides) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } +func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *NoSides) SetText(v string) { m.Text = &v } +func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } +func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } //NoAllocs is a repeating group in NoSides type NoAllocs struct { @@ -117,15 +120,16 @@ type NoAllocs struct { AllocAccount *string `fix:"79"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in CrossOrderCancelReplaceRequest type NoTradingSessions struct { @@ -154,7 +158,7 @@ type Message struct { CrossPrioritization int `fix:"550"` //NoSides is a required field for CrossOrderCancelReplaceRequest. NoSides []NoSides `fix:"552"` - //Instrument Component + //Instrument is a required component for CrossOrderCancelReplaceRequest. instrument.Instrument //SettlmntTyp is a non-required field for CrossOrderCancelReplaceRequest. SettlmntTyp *string `fix:"63"` @@ -180,8 +184,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for CrossOrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for CrossOrderCancelReplaceRequest. + Stipulations *stipulations.Stipulations //OrdType is a required field for CrossOrderCancelReplaceRequest. OrdType string `fix:"40"` //PriceType is a non-required field for CrossOrderCancelReplaceRequest. @@ -190,10 +194,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for CrossOrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for CrossOrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for CrossOrderCancelReplaceRequest. + YieldData *yielddata.YieldData //Currency is a non-required field for CrossOrderCancelReplaceRequest. Currency *string `fix:"15"` //ComplianceID is a non-required field for CrossOrderCancelReplaceRequest. @@ -240,48 +244,54 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIid(v string) { m.IOIid = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIid(v string) { m.IOIid = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/crossordercancelrequest/CrossOrderCancelRequest.go b/fix43/crossordercancelrequest/CrossOrderCancelRequest.go index e551b660b..fedec03ce 100644 --- a/fix43/crossordercancelrequest/CrossOrderCancelRequest.go +++ b/fix43/crossordercancelrequest/CrossOrderCancelRequest.go @@ -25,11 +25,11 @@ type NoSides struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for NoSides. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData //ComplianceID is a non-required field for NoSides. ComplianceID *string `fix:"376"` @@ -41,17 +41,19 @@ type NoSides struct { EncodedText *string `fix:"355"` } -func (m *NoSides) SetSide(v string) { m.Side = v } -func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoSides) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *NoSides) SetText(v string) { m.Text = &v } -func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoSides) SetSide(v string) { m.Side = v } +func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoSides) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoSides) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *NoSides) SetText(v string) { m.Text = &v } +func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } //Message is a CrossOrderCancelRequest FIX Message type Message struct { @@ -69,7 +71,7 @@ type Message struct { CrossPrioritization int `fix:"550"` //NoSides is a required field for CrossOrderCancelRequest. NoSides []NoSides `fix:"552"` - //Instrument Component + //Instrument is a required component for CrossOrderCancelRequest. instrument.Instrument //TransactTime is a required field for CrossOrderCancelRequest. TransactTime time.Time `fix:"60"` @@ -79,13 +81,14 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/derivativesecuritylist/DerivativeSecurityList.go b/fix43/derivativesecuritylist/DerivativeSecurityList.go index 44201b5bc..c9836a731 100644 --- a/fix43/derivativesecuritylist/DerivativeSecurityList.go +++ b/fix43/derivativesecuritylist/DerivativeSecurityList.go @@ -12,8 +12,8 @@ import ( //NoRelatedSym is a repeating group in DerivativeSecurityList type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` //NoLegs is a non-required field for NoRelatedSym. @@ -30,23 +30,25 @@ type NoRelatedSym struct { EncodedText *string `fix:"355"` } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoRelatedSym) SetText(v string) { m.Text = &v } -func (m *NoRelatedSym) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoRelatedSym) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetText(v string) { m.Text = &v } +func (m *NoRelatedSym) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoRelatedSym) SetEncodedText(v string) { m.EncodedText = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegCurrency is a non-required field for NoLegs. LegCurrency *string `fix:"556"` } -func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } //Message is a DerivativeSecurityList FIX Message type Message struct { @@ -58,8 +60,8 @@ type Message struct { SecurityResponseID string `fix:"322"` //SecurityRequestResult is a required field for DerivativeSecurityList. SecurityRequestResult int `fix:"560"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityList. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotalNumSecurities is a non-required field for DerivativeSecurityList. TotalNumSecurities *int `fix:"393"` //NoRelatedSym is a non-required field for DerivativeSecurityList. @@ -70,9 +72,12 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } -func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } +func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *Message) SetTotalNumSecurities(v int) { m.TotalNumSecurities = &v } func (m *Message) SetNoRelatedSym(v []NoRelatedSym) { m.NoRelatedSym = v } diff --git a/fix43/derivativesecuritylistrequest/DerivativeSecurityListRequest.go b/fix43/derivativesecuritylistrequest/DerivativeSecurityListRequest.go index 70d9a91c0..b45fdbea8 100644 --- a/fix43/derivativesecuritylistrequest/DerivativeSecurityListRequest.go +++ b/fix43/derivativesecuritylistrequest/DerivativeSecurityListRequest.go @@ -16,8 +16,8 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for DerivativeSecurityListRequest. SecurityListRequestType int `fix:"559"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityListRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Currency is a non-required field for DerivativeSecurityListRequest. Currency *string `fix:"15"` //Text is a non-required field for DerivativeSecurityListRequest. @@ -38,8 +38,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } diff --git a/fix43/dontknowtrade/DontKnowTrade.go b/fix43/dontknowtrade/DontKnowTrade.go index e0745ceae..20e1c1c83 100644 --- a/fix43/dontknowtrade/DontKnowTrade.go +++ b/fix43/dontknowtrade/DontKnowTrade.go @@ -19,11 +19,11 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a required field for DontKnowTrade. DKReason string `fix:"127"` - //Instrument Component + //Instrument is a required component for DontKnowTrade. instrument.Instrument //Side is a required field for DontKnowTrade. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for DontKnowTrade. orderqtydata.OrderQtyData //LastQty is a non-required field for DontKnowTrade. LastQty *float64 `fix:"32"` @@ -41,15 +41,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/email/Email.go b/fix43/email/Email.go index 003e2f448..258f0523d 100644 --- a/fix43/email/Email.go +++ b/fix43/email/Email.go @@ -22,10 +22,12 @@ func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } //NoRelatedSym is a repeating group in Email type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } + //LinesOfText is a repeating group in Email type LinesOfText struct { //Text is a required field for LinesOfText. diff --git a/fix43/executionreport/ExecutionReport.go b/fix43/executionreport/ExecutionReport.go index 59d81dcf5..0bdba070b 100644 --- a/fix43/executionreport/ExecutionReport.go +++ b/fix43/executionreport/ExecutionReport.go @@ -53,14 +53,14 @@ func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } //NoLegs is a repeating group in ExecutionReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -73,13 +73,15 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlmntTyp(v string) { m.LegSettlmntTyp = &v } -func (m *NoLegs) SetLegFutSettDate(v string) { m.LegFutSettDate = &v } -func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlmntTyp(v string) { m.LegSettlmntTyp = &v } +func (m *NoLegs) SetLegFutSettDate(v string) { m.LegFutSettDate = &v } +func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } //Message is a ExecutionReport FIX Message type Message struct { @@ -99,8 +101,8 @@ type Message struct { OrigClOrdID *string `fix:"41"` //ClOrdLinkID is a non-required field for ExecutionReport. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for ExecutionReport. + Parties *parties.Parties //TradeOriginationDate is a non-required field for ExecutionReport. TradeOriginationDate *string `fix:"229"` //NoContraBrokers is a non-required field for ExecutionReport. @@ -145,15 +147,15 @@ type Message struct { CashMargin *string `fix:"544"` //ClearingFeeIndicator is a non-required field for ExecutionReport. ClearingFeeIndicator *string `fix:"635"` - //Instrument Component + //Instrument is a required component for ExecutionReport. instrument.Instrument //Side is a required field for ExecutionReport. Side string `fix:"54"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for ExecutionReport. + Stipulations *stipulations.Stipulations //QuantityType is a non-required field for ExecutionReport. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for ExecutionReport. orderqtydata.OrderQtyData //OrdType is a non-required field for ExecutionReport. OrdType *string `fix:"40"` @@ -233,12 +235,12 @@ type Message struct { TransactTime *time.Time `fix:"60"` //ReportToExch is a non-required field for ExecutionReport. ReportToExch *bool `fix:"113"` - //CommissionData Component - commissiondata.CommissionData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //CommissionData is a non-required component for ExecutionReport. + CommissionData *commissiondata.CommissionData + //SpreadOrBenchmarkCurveData is a non-required component for ExecutionReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for ExecutionReport. + YieldData *yielddata.YieldData //GrossTradeAmt is a non-required field for ExecutionReport. GrossTradeAmt *float64 `fix:"381"` //NumDaysInterest is a non-required field for ExecutionReport. @@ -323,115 +325,124 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetNoContraBrokers(v []NoContraBrokers) { m.NoContraBrokers = v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = &v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } -func (m *Message) SetCrossType(v int) { m.CrossType = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } -func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } -func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetRule80A(v string) { m.Rule80A = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } -func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } -func (m *Message) SetCumQty(v float64) { m.CumQty = v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } -func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } -func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetExDate(v string) { m.ExDate = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } -func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } -func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } -func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } -func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } -func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } -func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } -func (m *Message) SetNoContAmts(v []NoContAmts) { m.NoContAmts = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetNoContraBrokers(v []NoContraBrokers) { m.NoContraBrokers = v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = &v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } +func (m *Message) SetCrossType(v int) { m.CrossType = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } +func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } +func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetRule80A(v string) { m.Rule80A = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } +func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } +func (m *Message) SetCumQty(v float64) { m.CumQty = v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } +func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } +func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetExDate(v string) { m.ExDate = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } +func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } +func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } +func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } +func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } +func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } +func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } +func (m *Message) SetNoContAmts(v []NoContAmts) { m.NoContAmts = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/ioi/IOI.go b/fix43/ioi/IOI.go index 9167d96ac..de8b97877 100644 --- a/fix43/ioi/IOI.go +++ b/fix43/ioi/IOI.go @@ -39,7 +39,7 @@ type Message struct { IOITransType string `fix:"28"` //IOIRefID is a non-required field for IOI. IOIRefID *string `fix:"26"` - //Instrument Component + //Instrument is a required component for IOI. instrument.Instrument //Side is a required field for IOI. Side string `fix:"54"` @@ -73,8 +73,8 @@ type Message struct { URLLink *string `fix:"149"` //NoRoutingIDs is a non-required field for IOI. NoRoutingIDs []NoRoutingIDs `fix:"215,omitempty"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for IOI. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Benchmark is a non-required field for IOI. Benchmark *string `fix:"219"` fix43.Trailer @@ -86,6 +86,7 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetIOIid(v string) { m.IOIid = v } func (m *Message) SetIOITransType(v string) { m.IOITransType = v } func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *Message) SetSide(v string) { m.Side = v } func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } func (m *Message) SetIOIQty(v string) { m.IOIQty = v } @@ -102,7 +103,10 @@ func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } func (m *Message) SetURLLink(v string) { m.URLLink = &v } func (m *Message) SetNoRoutingIDs(v []NoRoutingIDs) { m.NoRoutingIDs = v } -func (m *Message) SetBenchmark(v string) { m.Benchmark = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetBenchmark(v string) { m.Benchmark = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/liststrikeprice/ListStrikePrice.go b/fix43/liststrikeprice/ListStrikePrice.go index c94896cf0..5aa24fa61 100644 --- a/fix43/liststrikeprice/ListStrikePrice.go +++ b/fix43/liststrikeprice/ListStrikePrice.go @@ -10,7 +10,7 @@ import ( //NoStrikes is a repeating group in ListStrikePrice type NoStrikes struct { - //Instrument Component + //Instrument is a required component for NoStrikes. instrument.Instrument //PrevClosePx is a non-required field for NoStrikes. PrevClosePx *float64 `fix:"140"` @@ -32,15 +32,16 @@ type NoStrikes struct { EncodedText *string `fix:"355"` } -func (m *NoStrikes) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoStrikes) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *NoStrikes) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoStrikes) SetSide(v string) { m.Side = &v } -func (m *NoStrikes) SetPrice(v float64) { m.Price = v } -func (m *NoStrikes) SetCurrency(v string) { m.Currency = &v } -func (m *NoStrikes) SetText(v string) { m.Text = &v } -func (m *NoStrikes) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoStrikes) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoStrikes) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoStrikes) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoStrikes) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *NoStrikes) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoStrikes) SetSide(v string) { m.Side = &v } +func (m *NoStrikes) SetPrice(v float64) { m.Price = v } +func (m *NoStrikes) SetCurrency(v string) { m.Currency = &v } +func (m *NoStrikes) SetText(v string) { m.Text = &v } +func (m *NoStrikes) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoStrikes) SetEncodedText(v string) { m.EncodedText = &v } //Message is a ListStrikePrice FIX Message type Message struct { diff --git a/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index 5baab8eb8..097186047 100644 --- a/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix43/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -21,8 +21,8 @@ type NoMDEntries struct { MDEntryID *string `fix:"278"` //MDEntryRefID is a non-required field for NoMDEntries. MDEntryRefID *string `fix:"280"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoMDEntries. + Instrument *instrument.Instrument //FinancialStatus is a non-required field for NoMDEntries. FinancialStatus *string `fix:"291"` //CorporateAction is a non-required field for NoMDEntries. @@ -99,48 +99,49 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } -func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } -func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } -func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } -func (m *NoMDEntries) SetMDEntryID(v string) { m.MDEntryID = &v } -func (m *NoMDEntries) SetMDEntryRefID(v string) { m.MDEntryRefID = &v } -func (m *NoMDEntries) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *NoMDEntries) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } -func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } -func (m *NoMDEntries) SetMDEntrySize(v float64) { m.MDEntrySize = &v } -func (m *NoMDEntries) SetMDEntryDate(v string) { m.MDEntryDate = &v } -func (m *NoMDEntries) SetMDEntryTime(v string) { m.MDEntryTime = &v } -func (m *NoMDEntries) SetTickDirection(v string) { m.TickDirection = &v } -func (m *NoMDEntries) SetMDMkt(v string) { m.MDMkt = &v } -func (m *NoMDEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoMDEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoMDEntries) SetQuoteCondition(v string) { m.QuoteCondition = &v } -func (m *NoMDEntries) SetTradeCondition(v string) { m.TradeCondition = &v } -func (m *NoMDEntries) SetMDEntryOriginator(v string) { m.MDEntryOriginator = &v } -func (m *NoMDEntries) SetLocationID(v string) { m.LocationID = &v } -func (m *NoMDEntries) SetDeskID(v string) { m.DeskID = &v } -func (m *NoMDEntries) SetOpenCloseSettleFlag(v string) { m.OpenCloseSettleFlag = &v } -func (m *NoMDEntries) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *NoMDEntries) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *NoMDEntries) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoMDEntries) SetMinQty(v float64) { m.MinQty = &v } -func (m *NoMDEntries) SetExecInst(v string) { m.ExecInst = &v } -func (m *NoMDEntries) SetSellerDays(v int) { m.SellerDays = &v } -func (m *NoMDEntries) SetOrderID(v string) { m.OrderID = &v } -func (m *NoMDEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } -func (m *NoMDEntries) SetMDEntryBuyer(v string) { m.MDEntryBuyer = &v } -func (m *NoMDEntries) SetMDEntrySeller(v string) { m.MDEntrySeller = &v } -func (m *NoMDEntries) SetNumberOfOrders(v int) { m.NumberOfOrders = &v } -func (m *NoMDEntries) SetMDEntryPositionNo(v int) { m.MDEntryPositionNo = &v } -func (m *NoMDEntries) SetScope(v string) { m.Scope = &v } -func (m *NoMDEntries) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } -func (m *NoMDEntries) SetTotalVolumeTradedDate(v string) { m.TotalVolumeTradedDate = &v } -func (m *NoMDEntries) SetTotalVolumeTradedTime(v string) { m.TotalVolumeTradedTime = &v } -func (m *NoMDEntries) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } -func (m *NoMDEntries) SetText(v string) { m.Text = &v } -func (m *NoMDEntries) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoMDEntries) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } +func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } +func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } +func (m *NoMDEntries) SetMDEntryID(v string) { m.MDEntryID = &v } +func (m *NoMDEntries) SetMDEntryRefID(v string) { m.MDEntryRefID = &v } +func (m *NoMDEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoMDEntries) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *NoMDEntries) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } +func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } +func (m *NoMDEntries) SetMDEntrySize(v float64) { m.MDEntrySize = &v } +func (m *NoMDEntries) SetMDEntryDate(v string) { m.MDEntryDate = &v } +func (m *NoMDEntries) SetMDEntryTime(v string) { m.MDEntryTime = &v } +func (m *NoMDEntries) SetTickDirection(v string) { m.TickDirection = &v } +func (m *NoMDEntries) SetMDMkt(v string) { m.MDMkt = &v } +func (m *NoMDEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoMDEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoMDEntries) SetQuoteCondition(v string) { m.QuoteCondition = &v } +func (m *NoMDEntries) SetTradeCondition(v string) { m.TradeCondition = &v } +func (m *NoMDEntries) SetMDEntryOriginator(v string) { m.MDEntryOriginator = &v } +func (m *NoMDEntries) SetLocationID(v string) { m.LocationID = &v } +func (m *NoMDEntries) SetDeskID(v string) { m.DeskID = &v } +func (m *NoMDEntries) SetOpenCloseSettleFlag(v string) { m.OpenCloseSettleFlag = &v } +func (m *NoMDEntries) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *NoMDEntries) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *NoMDEntries) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoMDEntries) SetMinQty(v float64) { m.MinQty = &v } +func (m *NoMDEntries) SetExecInst(v string) { m.ExecInst = &v } +func (m *NoMDEntries) SetSellerDays(v int) { m.SellerDays = &v } +func (m *NoMDEntries) SetOrderID(v string) { m.OrderID = &v } +func (m *NoMDEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } +func (m *NoMDEntries) SetMDEntryBuyer(v string) { m.MDEntryBuyer = &v } +func (m *NoMDEntries) SetMDEntrySeller(v string) { m.MDEntrySeller = &v } +func (m *NoMDEntries) SetNumberOfOrders(v int) { m.NumberOfOrders = &v } +func (m *NoMDEntries) SetMDEntryPositionNo(v int) { m.MDEntryPositionNo = &v } +func (m *NoMDEntries) SetScope(v string) { m.Scope = &v } +func (m *NoMDEntries) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } +func (m *NoMDEntries) SetTotalVolumeTradedDate(v string) { m.TotalVolumeTradedDate = &v } +func (m *NoMDEntries) SetTotalVolumeTradedTime(v string) { m.TotalVolumeTradedTime = &v } +func (m *NoMDEntries) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } +func (m *NoMDEntries) SetText(v string) { m.Text = &v } +func (m *NoMDEntries) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoMDEntries) SetEncodedText(v string) { m.EncodedText = &v } //Message is a MarketDataIncrementalRefresh FIX Message type Message struct { diff --git a/fix43/marketdatarequest/MarketDataRequest.go b/fix43/marketdatarequest/MarketDataRequest.go index a95cb5159..25297ec1c 100644 --- a/fix43/marketdatarequest/MarketDataRequest.go +++ b/fix43/marketdatarequest/MarketDataRequest.go @@ -18,10 +18,12 @@ func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //NoRelatedSym is a repeating group in MarketDataRequest type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } + //NoTradingSessions is a repeating group in MarketDataRequest type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. diff --git a/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index 30d6d5c65..81611d09d 100644 --- a/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix43/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -116,7 +116,7 @@ type Message struct { fix43.Header //MDReqID is a non-required field for MarketDataSnapshotFullRefresh. MDReqID *string `fix:"262"` - //Instrument Component + //Instrument is a required component for MarketDataSnapshotFullRefresh. instrument.Instrument //FinancialStatus is a non-required field for MarketDataSnapshotFullRefresh. FinancialStatus *string `fix:"291"` @@ -138,14 +138,15 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } -func (m *Message) SetTotalVolumeTradedDate(v string) { m.TotalVolumeTradedDate = &v } -func (m *Message) SetTotalVolumeTradedTime(v string) { m.TotalVolumeTradedTime = &v } -func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } -func (m *Message) SetNoMDEntries(v []NoMDEntries) { m.NoMDEntries = v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } +func (m *Message) SetTotalVolumeTradedDate(v string) { m.TotalVolumeTradedDate = &v } +func (m *Message) SetTotalVolumeTradedTime(v string) { m.TotalVolumeTradedTime = &v } +func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } +func (m *Message) SetNoMDEntries(v []NoMDEntries) { m.NoMDEntries = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/massquote/MassQuote.go b/fix43/massquote/MassQuote.go index 81593df85..1462b48c2 100644 --- a/fix43/massquote/MassQuote.go +++ b/fix43/massquote/MassQuote.go @@ -15,8 +15,8 @@ import ( type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. QuoteSetID string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //QuoteSetValidUntilTime is a non-required field for NoQuoteSets. QuoteSetValidUntilTime *time.Time `fix:"367"` //TotQuoteEntries is a required field for NoQuoteSets. @@ -25,7 +25,10 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295"` } -func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } +func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } +func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoQuoteSets) SetQuoteSetValidUntilTime(v time.Time) { m.QuoteSetValidUntilTime = &v } func (m *NoQuoteSets) SetTotQuoteEntries(v int) { m.TotQuoteEntries = v } func (m *NoQuoteSets) SetNoQuoteEntries(v []NoQuoteEntries) { m.NoQuoteEntries = v } @@ -34,8 +37,8 @@ func (m *NoQuoteSets) SetNoQuoteEntries(v []NoQuoteEntries) { m.NoQuoteEntries type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. QuoteEntryID string `fix:"299"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. @@ -84,30 +87,31 @@ type NoQuoteEntries struct { Currency *string `fix:"15"` } -func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } -func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } -func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } -func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } -func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } -func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } -func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoQuoteEntries) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } -func (m *NoQuoteEntries) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } +func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } +func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } +func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } +func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } +func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } +func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } +func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoQuoteEntries) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } +func (m *NoQuoteEntries) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } //Message is a MassQuote FIX Message type Message struct { @@ -121,8 +125,8 @@ type Message struct { QuoteType *int `fix:"537"` //QuoteResponseLevel is a non-required field for MassQuote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuote. + Parties *parties.Parties //Account is a non-required field for MassQuote. Account *string `fix:"1"` //AccountType is a non-required field for MassQuote. @@ -143,6 +147,7 @@ func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } func (m *Message) SetQuoteID(v string) { m.QuoteID = v } func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } func (m *Message) SetDefBidSize(v float64) { m.DefBidSize = &v } diff --git a/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go b/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go index 0f573b07a..8fd88e934 100644 --- a/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go +++ b/fix43/massquoteacknowledgement/MassQuoteAcknowledgement.go @@ -15,15 +15,18 @@ import ( type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. QuoteSetID *string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotQuoteEntries is a non-required field for NoQuoteSets. TotQuoteEntries *int `fix:"304"` //NoQuoteEntries is a non-required field for NoQuoteSets. NoQuoteEntries []NoQuoteEntries `fix:"295,omitempty"` } -func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } +func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } +func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoQuoteSets) SetTotQuoteEntries(v int) { m.TotQuoteEntries = &v } func (m *NoQuoteSets) SetNoQuoteEntries(v []NoQuoteEntries) { m.NoQuoteEntries = v } @@ -31,8 +34,8 @@ func (m *NoQuoteSets) SetNoQuoteEntries(v []NoQuoteEntries) { m.NoQuoteEntries = type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. QuoteEntryID *string `fix:"299"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. @@ -83,31 +86,32 @@ type NoQuoteEntries struct { QuoteEntryRejectReason *int `fix:"368"` } -func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } -func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } -func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } -func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } -func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } -func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } -func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoQuoteEntries) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } -func (m *NoQuoteEntries) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } -func (m *NoQuoteEntries) SetQuoteEntryRejectReason(v int) { m.QuoteEntryRejectReason = &v } +func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } +func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } +func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } +func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } +func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } +func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } +func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoQuoteEntries) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } +func (m *NoQuoteEntries) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } +func (m *NoQuoteEntries) SetQuoteEntryRejectReason(v int) { m.QuoteEntryRejectReason = &v } //Message is a MassQuoteAcknowledgement FIX Message type Message struct { @@ -125,8 +129,8 @@ type Message struct { QuoteResponseLevel *int `fix:"301"` //QuoteType is a non-required field for MassQuoteAcknowledgement. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuoteAcknowledgement. + Parties *parties.Parties //Account is a non-required field for MassQuoteAcknowledgement. Account *string `fix:"1"` //AccountType is a non-required field for MassQuoteAcknowledgement. @@ -147,6 +151,7 @@ func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } func (m *Message) SetText(v string) { m.Text = &v } diff --git a/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go b/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go index cbf4131b5..079ecfaea 100644 --- a/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go +++ b/fix43/multilegordercancelreplacerequest/MultilegOrderCancelReplaceRequest.go @@ -41,14 +41,14 @@ func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionS //NoLegs is a repeating group in MultilegOrderCancelReplaceRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -59,12 +59,14 @@ type NoLegs struct { LegFutSettDate *string `fix:"588"` } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlmntTyp(v string) { m.LegSettlmntTyp = &v } -func (m *NoLegs) SetLegFutSettDate(v string) { m.LegFutSettDate = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlmntTyp(v string) { m.LegSettlmntTyp = &v } +func (m *NoLegs) SetLegFutSettDate(v string) { m.LegFutSettDate = &v } //Message is a MultilegOrderCancelReplaceRequest FIX Message type Message struct { @@ -82,8 +84,8 @@ type Message struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for MultilegOrderCancelReplaceRequest. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for MultilegOrderCancelReplaceRequest. + Parties *parties.Parties //Account is a non-required field for MultilegOrderCancelReplaceRequest. Account *string `fix:"1"` //AccountType is a non-required field for MultilegOrderCancelReplaceRequest. @@ -120,7 +122,7 @@ type Message struct { ProcessCode *string `fix:"81"` //Side is a required field for MultilegOrderCancelReplaceRequest. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for MultilegOrderCancelReplaceRequest. instrument.Instrument //PrevClosePx is a non-required field for MultilegOrderCancelReplaceRequest. PrevClosePx *float64 `fix:"140"` @@ -132,7 +134,7 @@ type Message struct { TransactTime time.Time `fix:"60"` //QuantityType is a non-required field for MultilegOrderCancelReplaceRequest. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for MultilegOrderCancelReplaceRequest. orderqtydata.OrderQtyData //OrdType is a required field for MultilegOrderCancelReplaceRequest. OrdType string `fix:"40"` @@ -162,8 +164,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for MultilegOrderCancelReplaceRequest. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for MultilegOrderCancelReplaceRequest. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for MultilegOrderCancelReplaceRequest. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for MultilegOrderCancelReplaceRequest. @@ -210,69 +212,73 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIid(v string) { m.IOIid = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIid(v string) { m.IOIid = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/newordercross/NewOrderCross.go b/fix43/newordercross/NewOrderCross.go index 6de7abe3f..bc2cea5b5 100644 --- a/fix43/newordercross/NewOrderCross.go +++ b/fix43/newordercross/NewOrderCross.go @@ -26,8 +26,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NoSides. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //Account is a non-required field for NoSides. @@ -44,10 +44,10 @@ type NoSides struct { NoAllocs []NoAllocs `fix:"78,omitempty"` //QuantityType is a non-required field for NoSides. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoSides. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoSides. @@ -78,32 +78,35 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } -func (m *NoSides) SetSide(v string) { m.Side = v } -func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoSides) SetAccount(v string) { m.Account = &v } -func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } -func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *NoSides) SetQuantityType(v int) { m.QuantityType = &v } -func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } -func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *NoSides) SetText(v string) { m.Text = &v } -func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } -func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } -func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } +func (m *NoSides) SetSide(v string) { m.Side = v } +func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoSides) SetAccount(v string) { m.Account = &v } +func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } +func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *NoSides) SetQuantityType(v int) { m.QuantityType = &v } +func (m *NoSides) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoSides) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } +func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *NoSides) SetText(v string) { m.Text = &v } +func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } +func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } //NoAllocs is a repeating group in NoSides type NoAllocs struct { @@ -111,15 +114,16 @@ type NoAllocs struct { AllocAccount *string `fix:"79"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in NewOrderCross type NoTradingSessions struct { @@ -144,7 +148,7 @@ type Message struct { CrossPrioritization int `fix:"550"` //NoSides is a required field for NewOrderCross. NoSides []NoSides `fix:"552"` - //Instrument Component + //Instrument is a required component for NewOrderCross. instrument.Instrument //SettlmntTyp is a non-required field for NewOrderCross. SettlmntTyp *string `fix:"63"` @@ -170,8 +174,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderCross. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderCross. + Stipulations *stipulations.Stipulations //OrdType is a required field for NewOrderCross. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderCross. @@ -180,10 +184,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderCross. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderCross. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderCross. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderCross. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderCross. @@ -230,46 +234,52 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIid(v string) { m.IOIid = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIid(v string) { m.IOIid = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/neworderlist/NewOrderList.go b/fix43/neworderlist/NewOrderList.go index e954c6cd5..021b24231 100644 --- a/fix43/neworderlist/NewOrderList.go +++ b/fix43/neworderlist/NewOrderList.go @@ -28,8 +28,8 @@ type NoOrders struct { ClOrdLinkID *string `fix:"583"` //SettlInstMode is a non-required field for NoOrders. SettlInstMode *string `fix:"160"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoOrders. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoOrders. TradeOriginationDate *string `fix:"229"` //Account is a non-required field for NoOrders. @@ -66,7 +66,7 @@ type NoOrders struct { NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //ProcessCode is a non-required field for NoOrders. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NoOrders. instrument.Instrument //PrevClosePx is a non-required field for NoOrders. PrevClosePx *float64 `fix:"140"` @@ -78,11 +78,11 @@ type NoOrders struct { LocateReqd *bool `fix:"114"` //TransactTime is a non-required field for NoOrders. TransactTime *time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoOrders. + Stipulations *stipulations.Stipulations //QuantityType is a non-required field for NoOrders. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for NoOrders. orderqtydata.OrderQtyData //OrdType is a non-required field for NoOrders. OrdType *string `fix:"40"` @@ -92,10 +92,10 @@ type NoOrders struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NoOrders. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoOrders. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoOrders. + YieldData *yielddata.YieldData //Currency is a non-required field for NoOrders. Currency *string `fix:"15"` //ComplianceID is a non-required field for NoOrders. @@ -116,8 +116,8 @@ type NoOrders struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NoOrders. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoOrders. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoOrders. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoOrders. @@ -164,71 +164,80 @@ type NoOrders struct { NetMoney *float64 `fix:"118"` } -func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } -func (m *NoOrders) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoOrders) SetSettlInstMode(v string) { m.SettlInstMode = &v } -func (m *NoOrders) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoOrders) SetAccount(v string) { m.Account = &v } -func (m *NoOrders) SetAccountType(v int) { m.AccountType = &v } -func (m *NoOrders) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *NoOrders) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *NoOrders) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *NoOrders) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *NoOrders) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *NoOrders) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *NoOrders) SetCashMargin(v string) { m.CashMargin = &v } -func (m *NoOrders) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *NoOrders) SetHandlInst(v string) { m.HandlInst = &v } -func (m *NoOrders) SetExecInst(v string) { m.ExecInst = &v } -func (m *NoOrders) SetMinQty(v float64) { m.MinQty = &v } -func (m *NoOrders) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *NoOrders) SetExDestination(v string) { m.ExDestination = &v } -func (m *NoOrders) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *NoOrders) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *NoOrders) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoOrders) SetSide(v string) { m.Side = v } -func (m *NoOrders) SetSideValueInd(v int) { m.SideValueInd = &v } -func (m *NoOrders) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *NoOrders) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoOrders) SetQuantityType(v int) { m.QuantityType = &v } -func (m *NoOrders) SetOrdType(v string) { m.OrdType = &v } -func (m *NoOrders) SetPriceType(v int) { m.PriceType = &v } -func (m *NoOrders) SetPrice(v float64) { m.Price = &v } -func (m *NoOrders) SetStopPx(v float64) { m.StopPx = &v } -func (m *NoOrders) SetCurrency(v string) { m.Currency = &v } -func (m *NoOrders) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *NoOrders) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *NoOrders) SetIOIid(v string) { m.IOIid = &v } -func (m *NoOrders) SetQuoteID(v string) { m.QuoteID = &v } -func (m *NoOrders) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *NoOrders) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *NoOrders) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *NoOrders) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoOrders) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *NoOrders) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *NoOrders) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *NoOrders) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *NoOrders) SetRule80A(v string) { m.Rule80A = &v } -func (m *NoOrders) SetForexReq(v bool) { m.ForexReq = &v } -func (m *NoOrders) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *NoOrders) SetText(v string) { m.Text = &v } -func (m *NoOrders) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoOrders) SetEncodedText(v string) { m.EncodedText = &v } -func (m *NoOrders) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *NoOrders) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoOrders) SetPrice2(v float64) { m.Price2 = &v } -func (m *NoOrders) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *NoOrders) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *NoOrders) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *NoOrders) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *NoOrders) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *NoOrders) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *NoOrders) SetDesignation(v string) { m.Designation = &v } -func (m *NoOrders) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *NoOrders) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *NoOrders) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } +func (m *NoOrders) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoOrders) SetSettlInstMode(v string) { m.SettlInstMode = &v } +func (m *NoOrders) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoOrders) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoOrders) SetAccount(v string) { m.Account = &v } +func (m *NoOrders) SetAccountType(v int) { m.AccountType = &v } +func (m *NoOrders) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *NoOrders) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *NoOrders) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *NoOrders) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *NoOrders) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *NoOrders) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *NoOrders) SetCashMargin(v string) { m.CashMargin = &v } +func (m *NoOrders) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *NoOrders) SetHandlInst(v string) { m.HandlInst = &v } +func (m *NoOrders) SetExecInst(v string) { m.ExecInst = &v } +func (m *NoOrders) SetMinQty(v float64) { m.MinQty = &v } +func (m *NoOrders) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *NoOrders) SetExDestination(v string) { m.ExDestination = &v } +func (m *NoOrders) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *NoOrders) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *NoOrders) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoOrders) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoOrders) SetSide(v string) { m.Side = v } +func (m *NoOrders) SetSideValueInd(v int) { m.SideValueInd = &v } +func (m *NoOrders) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *NoOrders) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoOrders) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *NoOrders) SetQuantityType(v int) { m.QuantityType = &v } +func (m *NoOrders) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoOrders) SetOrdType(v string) { m.OrdType = &v } +func (m *NoOrders) SetPriceType(v int) { m.PriceType = &v } +func (m *NoOrders) SetPrice(v float64) { m.Price = &v } +func (m *NoOrders) SetStopPx(v float64) { m.StopPx = &v } +func (m *NoOrders) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *NoOrders) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *NoOrders) SetCurrency(v string) { m.Currency = &v } +func (m *NoOrders) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *NoOrders) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *NoOrders) SetIOIid(v string) { m.IOIid = &v } +func (m *NoOrders) SetQuoteID(v string) { m.QuoteID = &v } +func (m *NoOrders) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *NoOrders) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *NoOrders) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *NoOrders) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoOrders) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *NoOrders) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *NoOrders) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *NoOrders) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *NoOrders) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *NoOrders) SetRule80A(v string) { m.Rule80A = &v } +func (m *NoOrders) SetForexReq(v bool) { m.ForexReq = &v } +func (m *NoOrders) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *NoOrders) SetText(v string) { m.Text = &v } +func (m *NoOrders) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoOrders) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoOrders) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *NoOrders) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoOrders) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoOrders) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *NoOrders) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *NoOrders) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *NoOrders) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *NoOrders) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *NoOrders) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *NoOrders) SetDesignation(v string) { m.Designation = &v } +func (m *NoOrders) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *NoOrders) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *NoOrders) SetNetMoney(v float64) { m.NetMoney = &v } //NoAllocs is a repeating group in NoOrders type NoAllocs struct { @@ -236,15 +245,16 @@ type NoAllocs struct { AllocAccount *string `fix:"79"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in NoOrders type NoTradingSessions struct { diff --git a/fix43/newordermultileg/NewOrderMultileg.go b/fix43/newordermultileg/NewOrderMultileg.go index 55887d647..6ec94d8a7 100644 --- a/fix43/newordermultileg/NewOrderMultileg.go +++ b/fix43/newordermultileg/NewOrderMultileg.go @@ -41,14 +41,14 @@ func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionS //NoLegs is a repeating group in NewOrderMultileg type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -59,12 +59,14 @@ type NoLegs struct { LegFutSettDate *string `fix:"588"` } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlmntTyp(v string) { m.LegSettlmntTyp = &v } -func (m *NoLegs) SetLegFutSettDate(v string) { m.LegFutSettDate = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlmntTyp(v string) { m.LegSettlmntTyp = &v } +func (m *NoLegs) SetLegFutSettDate(v string) { m.LegFutSettDate = &v } //Message is a NewOrderMultileg FIX Message type Message struct { @@ -76,8 +78,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderMultileg. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderMultileg. + Parties *parties.Parties //Account is a non-required field for NewOrderMultileg. Account *string `fix:"1"` //AccountType is a non-required field for NewOrderMultileg. @@ -114,7 +116,7 @@ type Message struct { ProcessCode *string `fix:"81"` //Side is a required field for NewOrderMultileg. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for NewOrderMultileg. instrument.Instrument //PrevClosePx is a non-required field for NewOrderMultileg. PrevClosePx *float64 `fix:"140"` @@ -126,7 +128,7 @@ type Message struct { TransactTime time.Time `fix:"60"` //QuantityType is a non-required field for NewOrderMultileg. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for NewOrderMultileg. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderMultileg. OrdType string `fix:"40"` @@ -156,8 +158,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderMultileg. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderMultileg. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderMultileg. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderMultileg. @@ -204,66 +206,70 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIid(v string) { m.IOIid = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIid(v string) { m.IOIid = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/newordersingle/NewOrderSingle.go b/fix43/newordersingle/NewOrderSingle.go index f7b547b50..45f3ef846 100644 --- a/fix43/newordersingle/NewOrderSingle.go +++ b/fix43/newordersingle/NewOrderSingle.go @@ -22,15 +22,16 @@ type NoAllocs struct { AllocAccount *string `fix:"79"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in NewOrderSingle type NoTradingSessions struct { @@ -53,8 +54,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderSingle. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderSingle. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderSingle. TradeOriginationDate *string `fix:"229"` //Account is a non-required field for NewOrderSingle. @@ -91,7 +92,7 @@ type Message struct { NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //ProcessCode is a non-required field for NewOrderSingle. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NewOrderSingle. instrument.Instrument //PrevClosePx is a non-required field for NewOrderSingle. PrevClosePx *float64 `fix:"140"` @@ -101,11 +102,11 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderSingle. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderSingle. + Stipulations *stipulations.Stipulations //QuantityType is a non-required field for NewOrderSingle. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for NewOrderSingle. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderSingle. OrdType string `fix:"40"` @@ -115,10 +116,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderSingle. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderSingle. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderSingle. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderSingle. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderSingle. @@ -139,8 +140,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderSingle. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderSingle. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderSingle. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderSingle. @@ -197,71 +198,80 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIid(v string) { m.IOIid = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetRule80A(v string) { m.Rule80A = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIid(v string) { m.IOIid = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetRule80A(v string) { m.Rule80A = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/news/News.go b/fix43/news/News.go index 2f48915e7..c40a77b90 100644 --- a/fix43/news/News.go +++ b/fix43/news/News.go @@ -22,10 +22,12 @@ func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } //NoRelatedSym is a repeating group in News type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } + //LinesOfText is a repeating group in News type LinesOfText struct { //Text is a required field for LinesOfText. diff --git a/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go index b3dce8da6..ba7399166 100644 --- a/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix43/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -21,15 +21,16 @@ type NoAllocs struct { AllocAccount *string `fix:"79"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in OrderCancelReplaceRequest type NoTradingSessions struct { @@ -48,8 +49,8 @@ type Message struct { fix43.Header //OrderID is a non-required field for OrderCancelReplaceRequest. OrderID *string `fix:"37"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderCancelReplaceRequest. + Parties *parties.Parties //TradeOriginationDate is a non-required field for OrderCancelReplaceRequest. TradeOriginationDate *string `fix:"229"` //OrigClOrdID is a required field for OrderCancelReplaceRequest. @@ -96,7 +97,7 @@ type Message struct { ExDestination *string `fix:"100"` //NoTradingSessions is a non-required field for OrderCancelReplaceRequest. NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` - //Instrument Component + //Instrument is a required component for OrderCancelReplaceRequest. instrument.Instrument //Side is a required field for OrderCancelReplaceRequest. Side string `fix:"54"` @@ -104,7 +105,7 @@ type Message struct { TransactTime time.Time `fix:"60"` //QuantityType is a non-required field for OrderCancelReplaceRequest. QuantityType *int `fix:"465"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelReplaceRequest. orderqtydata.OrderQtyData //OrdType is a required field for OrderCancelReplaceRequest. OrdType string `fix:"40"` @@ -114,10 +115,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for OrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for OrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for OrderCancelReplaceRequest. + YieldData *yielddata.YieldData //PegDifference is a non-required field for OrderCancelReplaceRequest. PegDifference *float64 `fix:"211"` //DiscretionInst is a non-required field for OrderCancelReplaceRequest. @@ -140,8 +141,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for OrderCancelReplaceRequest. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for OrderCancelReplaceRequest. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for OrderCancelReplaceRequest. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for OrderCancelReplaceRequest. @@ -194,71 +195,79 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } -func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } -func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetRule80A(v string) { m.Rule80A = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQuantityType(v int) { m.QuantityType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPegDifference(v float64) { m.PegDifference = &v } +func (m *Message) SetDiscretionInst(v string) { m.DiscretionInst = &v } +func (m *Message) SetDiscretionOffset(v float64) { m.DiscretionOffset = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetRule80A(v string) { m.Rule80A = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/ordercancelrequest/OrderCancelRequest.go b/fix43/ordercancelrequest/OrderCancelRequest.go index 520458dcc..caced8094 100644 --- a/fix43/ordercancelrequest/OrderCancelRequest.go +++ b/fix43/ordercancelrequest/OrderCancelRequest.go @@ -33,15 +33,15 @@ type Message struct { Account *string `fix:"1"` //AccountType is a non-required field for OrderCancelRequest. AccountType *int `fix:"581"` - //Parties Component - parties.Parties - //Instrument Component + //Parties is a non-required component for OrderCancelRequest. + Parties *parties.Parties + //Instrument is a required component for OrderCancelRequest. instrument.Instrument //Side is a required field for OrderCancelRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelRequest. TransactTime time.Time `fix:"60"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelRequest. orderqtydata.OrderQtyData //ComplianceID is a non-required field for OrderCancelRequest. ComplianceID *string `fix:"376"` @@ -57,21 +57,24 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/ordermasscancelreport/OrderMassCancelReport.go b/fix43/ordermasscancelreport/OrderMassCancelReport.go index 1b9e0aa4d..fba732e52 100644 --- a/fix43/ordermasscancelreport/OrderMassCancelReport.go +++ b/fix43/ordermasscancelreport/OrderMassCancelReport.go @@ -50,10 +50,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelReport. Side *string `fix:"54"` //TransactTime is a non-required field for OrderMassCancelReport. @@ -81,11 +81,15 @@ func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrd func (m *Message) SetNoAffectedOrders(v []NoAffectedOrders) { m.NoAffectedOrders = v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/ordermasscancelrequest/OrderMassCancelRequest.go b/fix43/ordermasscancelrequest/OrderMassCancelRequest.go index 7a2a629e4..00b33502c 100644 --- a/fix43/ordermasscancelrequest/OrderMassCancelRequest.go +++ b/fix43/ordermasscancelrequest/OrderMassCancelRequest.go @@ -24,10 +24,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelRequest. Side *string `fix:"54"` //TransactTime is a required field for OrderMassCancelRequest. @@ -44,16 +44,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/ordermassstatusrequest/OrderMassStatusRequest.go b/fix43/ordermassstatusrequest/OrderMassStatusRequest.go index 2fb316e00..e3540bab5 100644 --- a/fix43/ordermassstatusrequest/OrderMassStatusRequest.go +++ b/fix43/ordermassstatusrequest/OrderMassStatusRequest.go @@ -18,18 +18,18 @@ type Message struct { MassStatusReqID string `fix:"584"` //MassStatusReqType is a required field for OrderMassStatusRequest. MassStatusReqType int `fix:"585"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassStatusRequest. + Parties *parties.Parties //Account is a non-required field for OrderMassStatusRequest. Account *string `fix:"1"` //TradingSessionID is a non-required field for OrderMassStatusRequest. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassStatusRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassStatusRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassStatusRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassStatusRequest. Side *string `fix:"54"` fix43.Trailer @@ -38,12 +38,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } -func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } +func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/orderstatusrequest/OrderStatusRequest.go b/fix43/orderstatusrequest/OrderStatusRequest.go index 2181825d1..bacd4d6a6 100644 --- a/fix43/orderstatusrequest/OrderStatusRequest.go +++ b/fix43/orderstatusrequest/OrderStatusRequest.go @@ -21,11 +21,11 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for OrderStatusRequest. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderStatusRequest. + Parties *parties.Parties //Account is a non-required field for OrderStatusRequest. Account *string `fix:"1"` - //Instrument Component + //Instrument is a required component for OrderStatusRequest. instrument.Instrument //Side is a required field for OrderStatusRequest. Side string `fix:"54"` @@ -35,12 +35,14 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetSide(v string) { m.Side = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/quote/Quote.go b/fix43/quote/Quote.go index 2f3cca52b..f96001083 100644 --- a/fix43/quote/Quote.go +++ b/fix43/quote/Quote.go @@ -22,8 +22,8 @@ type Message struct { QuoteType *int `fix:"537"` //QuoteResponseLevel is a non-required field for Quote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for Quote. + Parties *parties.Parties //Account is a non-required field for Quote. Account *string `fix:"1"` //AccountType is a non-required field for Quote. @@ -32,7 +32,7 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for Quote. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for Quote. instrument.Instrument //BidPx is a non-required field for Quote. BidPx *float64 `fix:"132"` @@ -112,50 +112,52 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/quotecancel/QuoteCancel.go b/fix43/quotecancel/QuoteCancel.go index 9bbf6cf85..22e7e3700 100644 --- a/fix43/quotecancel/QuoteCancel.go +++ b/fix43/quotecancel/QuoteCancel.go @@ -11,10 +11,12 @@ import ( //NoQuoteEntries is a repeating group in QuoteCancel type NoQuoteEntries struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument } +func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } + //Message is a QuoteCancel FIX Message type Message struct { FIXMsgType string `fix:"Z"` @@ -27,8 +29,8 @@ type Message struct { QuoteCancelType int `fix:"298"` //QuoteResponseLevel is a non-required field for QuoteCancel. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteCancel. + Parties *parties.Parties //Account is a non-required field for QuoteCancel. Account *string `fix:"1"` //AccountType is a non-required field for QuoteCancel. @@ -49,6 +51,7 @@ func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } func (m *Message) SetQuoteID(v string) { m.QuoteID = v } func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix43/quoterequest/QuoteRequest.go b/fix43/quoterequest/QuoteRequest.go index b6920c0a3..c73b1bb61 100644 --- a/fix43/quoterequest/QuoteRequest.go +++ b/fix43/quoterequest/QuoteRequest.go @@ -14,7 +14,7 @@ import ( //NoRelatedSym is a repeating group in QuoteRequest type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` @@ -28,8 +28,8 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` //TradeOriginationDate is a non-required field for NoRelatedSym. TradeOriginationDate *string `fix:"229"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Side is a non-required field for NoRelatedSym. Side *string `fix:"54"` //QuantityType is a non-required field for NoRelatedSym. @@ -54,39 +54,45 @@ type NoRelatedSym struct { TransactTime *time.Time `fix:"60"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData } -func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } -func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } -func (m *NoRelatedSym) SetQuantityType(v int) { m.QuantityType = &v } -func (m *NoRelatedSym) SetOrderQty(v float64) { m.OrderQty = &v } -func (m *NoRelatedSym) SetCashOrderQty(v float64) { m.CashOrderQty = &v } -func (m *NoRelatedSym) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *NoRelatedSym) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } -func (m *NoRelatedSym) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } -func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } -func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } +func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoRelatedSym) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } +func (m *NoRelatedSym) SetQuantityType(v int) { m.QuantityType = &v } +func (m *NoRelatedSym) SetOrderQty(v float64) { m.OrderQty = &v } +func (m *NoRelatedSym) SetCashOrderQty(v float64) { m.CashOrderQty = &v } +func (m *NoRelatedSym) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *NoRelatedSym) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } +func (m *NoRelatedSym) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } +func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } +func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } //Message is a QuoteRequest FIX Message type Message struct { diff --git a/fix43/quoterequestreject/QuoteRequestReject.go b/fix43/quoterequestreject/QuoteRequestReject.go index 4dd23e808..b17a0b249 100644 --- a/fix43/quoterequestreject/QuoteRequestReject.go +++ b/fix43/quoterequestreject/QuoteRequestReject.go @@ -14,7 +14,7 @@ import ( //NoRelatedSym is a repeating group in QuoteRequestReject type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` @@ -28,8 +28,8 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` //TradeOriginationDate is a non-required field for NoRelatedSym. TradeOriginationDate *string `fix:"229"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Side is a non-required field for NoRelatedSym. Side *string `fix:"54"` //QuantityType is a non-required field for NoRelatedSym. @@ -54,39 +54,45 @@ type NoRelatedSym struct { TransactTime *time.Time `fix:"60"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData } -func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } -func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } -func (m *NoRelatedSym) SetQuantityType(v int) { m.QuantityType = &v } -func (m *NoRelatedSym) SetOrderQty(v float64) { m.OrderQty = &v } -func (m *NoRelatedSym) SetCashOrderQty(v float64) { m.CashOrderQty = &v } -func (m *NoRelatedSym) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *NoRelatedSym) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } -func (m *NoRelatedSym) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } -func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } -func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } +func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoRelatedSym) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } +func (m *NoRelatedSym) SetQuantityType(v int) { m.QuantityType = &v } +func (m *NoRelatedSym) SetOrderQty(v float64) { m.OrderQty = &v } +func (m *NoRelatedSym) SetCashOrderQty(v float64) { m.CashOrderQty = &v } +func (m *NoRelatedSym) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *NoRelatedSym) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } +func (m *NoRelatedSym) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } +func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } +func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } //Message is a QuoteRequestReject FIX Message type Message struct { diff --git a/fix43/quotestatusreport/QuoteStatusReport.go b/fix43/quotestatusreport/QuoteStatusReport.go index 443b0e481..eb0325ff6 100644 --- a/fix43/quotestatusreport/QuoteStatusReport.go +++ b/fix43/quotestatusreport/QuoteStatusReport.go @@ -22,8 +22,8 @@ type Message struct { QuoteID string `fix:"117"` //QuoteType is a non-required field for QuoteStatusReport. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteStatusReport. + Parties *parties.Parties //Account is a non-required field for QuoteStatusReport. Account *string `fix:"1"` //AccountType is a non-required field for QuoteStatusReport. @@ -32,7 +32,7 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteStatusReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteStatusReport. instrument.Instrument //BidPx is a non-required field for QuoteStatusReport. BidPx *float64 `fix:"132"` @@ -106,47 +106,49 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetFutSettDate2(v string) { m.FutSettDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/quotestatusrequest/QuoteStatusRequest.go b/fix43/quotestatusrequest/QuoteStatusRequest.go index b286ff00c..904a29f4c 100644 --- a/fix43/quotestatusrequest/QuoteStatusRequest.go +++ b/fix43/quotestatusrequest/QuoteStatusRequest.go @@ -17,10 +17,10 @@ type Message struct { QuoteStatusReqID *string `fix:"649"` //QuoteID is a non-required field for QuoteStatusRequest. QuoteID *string `fix:"117"` - //Instrument Component + //Instrument is a required component for QuoteStatusRequest. instrument.Instrument - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteStatusRequest. + Parties *parties.Parties //Account is a non-required field for QuoteStatusRequest. Account *string `fix:"1"` //AccountType is a non-required field for QuoteStatusRequest. @@ -37,13 +37,15 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/registrationinstructions/RegistrationInstructions.go b/fix43/registrationinstructions/RegistrationInstructions.go index 648331ffb..3cceaad3a 100644 --- a/fix43/registrationinstructions/RegistrationInstructions.go +++ b/fix43/registrationinstructions/RegistrationInstructions.go @@ -19,8 +19,8 @@ type NoRegistDtls struct { MailingDtls *string `fix:"474"` //MailingInst is a non-required field for NoRegistDtls. MailingInst *string `fix:"482"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoRegistDtls. + NestedParties *nestedparties.NestedParties //OwnerType is a non-required field for NoRegistDtls. OwnerType *int `fix:"522"` //DateOfBirth is a non-required field for NoRegistDtls. @@ -29,13 +29,14 @@ type NoRegistDtls struct { InvestorCountryOfResidence *string `fix:"475"` } -func (m *NoRegistDtls) SetRegistDetls(v string) { m.RegistDetls = &v } -func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } -func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } -func (m *NoRegistDtls) SetMailingInst(v string) { m.MailingInst = &v } -func (m *NoRegistDtls) SetOwnerType(v int) { m.OwnerType = &v } -func (m *NoRegistDtls) SetDateOfBirth(v string) { m.DateOfBirth = &v } -func (m *NoRegistDtls) SetInvestorCountryOfResidence(v string) { m.InvestorCountryOfResidence = &v } +func (m *NoRegistDtls) SetRegistDetls(v string) { m.RegistDetls = &v } +func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } +func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } +func (m *NoRegistDtls) SetMailingInst(v string) { m.MailingInst = &v } +func (m *NoRegistDtls) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoRegistDtls) SetOwnerType(v int) { m.OwnerType = &v } +func (m *NoRegistDtls) SetDateOfBirth(v string) { m.DateOfBirth = &v } +func (m *NoRegistDtls) SetInvestorCountryOfResidence(v string) { m.InvestorCountryOfResidence = &v } //NoDistribInsts is a repeating group in RegistrationInstructions type NoDistribInsts struct { @@ -75,8 +76,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructions. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructions. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructions. Account *string `fix:"1"` //RegistAcctType is a non-required field for RegistrationInstructions. @@ -99,6 +100,7 @@ func (m *Message) SetRegistID(v string) { m.RegistID = v } func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } func (m *Message) SetTaxAdvantageType(v int) { m.TaxAdvantageType = &v } diff --git a/fix43/registrationinstructionsresponse/RegistrationInstructionsResponse.go b/fix43/registrationinstructionsresponse/RegistrationInstructionsResponse.go index f70541743..bdf45dfa1 100644 --- a/fix43/registrationinstructionsresponse/RegistrationInstructionsResponse.go +++ b/fix43/registrationinstructionsresponse/RegistrationInstructionsResponse.go @@ -20,8 +20,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructionsResponse. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructionsResponse. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructionsResponse. Account *string `fix:"1"` //RegistStatus is a required field for RegistrationInstructionsResponse. @@ -40,6 +40,7 @@ func (m *Message) SetRegistID(v string) { m.RegistID = v } func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetRegistStatus(v string) { m.RegistStatus = v } func (m *Message) SetRegistRejReasonCode(v int) { m.RegistRejReasonCode = &v } diff --git a/fix43/rfqrequest/RFQRequest.go b/fix43/rfqrequest/RFQRequest.go index 3fdcb5fae..9dbb96e31 100644 --- a/fix43/rfqrequest/RFQRequest.go +++ b/fix43/rfqrequest/RFQRequest.go @@ -10,7 +10,7 @@ import ( //NoRelatedSym is a repeating group in RFQRequest type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` @@ -24,11 +24,12 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` } -func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } -func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } +func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //Message is a RFQRequest FIX Message type Message struct { diff --git a/fix43/securitydefinition/SecurityDefinition.go b/fix43/securitydefinition/SecurityDefinition.go index 79905b788..97bff294c 100644 --- a/fix43/securitydefinition/SecurityDefinition.go +++ b/fix43/securitydefinition/SecurityDefinition.go @@ -11,13 +11,14 @@ import ( //NoLegs is a repeating group in SecurityDefinition type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegCurrency is a non-required field for NoLegs. LegCurrency *string `fix:"556"` } -func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } //Message is a SecurityDefinition FIX Message type Message struct { @@ -29,8 +30,8 @@ type Message struct { SecurityResponseID string `fix:"322"` //SecurityResponseType is a required field for SecurityDefinition. SecurityResponseType int `fix:"323"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for SecurityDefinition. + Instrument *instrument.Instrument //Currency is a non-required field for SecurityDefinition. Currency *string `fix:"15"` //TradingSessionID is a non-required field for SecurityDefinition. @@ -55,18 +56,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetRoundLot(v float64) { m.RoundLot = &v } -func (m *Message) SetMinTradeVol(v float64) { m.MinTradeVol = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetRoundLot(v float64) { m.RoundLot = &v } +func (m *Message) SetMinTradeVol(v float64) { m.MinTradeVol = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go index 9849153b3..239e0cf31 100644 --- a/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix43/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -11,13 +11,14 @@ import ( //NoLegs is a repeating group in SecurityDefinitionRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegCurrency is a non-required field for NoLegs. LegCurrency *string `fix:"556"` } -func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } //Message is a SecurityDefinitionRequest FIX Message type Message struct { @@ -27,8 +28,8 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityRequestType is a required field for SecurityDefinitionRequest. SecurityRequestType int `fix:"321"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for SecurityDefinitionRequest. + Instrument *instrument.Instrument //Currency is a non-required field for SecurityDefinitionRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinitionRequest. @@ -51,16 +52,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/securitylist/SecurityList.go b/fix43/securitylist/SecurityList.go index f2f785b97..ad06e7e34 100644 --- a/fix43/securitylist/SecurityList.go +++ b/fix43/securitylist/SecurityList.go @@ -11,8 +11,8 @@ import ( //NoRelatedSym is a repeating group in SecurityList type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` //NoLegs is a non-required field for NoRelatedSym. @@ -33,25 +33,27 @@ type NoRelatedSym struct { EncodedText *string `fix:"355"` } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoRelatedSym) SetRoundLot(v float64) { m.RoundLot = &v } -func (m *NoRelatedSym) SetMinTradeVol(v float64) { m.MinTradeVol = &v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoRelatedSym) SetText(v string) { m.Text = &v } -func (m *NoRelatedSym) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoRelatedSym) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoRelatedSym) SetRoundLot(v float64) { m.RoundLot = &v } +func (m *NoRelatedSym) SetMinTradeVol(v float64) { m.MinTradeVol = &v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetText(v string) { m.Text = &v } +func (m *NoRelatedSym) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoRelatedSym) SetEncodedText(v string) { m.EncodedText = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegCurrency is a non-required field for NoLegs. LegCurrency *string `fix:"556"` } -func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegCurrency(v string) { m.LegCurrency = &v } //Message is a SecurityList FIX Message type Message struct { diff --git a/fix43/securitylistrequest/SecurityListRequest.go b/fix43/securitylistrequest/SecurityListRequest.go index e443d15c6..771cee808 100644 --- a/fix43/securitylistrequest/SecurityListRequest.go +++ b/fix43/securitylistrequest/SecurityListRequest.go @@ -16,8 +16,8 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for SecurityListRequest. SecurityListRequestType int `fix:"559"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for SecurityListRequest. + Instrument *instrument.Instrument //Currency is a non-required field for SecurityListRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityListRequest. @@ -38,15 +38,16 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/securitystatus/SecurityStatus.go b/fix43/securitystatus/SecurityStatus.go index 1a552b4d4..39f2edb3e 100644 --- a/fix43/securitystatus/SecurityStatus.go +++ b/fix43/securitystatus/SecurityStatus.go @@ -15,7 +15,7 @@ type Message struct { fix43.Header //SecurityStatusReqID is a non-required field for SecurityStatus. SecurityStatusReqID *string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatus. instrument.Instrument //Currency is a non-required field for SecurityStatus. Currency *string `fix:"15"` @@ -63,27 +63,28 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetHaltReasonChar(v string) { m.HaltReasonChar = &v } -func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } -func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } -func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } -func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } -func (m *Message) SetHighPx(v float64) { m.HighPx = &v } -func (m *Message) SetLowPx(v float64) { m.LowPx = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetHaltReasonChar(v string) { m.HaltReasonChar = &v } +func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } +func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } +func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } +func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } +func (m *Message) SetHighPx(v float64) { m.HighPx = &v } +func (m *Message) SetLowPx(v float64) { m.LowPx = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/securitystatusrequest/SecurityStatusRequest.go b/fix43/securitystatusrequest/SecurityStatusRequest.go index 5602717e9..e3ac6b9f6 100644 --- a/fix43/securitystatusrequest/SecurityStatusRequest.go +++ b/fix43/securitystatusrequest/SecurityStatusRequest.go @@ -14,7 +14,7 @@ type Message struct { fix43.Header //SecurityStatusReqID is a required field for SecurityStatusRequest. SecurityStatusReqID string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatusRequest. instrument.Instrument //Currency is a non-required field for SecurityStatusRequest. Currency *string `fix:"15"` @@ -30,11 +30,12 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/settlementinstructions/SettlementInstructions.go b/fix43/settlementinstructions/SettlementInstructions.go index 4361e1e69..c30d24788 100644 --- a/fix43/settlementinstructions/SettlementInstructions.go +++ b/fix43/settlementinstructions/SettlementInstructions.go @@ -47,8 +47,8 @@ type Message struct { EffectiveTime *time.Time `fix:"168"` //TransactTime is a required field for SettlementInstructions. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for SettlementInstructions. + Parties *parties.Parties //StandInstDbType is a non-required field for SettlementInstructions. StandInstDbType *int `fix:"169"` //StandInstDbName is a non-required field for SettlementInstructions. @@ -128,6 +128,7 @@ func (m *Message) SetSide(v string) { m.Side = &v } func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetStandInstDbType(v int) { m.StandInstDbType = &v } func (m *Message) SetStandInstDbName(v string) { m.StandInstDbName = &v } func (m *Message) SetStandInstDbID(v string) { m.StandInstDbID = &v } diff --git a/fix43/tradecapturereport/TradeCaptureReport.go b/fix43/tradecapturereport/TradeCaptureReport.go index b1409b5c5..6177a1227 100644 --- a/fix43/tradecapturereport/TradeCaptureReport.go +++ b/fix43/tradecapturereport/TradeCaptureReport.go @@ -22,8 +22,8 @@ type NoSides struct { SecondaryOrderID *string `fix:"198"` //ClOrdID is a non-required field for NoSides. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AccountType is a non-required field for NoSides. @@ -58,8 +58,8 @@ type NoSides struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for NoSides. TradingSessionSubID *string `fix:"625"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //GrossTradeAmt is a non-required field for NoSides. GrossTradeAmt *float64 `fix:"381"` //NumDaysInterest is a non-required field for NoSides. @@ -104,6 +104,7 @@ func (m *NoSides) SetSide(v string) { m.Side func (m *NoSides) SetOrderID(v string) { m.OrderID = v } func (m *NoSides) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } func (m *NoSides) SetAccount(v string) { m.Account = &v } func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } func (m *NoSides) SetProcessCode(v string) { m.ProcessCode = &v } @@ -121,6 +122,7 @@ func (m *NoSides) SetCustOrderCapacity(v int) { m.Cust func (m *NoSides) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } func (m *NoSides) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoSides) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoSides) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } func (m *NoSides) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } func (m *NoSides) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } func (m *NoSides) SetExDate(v string) { m.ExDate = &v } @@ -199,10 +201,10 @@ type Message struct { ExecRestatementReason *int `fix:"378"` //PreviouslyReported is a required field for TradeCaptureReport. PreviouslyReported bool `fix:"570"` - //Instrument Component + //Instrument is a required component for TradeCaptureReport. instrument.Instrument - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for TradeCaptureReport. + OrderQtyData *orderqtydata.OrderQtyData //LastQty is a required field for TradeCaptureReport. LastQty float64 `fix:"32"` //LastPx is a required field for TradeCaptureReport. @@ -233,27 +235,29 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = v } -func (m *Message) SetTradeReportTransType(v string) { m.TradeReportTransType = &v } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = v } -func (m *Message) SetLastPx(v float64) { m.LastPx = v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } -func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = v } +func (m *Message) SetTradeReportTransType(v string) { m.TradeReportTransType = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = v } +func (m *Message) SetLastPx(v float64) { m.LastPx = v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetSettlmntTyp(v string) { m.SettlmntTyp = &v } +func (m *Message) SetFutSettDate(v string) { m.FutSettDate = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go b/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go index b05337e12..90cc2ead3 100644 --- a/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go +++ b/fix43/tradecapturereportrequest/TradeCaptureReportRequest.go @@ -39,10 +39,10 @@ type Message struct { ClOrdID *string `fix:"11"` //MatchStatus is a non-required field for TradeCaptureReportRequest. MatchStatus *string `fix:"573"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument + //Parties is a non-required component for TradeCaptureReportRequest. + Parties *parties.Parties + //Instrument is a non-required component for TradeCaptureReportRequest. + Instrument *instrument.Instrument //NoDates is a non-required field for TradeCaptureReportRequest. NoDates []NoDates `fix:"580,omitempty"` //Side is a non-required field for TradeCaptureReportRequest. @@ -63,20 +63,22 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetNoDates(v []NoDates) { m.NoDates = v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetNoDates(v []NoDates) { m.NoDates = v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/advertisement/Advertisement.go b/fix44/advertisement/Advertisement.go index d9c5b365b..884f50182 100644 --- a/fix44/advertisement/Advertisement.go +++ b/fix44/advertisement/Advertisement.go @@ -13,14 +13,20 @@ import ( //NoLegs is a repeating group in Advertisement type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in Advertisement type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a Advertisement FIX Message @@ -33,7 +39,7 @@ type Message struct { AdvTransType string `fix:"5"` //AdvRefID is a non-required field for Advertisement. AdvRefID *string `fix:"3"` - //Instrument Component + //Instrument is a required component for Advertisement. instrument.Instrument //NoLegs is a non-required field for Advertisement. NoLegs []NoLegs `fix:"555,omitempty"` @@ -73,25 +79,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAdvId(v string) { m.AdvId = v } -func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } -func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetAdvSide(v string) { m.AdvSide = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetAdvId(v string) { m.AdvId = v } +func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } +func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetAdvSide(v string) { m.AdvSide = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/allocationinstruction/AllocationInstruction.go b/fix44/allocationinstruction/AllocationInstruction.go index 3a09b47b3..845ee0815 100644 --- a/fix44/allocationinstruction/AllocationInstruction.go +++ b/fix44/allocationinstruction/AllocationInstruction.go @@ -33,8 +33,8 @@ type NoOrders struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoOrders. + NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. @@ -43,14 +43,15 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } -func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } -func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoOrders) SetListID(v string) { m.ListID = &v } -func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } -func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } -func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } +func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } +func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoOrders) SetListID(v string) { m.ListID = &v } +func (m *NoOrders) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } +func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } +func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } //NoExecs is a repeating group in AllocationInstruction type NoExecs struct { @@ -77,16 +78,22 @@ func (m *NoExecs) SetLastCapacity(v string) { m.LastCapacity = &v } //NoUnderlyings is a repeating group in AllocationInstruction type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in AllocationInstruction type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoAllocs is a repeating group in AllocationInstruction type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. @@ -103,8 +110,8 @@ type NoAllocs struct { IndividualAllocID *string `fix:"467"` //ProcessCode is a non-required field for NoAllocs. ProcessCode *string `fix:"81"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //NotifyBrokerOfCredit is a non-required field for NoAllocs. NotifyBrokerOfCredit *bool `fix:"208"` //AllocHandlInst is a non-required field for NoAllocs. @@ -115,8 +122,8 @@ type NoAllocs struct { EncodedAllocTextLen *int `fix:"360"` //EncodedAllocText is a non-required field for NoAllocs. EncodedAllocText *string `fix:"361"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoAllocs. + CommissionData *commissiondata.CommissionData //AllocAvgPx is a non-required field for NoAllocs. AllocAvgPx *float64 `fix:"153"` //AllocNetMoney is a non-required field for NoAllocs. @@ -145,8 +152,8 @@ type NoAllocs struct { ClearingFeeIndicator *string `fix:"635"` //AllocSettlInstType is a non-required field for NoAllocs. AllocSettlInstType *int `fix:"780"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoAllocs. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData } func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } @@ -156,11 +163,13 @@ func (m *NoAllocs) SetAllocPrice(v float64) { m.All func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } func (m *NoAllocs) SetNotifyBrokerOfCredit(v bool) { m.NotifyBrokerOfCredit = &v } func (m *NoAllocs) SetAllocHandlInst(v int) { m.AllocHandlInst = &v } func (m *NoAllocs) SetAllocText(v string) { m.AllocText = &v } func (m *NoAllocs) SetEncodedAllocTextLen(v int) { m.EncodedAllocTextLen = &v } func (m *NoAllocs) SetEncodedAllocText(v string) { m.EncodedAllocText = &v } +func (m *NoAllocs) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } func (m *NoAllocs) SetAllocAvgPx(v float64) { m.AllocAvgPx = &v } func (m *NoAllocs) SetAllocNetMoney(v float64) { m.AllocNetMoney = &v } func (m *NoAllocs) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } @@ -175,6 +184,9 @@ func (m *NoAllocs) SetNoMiscFees(v []NoMiscFees) { m.NoM func (m *NoAllocs) SetNoClearingInstructions(v []NoClearingInstructions) { m.NoClearingInstructions = v } func (m *NoAllocs) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } func (m *NoAllocs) SetAllocSettlInstType(v int) { m.AllocSettlInstType = &v } +func (m *NoAllocs) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} //NoMiscFees is a repeating group in NoAllocs type NoMiscFees struct { @@ -239,12 +251,12 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationInstruction. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationInstruction. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails + //InstrumentExtension is a non-required component for AllocationInstruction. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationInstruction. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for AllocationInstruction. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for AllocationInstruction. @@ -267,14 +279,14 @@ type Message struct { AvgPx float64 `fix:"6"` //AvgParPx is a non-required field for AllocationInstruction. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationInstruction. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationInstruction. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationInstruction. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstruction. + Parties *parties.Parties //TradeDate is a required field for AllocationInstruction. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationInstruction. @@ -321,10 +333,10 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationInstruction. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationInstruction. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationInstruction. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationInstruction. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationInstruction. @@ -337,62 +349,73 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = v } -func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = v } +func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/allocationinstructionack/AllocationInstructionAck.go b/fix44/allocationinstructionack/AllocationInstructionAck.go index 7d92c3e43..8f77a0e4e 100644 --- a/fix44/allocationinstructionack/AllocationInstructionAck.go +++ b/fix44/allocationinstructionack/AllocationInstructionAck.go @@ -44,8 +44,8 @@ type Message struct { fix44.Header //AllocID is a required field for AllocationInstructionAck. AllocID string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstructionAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationInstructionAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationInstructionAck. @@ -81,6 +81,7 @@ type Message struct { func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } diff --git a/fix44/allocationreport/AllocationReport.go b/fix44/allocationreport/AllocationReport.go index 5772450cd..0b45fe264 100644 --- a/fix44/allocationreport/AllocationReport.go +++ b/fix44/allocationreport/AllocationReport.go @@ -33,8 +33,8 @@ type NoOrders struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoOrders. + NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. @@ -43,14 +43,15 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } -func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } -func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoOrders) SetListID(v string) { m.ListID = &v } -func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } -func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } -func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } +func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } +func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoOrders) SetListID(v string) { m.ListID = &v } +func (m *NoOrders) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } +func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } +func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } //NoExecs is a repeating group in AllocationReport type NoExecs struct { @@ -77,16 +78,22 @@ func (m *NoExecs) SetLastCapacity(v string) { m.LastCapacity = &v } //NoUnderlyings is a repeating group in AllocationReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in AllocationReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoAllocs is a repeating group in AllocationReport type NoAllocs struct { //AllocAccount is a non-required field for NoAllocs. @@ -103,8 +110,8 @@ type NoAllocs struct { IndividualAllocID *string `fix:"467"` //ProcessCode is a non-required field for NoAllocs. ProcessCode *string `fix:"81"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //NotifyBrokerOfCredit is a non-required field for NoAllocs. NotifyBrokerOfCredit *bool `fix:"208"` //AllocHandlInst is a non-required field for NoAllocs. @@ -115,8 +122,8 @@ type NoAllocs struct { EncodedAllocTextLen *int `fix:"360"` //EncodedAllocText is a non-required field for NoAllocs. EncodedAllocText *string `fix:"361"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoAllocs. + CommissionData *commissiondata.CommissionData //AllocAvgPx is a non-required field for NoAllocs. AllocAvgPx *float64 `fix:"153"` //AllocNetMoney is a non-required field for NoAllocs. @@ -145,8 +152,8 @@ type NoAllocs struct { ClearingFeeIndicator *string `fix:"635"` //AllocSettlInstType is a non-required field for NoAllocs. AllocSettlInstType *int `fix:"780"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoAllocs. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData } func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } @@ -156,11 +163,13 @@ func (m *NoAllocs) SetAllocPrice(v float64) { m.All func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } func (m *NoAllocs) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } func (m *NoAllocs) SetNotifyBrokerOfCredit(v bool) { m.NotifyBrokerOfCredit = &v } func (m *NoAllocs) SetAllocHandlInst(v int) { m.AllocHandlInst = &v } func (m *NoAllocs) SetAllocText(v string) { m.AllocText = &v } func (m *NoAllocs) SetEncodedAllocTextLen(v int) { m.EncodedAllocTextLen = &v } func (m *NoAllocs) SetEncodedAllocText(v string) { m.EncodedAllocText = &v } +func (m *NoAllocs) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } func (m *NoAllocs) SetAllocAvgPx(v float64) { m.AllocAvgPx = &v } func (m *NoAllocs) SetAllocNetMoney(v float64) { m.AllocNetMoney = &v } func (m *NoAllocs) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } @@ -175,6 +184,9 @@ func (m *NoAllocs) SetNoMiscFees(v []NoMiscFees) { m.NoM func (m *NoAllocs) SetNoClearingInstructions(v []NoClearingInstructions) { m.NoClearingInstructions = v } func (m *NoAllocs) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } func (m *NoAllocs) SetAllocSettlInstType(v int) { m.AllocSettlInstType = &v } +func (m *NoAllocs) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} //NoMiscFees is a repeating group in NoAllocs type NoMiscFees struct { @@ -247,12 +259,12 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationReport. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationReport. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails + //InstrumentExtension is a non-required component for AllocationReport. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationReport. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for AllocationReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for AllocationReport. @@ -275,14 +287,14 @@ type Message struct { AvgPx float64 `fix:"6"` //AvgParPx is a non-required field for AllocationReport. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationReport. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationReport. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReport. + Parties *parties.Parties //TradeDate is a required field for AllocationReport. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationReport. @@ -329,10 +341,10 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationReport. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationReport. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationReport. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationReport. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationReport. @@ -345,66 +357,77 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = v } -func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = v } +func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/allocationreportack/AllocationReportAck.go b/fix44/allocationreportack/AllocationReportAck.go index d8d6db586..e1496b754 100644 --- a/fix44/allocationreportack/AllocationReportAck.go +++ b/fix44/allocationreportack/AllocationReportAck.go @@ -46,8 +46,8 @@ type Message struct { AllocReportID string `fix:"755"` //AllocID is a required field for AllocationReportAck. AllocID string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReportAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationReportAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationReportAck. @@ -84,6 +84,7 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } diff --git a/fix44/assignmentreport/AssignmentReport.go b/fix44/assignmentreport/AssignmentReport.go index 71ff82fee..4091b986b 100644 --- a/fix44/assignmentreport/AssignmentReport.go +++ b/fix44/assignmentreport/AssignmentReport.go @@ -15,14 +15,20 @@ import ( //NoLegs is a repeating group in AssignmentReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in AssignmentReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a AssignmentReport FIX Message @@ -35,23 +41,23 @@ type Message struct { TotNumAssignmentReports *int `fix:"832"` //LastRptRequested is a non-required field for AssignmentReport. LastRptRequested *bool `fix:"912"` - //Parties Component + //Parties is a required component for AssignmentReport. parties.Parties //Account is a non-required field for AssignmentReport. Account *string `fix:"1"` //AccountType is a required field for AssignmentReport. AccountType int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for AssignmentReport. + Instrument *instrument.Instrument //Currency is a non-required field for AssignmentReport. Currency *string `fix:"15"` //NoLegs is a non-required field for AssignmentReport. NoLegs []NoLegs `fix:"555,omitempty"` //NoUnderlyings is a non-required field for AssignmentReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` - //PositionQty Component + //PositionQty is a required component for AssignmentReport. positionqty.PositionQty - //PositionAmountData Component + //PositionAmountData is a required component for AssignmentReport. positionamountdata.PositionAmountData //ThresholdAmount is a non-required field for AssignmentReport. ThresholdAmount *float64 `fix:"834"` @@ -89,29 +95,35 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } -func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = v } -func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = v } -func (m *Message) SetUnderlyingSettlPrice(v float64) { m.UnderlyingSettlPrice = v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetAssignmentMethod(v string) { m.AssignmentMethod = v } -func (m *Message) SetAssignmentUnit(v float64) { m.AssignmentUnit = &v } -func (m *Message) SetOpenInterest(v float64) { m.OpenInterest = v } -func (m *Message) SetExerciseMethod(v string) { m.ExerciseMethod = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } +func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = v +} +func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = v } +func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = v } +func (m *Message) SetUnderlyingSettlPrice(v float64) { m.UnderlyingSettlPrice = v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetAssignmentMethod(v string) { m.AssignmentMethod = v } +func (m *Message) SetAssignmentUnit(v float64) { m.AssignmentUnit = &v } +func (m *Message) SetOpenInterest(v float64) { m.OpenInterest = v } +func (m *Message) SetExerciseMethod(v string) { m.ExerciseMethod = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/bidresponse/BidResponse.go b/fix44/bidresponse/BidResponse.go index 407029583..5509308e5 100644 --- a/fix44/bidresponse/BidResponse.go +++ b/fix44/bidresponse/BidResponse.go @@ -10,7 +10,7 @@ import ( //NoBidComponents is a repeating group in BidResponse type NoBidComponents struct { - //CommissionData Component + //CommissionData is a required component for NoBidComponents. commissiondata.CommissionData //ListID is a non-required field for NoBidComponents. ListID *string `fix:"66"` @@ -42,20 +42,21 @@ type NoBidComponents struct { EncodedText *string `fix:"355"` } -func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } -func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } -func (m *NoBidComponents) SetSide(v string) { m.Side = &v } -func (m *NoBidComponents) SetPrice(v float64) { m.Price = &v } -func (m *NoBidComponents) SetPriceType(v int) { m.PriceType = &v } -func (m *NoBidComponents) SetFairValue(v float64) { m.FairValue = &v } -func (m *NoBidComponents) SetNetGrossInd(v int) { m.NetGrossInd = &v } -func (m *NoBidComponents) SetSettlType(v string) { m.SettlType = &v } -func (m *NoBidComponents) SetSettlDate(v string) { m.SettlDate = &v } -func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoBidComponents) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoBidComponents) SetText(v string) { m.Text = &v } -func (m *NoBidComponents) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoBidComponents) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoBidComponents) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = v } +func (m *NoBidComponents) SetListID(v string) { m.ListID = &v } +func (m *NoBidComponents) SetCountry(v string) { m.Country = &v } +func (m *NoBidComponents) SetSide(v string) { m.Side = &v } +func (m *NoBidComponents) SetPrice(v float64) { m.Price = &v } +func (m *NoBidComponents) SetPriceType(v int) { m.PriceType = &v } +func (m *NoBidComponents) SetFairValue(v float64) { m.FairValue = &v } +func (m *NoBidComponents) SetNetGrossInd(v int) { m.NetGrossInd = &v } +func (m *NoBidComponents) SetSettlType(v string) { m.SettlType = &v } +func (m *NoBidComponents) SetSettlDate(v string) { m.SettlDate = &v } +func (m *NoBidComponents) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoBidComponents) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoBidComponents) SetText(v string) { m.Text = &v } +func (m *NoBidComponents) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoBidComponents) SetEncodedText(v string) { m.EncodedText = &v } //Message is a BidResponse FIX Message type Message struct { diff --git a/fix44/collateralassignment/CollateralAssignment.go b/fix44/collateralassignment/CollateralAssignment.go index eb11f4303..72f5a0bbf 100644 --- a/fix44/collateralassignment/CollateralAssignment.go +++ b/fix44/collateralassignment/CollateralAssignment.go @@ -38,18 +38,23 @@ func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportI //NoLegs is a repeating group in CollateralAssignment type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in CollateralAssignment type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //CollAction is a non-required field for NoUnderlyings. CollAction *int `fix:"944"` } +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoUnderlyings) SetCollAction(v int) { m.CollAction = &v } //NoMiscFees is a repeating group in CollateralAssignment @@ -87,8 +92,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralAssignment. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralAssignment. + Parties *parties.Parties //Account is a non-required field for CollateralAssignment. Account *string `fix:"1"` //AccountType is a non-required field for CollateralAssignment. @@ -105,10 +110,10 @@ type Message struct { NoExecs []NoExecs `fix:"124,omitempty"` //NoTrades is a non-required field for CollateralAssignment. NoTrades []NoTrades `fix:"897,omitempty"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for CollateralAssignment. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralAssignment. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralAssignment. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralAssignment. @@ -127,8 +132,8 @@ type Message struct { TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralAssignment. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralAssignment. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralAssignment. Side *string `fix:"54"` //NoMiscFees is a non-required field for CollateralAssignment. @@ -145,12 +150,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralAssignment. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralAssignment. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralAssignment. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralAssignment. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralAssignment. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralAssignment. @@ -173,46 +178,57 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } -func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } +func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/collateralinquiry/CollateralInquiry.go b/fix44/collateralinquiry/CollateralInquiry.go index aed2f1b1a..32449b5ff 100644 --- a/fix44/collateralinquiry/CollateralInquiry.go +++ b/fix44/collateralinquiry/CollateralInquiry.go @@ -45,14 +45,20 @@ func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportI //NoLegs is a repeating group in CollateralInquiry type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in CollateralInquiry type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a CollateralInquiry FIX Message @@ -69,8 +75,8 @@ type Message struct { ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for CollateralInquiry. ResponseDestination *string `fix:"726"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiry. + Parties *parties.Parties //Account is a non-required field for CollateralInquiry. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiry. @@ -87,10 +93,10 @@ type Message struct { NoExecs []NoExecs `fix:"124,omitempty"` //NoTrades is a non-required field for CollateralInquiry. NoTrades []NoTrades `fix:"897,omitempty"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for CollateralInquiry. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiry. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiry. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiry. @@ -109,8 +115,8 @@ type Message struct { TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralInquiry. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralInquiry. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralInquiry. Side *string `fix:"54"` //Price is a non-required field for CollateralInquiry. @@ -125,12 +131,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralInquiry. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralInquiry. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralInquiry. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralInquiry. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralInquiry. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralInquiry. @@ -153,43 +159,54 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } -func (m *Message) SetNoCollInquiryQualifier(v []NoCollInquiryQualifier) { m.NoCollInquiryQualifier = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } +func (m *Message) SetNoCollInquiryQualifier(v []NoCollInquiryQualifier) { m.NoCollInquiryQualifier = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/collateralinquiryack/CollateralInquiryAck.go b/fix44/collateralinquiryack/CollateralInquiryAck.go index 0d0521921..7aaded880 100644 --- a/fix44/collateralinquiryack/CollateralInquiryAck.go +++ b/fix44/collateralinquiryack/CollateralInquiryAck.go @@ -41,14 +41,20 @@ func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportI //NoLegs is a repeating group in CollateralInquiryAck type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in CollateralInquiryAck type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a CollateralInquiryAck FIX Message @@ -65,8 +71,8 @@ type Message struct { NoCollInquiryQualifier []NoCollInquiryQualifier `fix:"938,omitempty"` //TotNumReports is a non-required field for CollateralInquiryAck. TotNumReports *int `fix:"911"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiryAck. + Parties *parties.Parties //Account is a non-required field for CollateralInquiryAck. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiryAck. @@ -83,10 +89,10 @@ type Message struct { NoExecs []NoExecs `fix:"124,omitempty"` //NoTrades is a non-required field for CollateralInquiryAck. NoTrades []NoTrades `fix:"897,omitempty"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for CollateralInquiryAck. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiryAck. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiryAck. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiryAck. @@ -125,35 +131,38 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } -func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } -func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } -func (m *Message) SetNoCollInquiryQualifier(v []NoCollInquiryQualifier) { m.NoCollInquiryQualifier = v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } +func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } +func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } +func (m *Message) SetNoCollInquiryQualifier(v []NoCollInquiryQualifier) { m.NoCollInquiryQualifier = v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/collateralreport/CollateralReport.go b/fix44/collateralreport/CollateralReport.go index 69a5b34be..338606e82 100644 --- a/fix44/collateralreport/CollateralReport.go +++ b/fix44/collateralreport/CollateralReport.go @@ -37,14 +37,20 @@ func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportI //NoLegs is a repeating group in CollateralReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in CollateralReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoMiscFees is a repeating group in CollateralReport @@ -78,8 +84,8 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for CollateralReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralReport. + Parties *parties.Parties //Account is a non-required field for CollateralReport. Account *string `fix:"1"` //AccountType is a non-required field for CollateralReport. @@ -96,10 +102,10 @@ type Message struct { NoExecs []NoExecs `fix:"124,omitempty"` //NoTrades is a non-required field for CollateralReport. NoTrades []NoTrades `fix:"897,omitempty"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for CollateralReport. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralReport. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralReport. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralReport. @@ -118,8 +124,8 @@ type Message struct { TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralReport. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralReport. Side *string `fix:"54"` //NoMiscFees is a non-required field for CollateralReport. @@ -136,12 +142,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralReport. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralReport. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralReport. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralReport. @@ -164,44 +170,55 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRptID(v string) { m.CollRptID = v } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } -func (m *Message) SetCollStatus(v int) { m.CollStatus = v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollRptID(v string) { m.CollRptID = v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } +func (m *Message) SetCollStatus(v int) { m.CollStatus = v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/collateralrequest/CollateralRequest.go b/fix44/collateralrequest/CollateralRequest.go index 9e1961120..33a0a9fc2 100644 --- a/fix44/collateralrequest/CollateralRequest.go +++ b/fix44/collateralrequest/CollateralRequest.go @@ -37,18 +37,23 @@ func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportI //NoLegs is a repeating group in CollateralRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in CollateralRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //CollAction is a non-required field for NoUnderlyings. CollAction *int `fix:"944"` } +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoUnderlyings) SetCollAction(v int) { m.CollAction = &v } //NoMiscFees is a repeating group in CollateralRequest @@ -80,8 +85,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralRequest. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralRequest. + Parties *parties.Parties //Account is a non-required field for CollateralRequest. Account *string `fix:"1"` //AccountType is a non-required field for CollateralRequest. @@ -98,10 +103,10 @@ type Message struct { NoExecs []NoExecs `fix:"124,omitempty"` //NoTrades is a non-required field for CollateralRequest. NoTrades []NoTrades `fix:"897,omitempty"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for CollateralRequest. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralRequest. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralRequest. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralRequest. @@ -120,8 +125,8 @@ type Message struct { TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralRequest. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralRequest. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralRequest. Side *string `fix:"54"` //NoMiscFees is a non-required field for CollateralRequest. @@ -138,10 +143,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralRequest. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralRequest. + Stipulations *stipulations.Stipulations //TradingSessionID is a non-required field for CollateralRequest. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralRequest. @@ -164,43 +169,51 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollReqID(v string) { m.CollReqID = v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/collateralresponse/CollateralResponse.go b/fix44/collateralresponse/CollateralResponse.go index 54f2a42ba..7e73f25c3 100644 --- a/fix44/collateralresponse/CollateralResponse.go +++ b/fix44/collateralresponse/CollateralResponse.go @@ -37,18 +37,23 @@ func (m *NoTrades) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportI //NoLegs is a repeating group in CollateralResponse type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in CollateralResponse type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //CollAction is a non-required field for NoUnderlyings. CollAction *int `fix:"944"` } +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoUnderlyings) SetCollAction(v int) { m.CollAction = &v } //NoMiscFees is a repeating group in CollateralResponse @@ -88,8 +93,8 @@ type Message struct { CollAsgnRejectReason *int `fix:"906"` //TransactTime is a required field for CollateralResponse. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralResponse. + Parties *parties.Parties //Account is a non-required field for CollateralResponse. Account *string `fix:"1"` //AccountType is a non-required field for CollateralResponse. @@ -106,10 +111,10 @@ type Message struct { NoExecs []NoExecs `fix:"124,omitempty"` //NoTrades is a non-required field for CollateralResponse. NoTrades []NoTrades `fix:"897,omitempty"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for CollateralResponse. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralResponse. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralResponse. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralResponse. @@ -128,8 +133,8 @@ type Message struct { TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralResponse. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralResponse. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralResponse. Side *string `fix:"54"` //NoMiscFees is a non-required field for CollateralResponse. @@ -146,10 +151,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralResponse. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralResponse. + Stipulations *stipulations.Stipulations //Text is a non-required field for CollateralResponse. Text *string `fix:"58"` //EncodedTextLen is a non-required field for CollateralResponse. @@ -162,42 +167,50 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRespID(v string) { m.CollRespID = v } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } -func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } -func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } -func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollRespID(v string) { m.CollRespID = v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } +func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } +func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetNoExecs(v []NoExecs) { m.NoExecs = v } +func (m *Message) SetNoTrades(v []NoTrades) { m.NoTrades = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/confirmation/Confirmation.go b/fix44/confirmation/Confirmation.go index addaeb91e..62110e98f 100644 --- a/fix44/confirmation/Confirmation.go +++ b/fix44/confirmation/Confirmation.go @@ -33,8 +33,8 @@ type NoOrders struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoOrders. + NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. @@ -43,27 +43,34 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } -func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } -func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoOrders) SetListID(v string) { m.ListID = &v } -func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } -func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } -func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } +func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } +func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoOrders) SetListID(v string) { m.ListID = &v } +func (m *NoOrders) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } +func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } +func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } //NoUnderlyings is a repeating group in Confirmation type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in Confirmation type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoCapacities is a repeating group in Confirmation type NoCapacities struct { //OrderCapacity is a required field for NoCapacities. @@ -115,8 +122,8 @@ type Message struct { LegalConfirm *bool `fix:"650"` //ConfirmStatus is a required field for Confirmation. ConfirmStatus int `fix:"665"` - //Parties Component - parties.Parties + //Parties is a non-required component for Confirmation. + Parties *parties.Parties //NoOrders is a non-required field for Confirmation. NoOrders []NoOrders `fix:"73,omitempty"` //AllocID is a non-required field for Confirmation. @@ -129,20 +136,20 @@ type Message struct { TransactTime time.Time `fix:"60"` //TradeDate is a required field for Confirmation. TradeDate string `fix:"75"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps - //Instrument Component + //TrdRegTimestamps is a non-required component for Confirmation. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps + //Instrument is a required component for Confirmation. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails + //InstrumentExtension is a non-required component for Confirmation. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for Confirmation. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a required field for Confirmation. NoUnderlyings []NoUnderlyings `fix:"711"` //NoLegs is a required field for Confirmation. NoLegs []NoLegs `fix:"555"` - //YieldData Component - yielddata.YieldData + //YieldData is a non-required component for Confirmation. + YieldData *yielddata.YieldData //AllocQty is a required field for Confirmation. AllocQty float64 `fix:"80"` //QtyType is a non-required field for Confirmation. @@ -169,8 +176,8 @@ type Message struct { PriceType *int `fix:"423"` //AvgParPx is a non-required field for Confirmation. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for Confirmation. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //ReportedPx is a non-required field for Confirmation. ReportedPx *float64 `fix:"861"` //Text is a non-required field for Confirmation. @@ -219,14 +226,14 @@ type Message struct { SettlType *string `fix:"63"` //SettlDate is a non-required field for Confirmation. SettlDate *string `fix:"64"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData - //CommissionData Component - commissiondata.CommissionData + //SettlInstructionsData is a non-required component for Confirmation. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData + //CommissionData is a non-required component for Confirmation. + CommissionData *commissiondata.CommissionData //SharedCommission is a non-required field for Confirmation. SharedCommission *float64 `fix:"858"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for Confirmation. + Stipulations *stipulations.Stipulations //NoMiscFees is a non-required field for Confirmation. NoMiscFees []NoMiscFees `fix:"136,omitempty"` fix44.Trailer @@ -235,35 +242,46 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } -func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } -func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } -func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } -func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } -func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetNoCapacities(v []NoCapacities) { m.NoCapacities = v } -func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } -func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } +func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } +func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } +func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } +func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetNoOrders(v []NoOrders) { m.NoOrders = v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetNoCapacities(v []NoCapacities) { m.NoCapacities = v } +func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } +func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} func (m *Message) SetReportedPx(v float64) { m.ReportedPx = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } @@ -288,8 +306,13 @@ func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } func (m *Message) SetSettlType(v string) { m.SettlType = &v } func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } -func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/confirmationrequest/ConfirmationRequest.go b/fix44/confirmationrequest/ConfirmationRequest.go index f2cb87e2e..aabdb9619 100644 --- a/fix44/confirmationrequest/ConfirmationRequest.go +++ b/fix44/confirmationrequest/ConfirmationRequest.go @@ -21,8 +21,8 @@ type NoOrders struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoOrders. + NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. @@ -31,14 +31,15 @@ type NoOrders struct { OrderBookingQty *float64 `fix:"800"` } -func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } -func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoOrders) SetListID(v string) { m.ListID = &v } -func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } -func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } -func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } +func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *NoOrders) SetOrderID(v string) { m.OrderID = &v } +func (m *NoOrders) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoOrders) SetListID(v string) { m.ListID = &v } +func (m *NoOrders) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoOrders) SetOrderQty(v float64) { m.OrderQty = &v } +func (m *NoOrders) SetOrderAvgPx(v float64) { m.OrderAvgPx = &v } +func (m *NoOrders) SetOrderBookingQty(v float64) { m.OrderBookingQty = &v } //Message is a ConfirmationRequest FIX Message type Message struct { diff --git a/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go b/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go index c42906028..e87a06110 100644 --- a/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go +++ b/fix44/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go @@ -34,8 +34,8 @@ type NoSides struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for NoSides. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. @@ -58,10 +58,10 @@ type NoSides struct { NoAllocs []NoAllocs `fix:"78,omitempty"` //QtyType is a non-required field for NoSides. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoSides. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoSides. @@ -94,38 +94,41 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } -func (m *NoSides) SetSide(v string) { m.Side = v } -func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoSides) SetTradeDate(v string) { m.TradeDate = &v } -func (m *NoSides) SetAccount(v string) { m.Account = &v } -func (m *NoSides) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } -func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *NoSides) SetAllocID(v string) { m.AllocID = &v } -func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *NoSides) SetQtyType(v int) { m.QtyType = &v } -func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } -func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *NoSides) SetBookingType(v int) { m.BookingType = &v } -func (m *NoSides) SetText(v string) { m.Text = &v } -func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } -func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } -func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } +func (m *NoSides) SetSide(v string) { m.Side = v } +func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoSides) SetTradeDate(v string) { m.TradeDate = &v } +func (m *NoSides) SetAccount(v string) { m.Account = &v } +func (m *NoSides) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } +func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *NoSides) SetAllocID(v string) { m.AllocID = &v } +func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *NoSides) SetQtyType(v int) { m.QtyType = &v } +func (m *NoSides) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoSides) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } +func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *NoSides) SetBookingType(v int) { m.BookingType = &v } +func (m *NoSides) SetText(v string) { m.Text = &v } +func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } +func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } //NoAllocs is a repeating group in NoSides type NoAllocs struct { @@ -137,30 +140,37 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoUnderlyings is a repeating group in CrossOrderCancelReplaceRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in CrossOrderCancelReplaceRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoTradingSessions is a repeating group in CrossOrderCancelReplaceRequest type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. @@ -188,7 +198,7 @@ type Message struct { CrossPrioritization int `fix:"550"` //NoSides is a required field for CrossOrderCancelReplaceRequest. NoSides []NoSides `fix:"552"` - //Instrument Component + //Instrument is a required component for CrossOrderCancelReplaceRequest. instrument.Instrument //NoUnderlyings is a non-required field for CrossOrderCancelReplaceRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -218,8 +228,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for CrossOrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for CrossOrderCancelReplaceRequest. + Stipulations *stipulations.Stipulations //OrdType is a required field for CrossOrderCancelReplaceRequest. OrdType string `fix:"40"` //PriceType is a non-required field for CrossOrderCancelReplaceRequest. @@ -228,10 +238,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for CrossOrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for CrossOrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for CrossOrderCancelReplaceRequest. + YieldData *yielddata.YieldData //Currency is a non-required field for CrossOrderCancelReplaceRequest. Currency *string `fix:"15"` //ComplianceID is a non-required field for CrossOrderCancelReplaceRequest. @@ -252,10 +262,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for CrossOrderCancelReplaceRequest. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for CrossOrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for CrossOrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for CrossOrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for CrossOrderCancelReplaceRequest. @@ -276,47 +286,57 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/crossordercancelrequest/CrossOrderCancelRequest.go b/fix44/crossordercancelrequest/CrossOrderCancelRequest.go index 5794f650d..65fe0f9cd 100644 --- a/fix44/crossordercancelrequest/CrossOrderCancelRequest.go +++ b/fix44/crossordercancelrequest/CrossOrderCancelRequest.go @@ -27,13 +27,13 @@ type NoSides struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for NoSides. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. TradeDate *string `fix:"75"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData //ComplianceID is a non-required field for NoSides. ComplianceID *string `fix:"376"` @@ -45,31 +45,39 @@ type NoSides struct { EncodedText *string `fix:"355"` } -func (m *NoSides) SetSide(v string) { m.Side = v } -func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoSides) SetTradeDate(v string) { m.TradeDate = &v } -func (m *NoSides) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *NoSides) SetText(v string) { m.Text = &v } -func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoSides) SetSide(v string) { m.Side = v } +func (m *NoSides) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoSides) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoSides) SetTradeDate(v string) { m.TradeDate = &v } +func (m *NoSides) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoSides) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *NoSides) SetText(v string) { m.Text = &v } +func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } //NoUnderlyings is a repeating group in CrossOrderCancelRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in CrossOrderCancelRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a CrossOrderCancelRequest FIX Message type Message struct { FIXMsgType string `fix:"u"` @@ -86,7 +94,7 @@ type Message struct { CrossPrioritization int `fix:"550"` //NoSides is a required field for CrossOrderCancelRequest. NoSides []NoSides `fix:"552"` - //Instrument Component + //Instrument is a required component for CrossOrderCancelRequest. instrument.Instrument //NoUnderlyings is a non-required field for CrossOrderCancelRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -100,15 +108,16 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/derivativesecuritylist/DerivativeSecurityList.go b/fix44/derivativesecuritylist/DerivativeSecurityList.go index 98bfadee4..a20807154 100644 --- a/fix44/derivativesecuritylist/DerivativeSecurityList.go +++ b/fix44/derivativesecuritylist/DerivativeSecurityList.go @@ -13,14 +13,14 @@ import ( //NoRelatedSym is a repeating group in DerivativeSecurityList type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` //ExpirationCycle is a non-required field for NoRelatedSym. ExpirationCycle *int `fix:"827"` - //InstrumentExtension Component - instrumentextension.InstrumentExtension + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension //NoLegs is a non-required field for NoRelatedSym. NoLegs []NoLegs `fix:"555,omitempty"` //TradingSessionID is a non-required field for NoRelatedSym. @@ -35,8 +35,12 @@ type NoRelatedSym struct { EncodedText *string `fix:"355"` } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *NoRelatedSym) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } @@ -46,10 +50,12 @@ func (m *NoRelatedSym) SetEncodedText(v string) { m.EncodedText = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a DerivativeSecurityList FIX Message type Message struct { FIXMsgType string `fix:"AA"` @@ -60,8 +66,8 @@ type Message struct { SecurityResponseID string `fix:"322"` //SecurityRequestResult is a required field for DerivativeSecurityList. SecurityRequestResult int `fix:"560"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityList. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoRelatedSym is a non-required field for DerivativeSecurityList. TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for DerivativeSecurityList. @@ -74,9 +80,12 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } -func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } +func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } func (m *Message) SetNoRelatedSym(v []NoRelatedSym) { m.NoRelatedSym = v } diff --git a/fix44/derivativesecuritylistrequest/DerivativeSecurityListRequest.go b/fix44/derivativesecuritylistrequest/DerivativeSecurityListRequest.go index 70578bf0a..ebca5bb58 100644 --- a/fix44/derivativesecuritylistrequest/DerivativeSecurityListRequest.go +++ b/fix44/derivativesecuritylistrequest/DerivativeSecurityListRequest.go @@ -16,8 +16,8 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for DerivativeSecurityListRequest. SecurityListRequestType int `fix:"559"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityListRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //SecuritySubType is a non-required field for DerivativeSecurityListRequest. SecuritySubType *string `fix:"762"` //Currency is a non-required field for DerivativeSecurityListRequest. @@ -40,8 +40,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *Message) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetText(v string) { m.Text = &v } diff --git a/fix44/dontknowtrade/DontKnowTrade.go b/fix44/dontknowtrade/DontKnowTrade.go index 29c74a7d5..b19bb32ea 100644 --- a/fix44/dontknowtrade/DontKnowTrade.go +++ b/fix44/dontknowtrade/DontKnowTrade.go @@ -13,16 +13,22 @@ import ( //NoUnderlyings is a repeating group in DontKnowTrade type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in DontKnowTrade type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a DontKnowTrade FIX Message type Message struct { FIXMsgType string `fix:"Q"` @@ -35,7 +41,7 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a required field for DontKnowTrade. DKReason string `fix:"127"` - //Instrument Component + //Instrument is a required component for DontKnowTrade. instrument.Instrument //NoUnderlyings is a non-required field for DontKnowTrade. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -43,7 +49,7 @@ type Message struct { NoLegs []NoLegs `fix:"555,omitempty"` //Side is a required field for DontKnowTrade. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for DontKnowTrade. orderqtydata.OrderQtyData //LastQty is a non-required field for DontKnowTrade. LastQty *float64 `fix:"32"` @@ -61,18 +67,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/email/Email.go b/fix44/email/Email.go index fe552318c..bf7be6442 100644 --- a/fix44/email/Email.go +++ b/fix44/email/Email.go @@ -24,22 +24,30 @@ func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } //NoRelatedSym is a repeating group in Email type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } + //NoUnderlyings is a repeating group in Email type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in Email type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoLinesOfText is a repeating group in Email type NoLinesOfText struct { //Text is a required field for NoLinesOfText. diff --git a/fix44/executionreport/ExecutionReport.go b/fix44/executionreport/ExecutionReport.go index 4f91b2647..5191e4d9e 100644 --- a/fix44/executionreport/ExecutionReport.go +++ b/fix44/executionreport/ExecutionReport.go @@ -44,8 +44,12 @@ func (m *NoContraBrokers) SetContraLegRefID(v string) { m.ContraLegRefID = & //NoUnderlyings is a repeating group in ExecutionReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoContAmts is a repeating group in ExecutionReport @@ -64,20 +68,20 @@ func (m *NoContAmts) SetContAmtCurr(v string) { m.ContAmtCurr = &v } //NoLegs is a repeating group in ExecutionReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -90,15 +94,18 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } -func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } //NoMiscFees is a repeating group in ExecutionReport type NoMiscFees struct { @@ -145,8 +152,8 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for ExecutionReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for ExecutionReport. + Parties *parties.Parties //TradeOriginationDate is a non-required field for ExecutionReport. TradeOriginationDate *string `fix:"229"` //NoContraBrokers is a non-required field for ExecutionReport. @@ -193,20 +200,20 @@ type Message struct { CashMargin *string `fix:"544"` //ClearingFeeIndicator is a non-required field for ExecutionReport. ClearingFeeIndicator *string `fix:"635"` - //Instrument Component + //Instrument is a required component for ExecutionReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for ExecutionReport. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for ExecutionReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a required field for ExecutionReport. Side string `fix:"54"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for ExecutionReport. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for ExecutionReport. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for ExecutionReport. + OrderQtyData *orderqtydata.OrderQtyData //OrdType is a non-required field for ExecutionReport. OrdType *string `fix:"40"` //PriceType is a non-required field for ExecutionReport. @@ -215,10 +222,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for ExecutionReport. StopPx *float64 `fix:"99"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for ExecutionReport. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for ExecutionReport. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //PeggedPrice is a non-required field for ExecutionReport. PeggedPrice *float64 `fix:"839"` //DiscretionPrice is a non-required field for ExecutionReport. @@ -297,12 +304,12 @@ type Message struct { TransactTime *time.Time `fix:"60"` //ReportToExch is a non-required field for ExecutionReport. ReportToExch *bool `fix:"113"` - //CommissionData Component - commissiondata.CommissionData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //CommissionData is a non-required component for ExecutionReport. + CommissionData *commissiondata.CommissionData + //SpreadOrBenchmarkCurveData is a non-required component for ExecutionReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for ExecutionReport. + YieldData *yielddata.YieldData //GrossTradeAmt is a non-required field for ExecutionReport. GrossTradeAmt *float64 `fix:"381"` //NumDaysInterest is a non-required field for ExecutionReport. @@ -403,134 +410,148 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetNoContraBrokers(v []NoContraBrokers) { m.NoContraBrokers = v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = &v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } -func (m *Message) SetCrossType(v int) { m.CrossType = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } -func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } -func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } -func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } -func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } -func (m *Message) SetCumQty(v float64) { m.CumQty = v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } -func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } -func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetExDate(v string) { m.ExDate = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } -func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } -func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } -func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } -func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } -func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } -func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } -func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } -func (m *Message) SetNoContAmts(v []NoContAmts) { m.NoContAmts = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetNoContraBrokers(v []NoContraBrokers) { m.NoContraBrokers = v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = &v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } +func (m *Message) SetCrossType(v int) { m.CrossType = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } +func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } +func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } +func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } +func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } +func (m *Message) SetCumQty(v float64) { m.CumQty = v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } +func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } +func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetExDate(v string) { m.ExDate = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } +func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } +func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } +func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } +func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } +func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } +func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } +func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } +func (m *Message) SetNoContAmts(v []NoContAmts) { m.NoContAmts = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/ioi/IOI.go b/fix44/ioi/IOI.go index 95f86e359..2a7c4761e 100644 --- a/fix44/ioi/IOI.go +++ b/fix44/ioi/IOI.go @@ -19,21 +19,27 @@ import ( //NoUnderlyings is a repeating group in IOI type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in IOI type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegIOIQty is a non-required field for NoLegs. LegIOIQty *string `fix:"682"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations } -func (m *NoLegs) SetLegIOIQty(v string) { m.LegIOIQty = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegIOIQty(v string) { m.LegIOIQty = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } //NoIOIQualifiers is a repeating group in IOI type NoIOIQualifiers struct { @@ -64,24 +70,24 @@ type Message struct { IOITransType string `fix:"28"` //IOIRefID is a non-required field for IOI. IOIRefID *string `fix:"26"` - //Instrument Component + //Instrument is a required component for IOI. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for IOI. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for IOI. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a required field for IOI. Side string `fix:"54"` //QtyType is a non-required field for IOI. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for IOI. + OrderQtyData *orderqtydata.OrderQtyData //IOIQty is a required field for IOI. IOIQty string `fix:"27"` //Currency is a non-required field for IOI. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for IOI. + Stipulations *stipulations.Stipulations //NoLegs is a non-required field for IOI. NoLegs []NoLegs `fix:"555,omitempty"` //PriceType is a non-required field for IOI. @@ -108,37 +114,45 @@ type Message struct { URLLink *string `fix:"149"` //NoRoutingIDs is a non-required field for IOI. NoRoutingIDs []NoRoutingIDs `fix:"215,omitempty"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for IOI. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for IOI. + YieldData *yielddata.YieldData fix44.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetIOIID(v string) { m.IOIID = v } -func (m *Message) SetIOITransType(v string) { m.IOITransType = v } -func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetIOIQty(v string) { m.IOIQty = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } -func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } -func (m *Message) SetNoIOIQualifiers(v []NoIOIQualifiers) { m.NoIOIQualifiers = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetNoRoutingIDs(v []NoRoutingIDs) { m.NoRoutingIDs = v } +func (m *Message) SetIOIID(v string) { m.IOIID = v } +func (m *Message) SetIOITransType(v string) { m.IOITransType = v } +func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetIOIQty(v string) { m.IOIQty = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } +func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } +func (m *Message) SetNoIOIQualifiers(v []NoIOIQualifiers) { m.NoIOIQualifiers = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetNoRoutingIDs(v []NoRoutingIDs) { m.NoRoutingIDs = v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/liststrikeprice/ListStrikePrice.go b/fix44/liststrikeprice/ListStrikePrice.go index 158e27f8f..7b5c7b916 100644 --- a/fix44/liststrikeprice/ListStrikePrice.go +++ b/fix44/liststrikeprice/ListStrikePrice.go @@ -11,14 +11,16 @@ import ( //NoStrikes is a repeating group in ListStrikePrice type NoStrikes struct { - //Instrument Component + //Instrument is a required component for NoStrikes. instrument.Instrument } +func (m *NoStrikes) SetInstrument(v instrument.Instrument) { m.Instrument = v } + //NoUnderlyings is a repeating group in ListStrikePrice type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //PrevClosePx is a non-required field for NoUnderlyings. PrevClosePx *float64 `fix:"140"` //ClOrdID is a non-required field for NoUnderlyings. @@ -39,6 +41,9 @@ type NoUnderlyings struct { EncodedText *string `fix:"355"` } +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoUnderlyings) SetPrevClosePx(v float64) { m.PrevClosePx = &v } func (m *NoUnderlyings) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoUnderlyings) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } diff --git a/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index b8b6b02c7..16119031b 100644 --- a/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix44/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -23,8 +23,8 @@ type NoMDEntries struct { MDEntryID *string `fix:"278"` //MDEntryRefID is a non-required field for NoMDEntries. MDEntryRefID *string `fix:"280"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoMDEntries. + Instrument *instrument.Instrument //NoUnderlyings is a non-required field for NoMDEntries. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for NoMDEntries. @@ -101,61 +101,68 @@ type NoMDEntries struct { EncodedText *string `fix:"355"` } -func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } -func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } -func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } -func (m *NoMDEntries) SetMDEntryID(v string) { m.MDEntryID = &v } -func (m *NoMDEntries) SetMDEntryRefID(v string) { m.MDEntryRefID = &v } -func (m *NoMDEntries) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *NoMDEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoMDEntries) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *NoMDEntries) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } -func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } -func (m *NoMDEntries) SetMDEntrySize(v float64) { m.MDEntrySize = &v } -func (m *NoMDEntries) SetMDEntryDate(v string) { m.MDEntryDate = &v } -func (m *NoMDEntries) SetMDEntryTime(v string) { m.MDEntryTime = &v } -func (m *NoMDEntries) SetTickDirection(v string) { m.TickDirection = &v } -func (m *NoMDEntries) SetMDMkt(v string) { m.MDMkt = &v } -func (m *NoMDEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoMDEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoMDEntries) SetQuoteCondition(v string) { m.QuoteCondition = &v } -func (m *NoMDEntries) SetTradeCondition(v string) { m.TradeCondition = &v } -func (m *NoMDEntries) SetMDEntryOriginator(v string) { m.MDEntryOriginator = &v } -func (m *NoMDEntries) SetLocationID(v string) { m.LocationID = &v } -func (m *NoMDEntries) SetDeskID(v string) { m.DeskID = &v } -func (m *NoMDEntries) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } -func (m *NoMDEntries) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *NoMDEntries) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *NoMDEntries) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoMDEntries) SetMinQty(v float64) { m.MinQty = &v } -func (m *NoMDEntries) SetExecInst(v string) { m.ExecInst = &v } -func (m *NoMDEntries) SetSellerDays(v int) { m.SellerDays = &v } -func (m *NoMDEntries) SetOrderID(v string) { m.OrderID = &v } -func (m *NoMDEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } -func (m *NoMDEntries) SetMDEntryBuyer(v string) { m.MDEntryBuyer = &v } -func (m *NoMDEntries) SetMDEntrySeller(v string) { m.MDEntrySeller = &v } -func (m *NoMDEntries) SetNumberOfOrders(v int) { m.NumberOfOrders = &v } -func (m *NoMDEntries) SetMDEntryPositionNo(v int) { m.MDEntryPositionNo = &v } -func (m *NoMDEntries) SetScope(v string) { m.Scope = &v } -func (m *NoMDEntries) SetPriceDelta(v float64) { m.PriceDelta = &v } -func (m *NoMDEntries) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } -func (m *NoMDEntries) SetText(v string) { m.Text = &v } -func (m *NoMDEntries) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoMDEntries) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoMDEntries) SetMDUpdateAction(v string) { m.MDUpdateAction = v } +func (m *NoMDEntries) SetDeleteReason(v string) { m.DeleteReason = &v } +func (m *NoMDEntries) SetMDEntryType(v string) { m.MDEntryType = &v } +func (m *NoMDEntries) SetMDEntryID(v string) { m.MDEntryID = &v } +func (m *NoMDEntries) SetMDEntryRefID(v string) { m.MDEntryRefID = &v } +func (m *NoMDEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoMDEntries) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *NoMDEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoMDEntries) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *NoMDEntries) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *NoMDEntries) SetMDEntryPx(v float64) { m.MDEntryPx = &v } +func (m *NoMDEntries) SetCurrency(v string) { m.Currency = &v } +func (m *NoMDEntries) SetMDEntrySize(v float64) { m.MDEntrySize = &v } +func (m *NoMDEntries) SetMDEntryDate(v string) { m.MDEntryDate = &v } +func (m *NoMDEntries) SetMDEntryTime(v string) { m.MDEntryTime = &v } +func (m *NoMDEntries) SetTickDirection(v string) { m.TickDirection = &v } +func (m *NoMDEntries) SetMDMkt(v string) { m.MDMkt = &v } +func (m *NoMDEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoMDEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoMDEntries) SetQuoteCondition(v string) { m.QuoteCondition = &v } +func (m *NoMDEntries) SetTradeCondition(v string) { m.TradeCondition = &v } +func (m *NoMDEntries) SetMDEntryOriginator(v string) { m.MDEntryOriginator = &v } +func (m *NoMDEntries) SetLocationID(v string) { m.LocationID = &v } +func (m *NoMDEntries) SetDeskID(v string) { m.DeskID = &v } +func (m *NoMDEntries) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } +func (m *NoMDEntries) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *NoMDEntries) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *NoMDEntries) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoMDEntries) SetMinQty(v float64) { m.MinQty = &v } +func (m *NoMDEntries) SetExecInst(v string) { m.ExecInst = &v } +func (m *NoMDEntries) SetSellerDays(v int) { m.SellerDays = &v } +func (m *NoMDEntries) SetOrderID(v string) { m.OrderID = &v } +func (m *NoMDEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } +func (m *NoMDEntries) SetMDEntryBuyer(v string) { m.MDEntryBuyer = &v } +func (m *NoMDEntries) SetMDEntrySeller(v string) { m.MDEntrySeller = &v } +func (m *NoMDEntries) SetNumberOfOrders(v int) { m.NumberOfOrders = &v } +func (m *NoMDEntries) SetMDEntryPositionNo(v int) { m.MDEntryPositionNo = &v } +func (m *NoMDEntries) SetScope(v string) { m.Scope = &v } +func (m *NoMDEntries) SetPriceDelta(v float64) { m.PriceDelta = &v } +func (m *NoMDEntries) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } +func (m *NoMDEntries) SetText(v string) { m.Text = &v } +func (m *NoMDEntries) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoMDEntries) SetEncodedText(v string) { m.EncodedText = &v } //NoUnderlyings is a repeating group in NoMDEntries type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NoMDEntries type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a MarketDataIncrementalRefresh FIX Message type Message struct { FIXMsgType string `fix:"X"` diff --git a/fix44/marketdatarequest/MarketDataRequest.go b/fix44/marketdatarequest/MarketDataRequest.go index d7f179e94..8a219477f 100644 --- a/fix44/marketdatarequest/MarketDataRequest.go +++ b/fix44/marketdatarequest/MarketDataRequest.go @@ -20,7 +20,7 @@ func (m *NoMDEntryTypes) SetMDEntryType(v string) { m.MDEntryType = v } //NoRelatedSym is a repeating group in MarketDataRequest type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument //NoUnderlyings is a non-required field for NoRelatedSym. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -34,6 +34,7 @@ type NoRelatedSym struct { ApplQueueMax *int `fix:"812"` } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } func (m *NoRelatedSym) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } @@ -42,16 +43,22 @@ func (m *NoRelatedSym) SetApplQueueMax(v int) { m.ApplQueue //NoUnderlyings is a repeating group in NoRelatedSym type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoTradingSessions is a repeating group in NoRelatedSym type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. diff --git a/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index 34cd71aa3..cf714f196 100644 --- a/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix44/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -13,16 +13,22 @@ import ( //NoUnderlyings is a repeating group in MarketDataSnapshotFullRefresh type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in MarketDataSnapshotFullRefresh type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoMDEntries is a repeating group in MarketDataSnapshotFullRefresh type NoMDEntries struct { //MDEntryType is a required field for NoMDEntries. @@ -133,7 +139,7 @@ type Message struct { fix44.Header //MDReqID is a non-required field for MarketDataSnapshotFullRefresh. MDReqID *string `fix:"262"` - //Instrument Component + //Instrument is a required component for MarketDataSnapshotFullRefresh. instrument.Instrument //NoUnderlyings is a non-required field for MarketDataSnapshotFullRefresh. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -157,15 +163,16 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } -func (m *Message) SetNoMDEntries(v []NoMDEntries) { m.NoMDEntries = v } -func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } -func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } +func (m *Message) SetNoMDEntries(v []NoMDEntries) { m.NoMDEntries = v } +func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } +func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/massquote/MassQuote.go b/fix44/massquote/MassQuote.go index fe131b59e..4c57079f7 100644 --- a/fix44/massquote/MassQuote.go +++ b/fix44/massquote/MassQuote.go @@ -16,8 +16,8 @@ import ( type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. QuoteSetID string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //QuoteSetValidUntilTime is a non-required field for NoQuoteSets. QuoteSetValidUntilTime *time.Time `fix:"367"` //TotNoQuoteEntries is a required field for NoQuoteSets. @@ -28,7 +28,10 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295"` } -func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } +func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = v } +func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoQuoteSets) SetQuoteSetValidUntilTime(v time.Time) { m.QuoteSetValidUntilTime = &v } func (m *NoQuoteSets) SetTotNoQuoteEntries(v int) { m.TotNoQuoteEntries = v } func (m *NoQuoteSets) SetLastFragment(v bool) { m.LastFragment = &v } @@ -38,8 +41,8 @@ func (m *NoQuoteSets) SetNoQuoteEntries(v []NoQuoteEntries) { m.NoQuoteEntries type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. QuoteEntryID string `fix:"299"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument //NoLegs is a non-required field for NoQuoteEntries. NoLegs []NoLegs `fix:"555,omitempty"` //BidPx is a non-required field for NoQuoteEntries. @@ -90,38 +93,41 @@ type NoQuoteEntries struct { Currency *string `fix:"15"` } -func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } -func (m *NoQuoteEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } -func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } -func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } -func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } -func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } -func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoQuoteEntries) SetSettlDate(v string) { m.SettlDate = &v } -func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } -func (m *NoQuoteEntries) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } +func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = v } +func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoQuoteEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } +func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } +func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } +func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } +func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } +func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoQuoteEntries) SetSettlDate(v string) { m.SettlDate = &v } +func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } +func (m *NoQuoteEntries) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } //NoLegs is a repeating group in NoQuoteEntries type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a MassQuote FIX Message type Message struct { FIXMsgType string `fix:"i"` @@ -134,8 +140,8 @@ type Message struct { QuoteType *int `fix:"537"` //QuoteResponseLevel is a non-required field for MassQuote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuote. + Parties *parties.Parties //Account is a non-required field for MassQuote. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuote. @@ -158,6 +164,7 @@ func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } func (m *Message) SetQuoteID(v string) { m.QuoteID = v } func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } diff --git a/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go b/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go index d1a593504..f772a0246 100644 --- a/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go +++ b/fix44/massquoteacknowledgement/MassQuoteAcknowledgement.go @@ -16,8 +16,8 @@ import ( type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. QuoteSetID *string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoQuoteEntries is a non-required field for NoQuoteSets. TotNoQuoteEntries *int `fix:"304"` //LastFragment is a non-required field for NoQuoteSets. @@ -26,7 +26,10 @@ type NoQuoteSets struct { NoQuoteEntries []NoQuoteEntries `fix:"295,omitempty"` } -func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } +func (m *NoQuoteSets) SetQuoteSetID(v string) { m.QuoteSetID = &v } +func (m *NoQuoteSets) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoQuoteSets) SetTotNoQuoteEntries(v int) { m.TotNoQuoteEntries = &v } func (m *NoQuoteSets) SetLastFragment(v bool) { m.LastFragment = &v } func (m *NoQuoteSets) SetNoQuoteEntries(v []NoQuoteEntries) { m.NoQuoteEntries = v } @@ -35,8 +38,8 @@ func (m *NoQuoteSets) SetNoQuoteEntries(v []NoQuoteEntries) { m.NoQuoteEntries = type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. QuoteEntryID *string `fix:"299"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument //NoLegs is a non-required field for NoQuoteEntries. NoLegs []NoLegs `fix:"555,omitempty"` //BidPx is a non-required field for NoQuoteEntries. @@ -89,39 +92,42 @@ type NoQuoteEntries struct { QuoteEntryRejectReason *int `fix:"368"` } -func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } -func (m *NoQuoteEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } -func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } -func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } -func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } -func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } -func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoQuoteEntries) SetSettlDate(v string) { m.SettlDate = &v } -func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } -func (m *NoQuoteEntries) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } -func (m *NoQuoteEntries) SetQuoteEntryRejectReason(v int) { m.QuoteEntryRejectReason = &v } +func (m *NoQuoteEntries) SetQuoteEntryID(v string) { m.QuoteEntryID = &v } +func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoQuoteEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoQuoteEntries) SetBidPx(v float64) { m.BidPx = &v } +func (m *NoQuoteEntries) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *NoQuoteEntries) SetBidSize(v float64) { m.BidSize = &v } +func (m *NoQuoteEntries) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *NoQuoteEntries) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *NoQuoteEntries) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *NoQuoteEntries) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *NoQuoteEntries) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *NoQuoteEntries) SetMidPx(v float64) { m.MidPx = &v } +func (m *NoQuoteEntries) SetBidYield(v float64) { m.BidYield = &v } +func (m *NoQuoteEntries) SetMidYield(v float64) { m.MidYield = &v } +func (m *NoQuoteEntries) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *NoQuoteEntries) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoQuoteEntries) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoQuoteEntries) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoQuoteEntries) SetSettlDate(v string) { m.SettlDate = &v } +func (m *NoQuoteEntries) SetOrdType(v string) { m.OrdType = &v } +func (m *NoQuoteEntries) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *NoQuoteEntries) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoQuoteEntries) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *NoQuoteEntries) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *NoQuoteEntries) SetCurrency(v string) { m.Currency = &v } +func (m *NoQuoteEntries) SetQuoteEntryRejectReason(v int) { m.QuoteEntryRejectReason = &v } //NoLegs is a repeating group in NoQuoteEntries type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a MassQuoteAcknowledgement FIX Message type Message struct { FIXMsgType string `fix:"b"` @@ -138,8 +144,8 @@ type Message struct { QuoteResponseLevel *int `fix:"301"` //QuoteType is a non-required field for MassQuoteAcknowledgement. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuoteAcknowledgement. + Parties *parties.Parties //Account is a non-required field for MassQuoteAcknowledgement. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuoteAcknowledgement. @@ -166,6 +172,7 @@ func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } diff --git a/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go b/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go index b5a241207..4353134ad 100644 --- a/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go +++ b/fix44/multilegordercancelreplace/MultilegOrderCancelReplace.go @@ -30,17 +30,18 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties3 Component - nestedparties3.NestedParties3 + //NestedParties3 is a non-required component for NoAllocs. + NestedParties3 *nestedparties3.NestedParties3 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties3(v nestedparties3.NestedParties3) { m.NestedParties3 = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in MultilegOrderCancelReplace type NoTradingSessions struct { @@ -55,28 +56,32 @@ func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionS //NoUnderlyings is a repeating group in MultilegOrderCancelReplace type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in MultilegOrderCancelReplace type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //NoLegAllocs is a non-required field for NoLegs. NoLegAllocs []NoLegAllocs `fix:"670,omitempty"` //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -87,15 +92,18 @@ type NoLegs struct { LegSettlDate *string `fix:"588"` } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetNoLegAllocs(v []NoLegAllocs) { m.NoLegAllocs = v } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetNoLegAllocs(v []NoLegAllocs) { m.NoLegAllocs = v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } //NoLegAllocs is a repeating group in NoLegs type NoLegAllocs struct { @@ -103,8 +111,8 @@ type NoLegAllocs struct { LegAllocAccount *string `fix:"671"` //LegIndividualAllocID is a non-required field for NoLegAllocs. LegIndividualAllocID *string `fix:"672"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoLegAllocs. + NestedParties2 *nestedparties2.NestedParties2 //LegAllocQty is a non-required field for NoLegAllocs. LegAllocQty *float64 `fix:"673"` //LegAllocAcctIDSource is a non-required field for NoLegAllocs. @@ -113,11 +121,12 @@ type NoLegAllocs struct { LegSettlCurrency *string `fix:"675"` } -func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } -func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } -func (m *NoLegAllocs) SetLegAllocQty(v float64) { m.LegAllocQty = &v } -func (m *NoLegAllocs) SetLegAllocAcctIDSource(v string) { m.LegAllocAcctIDSource = &v } -func (m *NoLegAllocs) SetLegSettlCurrency(v string) { m.LegSettlCurrency = &v } +func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } +func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } +func (m *NoLegAllocs) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoLegAllocs) SetLegAllocQty(v float64) { m.LegAllocQty = &v } +func (m *NoLegAllocs) SetLegAllocAcctIDSource(v string) { m.LegAllocAcctIDSource = &v } +func (m *NoLegAllocs) SetLegSettlCurrency(v string) { m.LegSettlCurrency = &v } //Message is a MultilegOrderCancelReplace FIX Message type Message struct { @@ -135,8 +144,8 @@ type Message struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for MultilegOrderCancelReplace. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for MultilegOrderCancelReplace. + Parties *parties.Parties //TradeOriginationDate is a non-required field for MultilegOrderCancelReplace. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for MultilegOrderCancelReplace. @@ -181,7 +190,7 @@ type Message struct { ProcessCode *string `fix:"81"` //Side is a required field for MultilegOrderCancelReplace. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for MultilegOrderCancelReplace. instrument.Instrument //NoUnderlyings is a non-required field for MultilegOrderCancelReplace. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -195,7 +204,7 @@ type Message struct { TransactTime time.Time `fix:"60"` //QtyType is a non-required field for MultilegOrderCancelReplace. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for MultilegOrderCancelReplace. orderqtydata.OrderQtyData //OrdType is a required field for MultilegOrderCancelReplace. OrdType string `fix:"40"` @@ -225,8 +234,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for MultilegOrderCancelReplace. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for MultilegOrderCancelReplace. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for MultilegOrderCancelReplace. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for MultilegOrderCancelReplace. @@ -251,10 +260,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for MultilegOrderCancelReplace. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for MultilegOrderCancelReplace. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for MultilegOrderCancelReplace. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for MultilegOrderCancelReplace. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for MultilegOrderCancelReplace. @@ -277,74 +286,82 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/newordercross/NewOrderCross.go b/fix44/newordercross/NewOrderCross.go index f833e6a09..dda0580d5 100644 --- a/fix44/newordercross/NewOrderCross.go +++ b/fix44/newordercross/NewOrderCross.go @@ -30,8 +30,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NoSides. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. @@ -54,10 +54,10 @@ type NoSides struct { NoAllocs []NoAllocs `fix:"78,omitempty"` //QtyType is a non-required field for NoSides. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoSides. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoSides. @@ -90,36 +90,39 @@ type NoSides struct { SideComplianceID *string `fix:"659"` } -func (m *NoSides) SetSide(v string) { m.Side = v } -func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoSides) SetTradeDate(v string) { m.TradeDate = &v } -func (m *NoSides) SetAccount(v string) { m.Account = &v } -func (m *NoSides) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } -func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *NoSides) SetAllocID(v string) { m.AllocID = &v } -func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *NoSides) SetQtyType(v int) { m.QtyType = &v } -func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } -func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *NoSides) SetBookingType(v int) { m.BookingType = &v } -func (m *NoSides) SetText(v string) { m.Text = &v } -func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } -func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } -func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } +func (m *NoSides) SetSide(v string) { m.Side = v } +func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoSides) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoSides) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoSides) SetTradeDate(v string) { m.TradeDate = &v } +func (m *NoSides) SetAccount(v string) { m.Account = &v } +func (m *NoSides) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } +func (m *NoSides) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *NoSides) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *NoSides) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *NoSides) SetAllocID(v string) { m.AllocID = &v } +func (m *NoSides) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *NoSides) SetQtyType(v int) { m.QtyType = &v } +func (m *NoSides) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoSides) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *NoSides) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *NoSides) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *NoSides) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *NoSides) SetForexReq(v bool) { m.ForexReq = &v } +func (m *NoSides) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *NoSides) SetBookingType(v int) { m.BookingType = &v } +func (m *NoSides) SetText(v string) { m.Text = &v } +func (m *NoSides) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoSides) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *NoSides) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *NoSides) SetCashMargin(v string) { m.CashMargin = &v } +func (m *NoSides) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *NoSides) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *NoSides) SetSideComplianceID(v string) { m.SideComplianceID = &v } //NoAllocs is a repeating group in NoSides type NoAllocs struct { @@ -131,30 +134,37 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoUnderlyings is a repeating group in NewOrderCross type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NewOrderCross type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoTradingSessions is a repeating group in NewOrderCross type NoTradingSessions struct { //TradingSessionID is a non-required field for NoTradingSessions. @@ -178,7 +188,7 @@ type Message struct { CrossPrioritization int `fix:"550"` //NoSides is a required field for NewOrderCross. NoSides []NoSides `fix:"552"` - //Instrument Component + //Instrument is a required component for NewOrderCross. instrument.Instrument //NoUnderlyings is a non-required field for NewOrderCross. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -208,8 +218,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderCross. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderCross. + Stipulations *stipulations.Stipulations //OrdType is a required field for NewOrderCross. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderCross. @@ -218,10 +228,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderCross. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderCross. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderCross. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderCross. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderCross. @@ -242,10 +252,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for NewOrderCross. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderCross. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderCross. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderCross. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderCross. @@ -266,45 +276,55 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/neworderlist/NewOrderList.go b/fix44/neworderlist/NewOrderList.go index 8e6f82472..e8e07a47e 100644 --- a/fix44/neworderlist/NewOrderList.go +++ b/fix44/neworderlist/NewOrderList.go @@ -31,8 +31,8 @@ type NoOrders struct { ClOrdLinkID *string `fix:"583"` //SettlInstMode is a non-required field for NoOrders. SettlInstMode *string `fix:"160"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoOrders. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoOrders. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoOrders. @@ -75,7 +75,7 @@ type NoOrders struct { NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //ProcessCode is a non-required field for NoOrders. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NoOrders. instrument.Instrument //NoUnderlyings is a non-required field for NoOrders. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -89,11 +89,11 @@ type NoOrders struct { LocateReqd *bool `fix:"114"` //TransactTime is a non-required field for NoOrders. TransactTime *time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoOrders. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NoOrders. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoOrders. orderqtydata.OrderQtyData //OrdType is a non-required field for NoOrders. OrdType *string `fix:"40"` @@ -103,10 +103,10 @@ type NoOrders struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NoOrders. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoOrders. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoOrders. + YieldData *yielddata.YieldData //Currency is a non-required field for NoOrders. Currency *string `fix:"15"` //ComplianceID is a non-required field for NoOrders. @@ -127,8 +127,8 @@ type NoOrders struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NoOrders. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoOrders. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoOrders. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoOrders. @@ -159,10 +159,10 @@ type NoOrders struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NoOrders. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NoOrders. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NoOrders. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NoOrders. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NoOrders. @@ -173,72 +173,85 @@ type NoOrders struct { Designation *string `fix:"494"` } -func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } -func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } -func (m *NoOrders) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *NoOrders) SetSettlInstMode(v string) { m.SettlInstMode = &v } -func (m *NoOrders) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoOrders) SetTradeDate(v string) { m.TradeDate = &v } -func (m *NoOrders) SetAccount(v string) { m.Account = &v } -func (m *NoOrders) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *NoOrders) SetAccountType(v int) { m.AccountType = &v } -func (m *NoOrders) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *NoOrders) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *NoOrders) SetAllocID(v string) { m.AllocID = &v } -func (m *NoOrders) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *NoOrders) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *NoOrders) SetSettlType(v string) { m.SettlType = &v } -func (m *NoOrders) SetSettlDate(v string) { m.SettlDate = &v } -func (m *NoOrders) SetCashMargin(v string) { m.CashMargin = &v } -func (m *NoOrders) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *NoOrders) SetHandlInst(v string) { m.HandlInst = &v } -func (m *NoOrders) SetExecInst(v string) { m.ExecInst = &v } -func (m *NoOrders) SetMinQty(v float64) { m.MinQty = &v } -func (m *NoOrders) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *NoOrders) SetExDestination(v string) { m.ExDestination = &v } -func (m *NoOrders) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *NoOrders) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *NoOrders) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *NoOrders) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoOrders) SetSide(v string) { m.Side = v } -func (m *NoOrders) SetSideValueInd(v int) { m.SideValueInd = &v } -func (m *NoOrders) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *NoOrders) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoOrders) SetQtyType(v int) { m.QtyType = &v } -func (m *NoOrders) SetOrdType(v string) { m.OrdType = &v } -func (m *NoOrders) SetPriceType(v int) { m.PriceType = &v } -func (m *NoOrders) SetPrice(v float64) { m.Price = &v } -func (m *NoOrders) SetStopPx(v float64) { m.StopPx = &v } -func (m *NoOrders) SetCurrency(v string) { m.Currency = &v } -func (m *NoOrders) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *NoOrders) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *NoOrders) SetIOIID(v string) { m.IOIID = &v } -func (m *NoOrders) SetQuoteID(v string) { m.QuoteID = &v } -func (m *NoOrders) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *NoOrders) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *NoOrders) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *NoOrders) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoOrders) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *NoOrders) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *NoOrders) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *NoOrders) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *NoOrders) SetForexReq(v bool) { m.ForexReq = &v } -func (m *NoOrders) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *NoOrders) SetBookingType(v int) { m.BookingType = &v } -func (m *NoOrders) SetText(v string) { m.Text = &v } -func (m *NoOrders) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *NoOrders) SetEncodedText(v string) { m.EncodedText = &v } -func (m *NoOrders) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *NoOrders) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoOrders) SetPrice2(v float64) { m.Price2 = &v } -func (m *NoOrders) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *NoOrders) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *NoOrders) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *NoOrders) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *NoOrders) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *NoOrders) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *NoOrders) SetDesignation(v string) { m.Designation = &v } +func (m *NoOrders) SetClOrdID(v string) { m.ClOrdID = v } +func (m *NoOrders) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *NoOrders) SetListSeqNo(v int) { m.ListSeqNo = v } +func (m *NoOrders) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *NoOrders) SetSettlInstMode(v string) { m.SettlInstMode = &v } +func (m *NoOrders) SetParties(v parties.Parties) { m.Parties = &v } +func (m *NoOrders) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoOrders) SetTradeDate(v string) { m.TradeDate = &v } +func (m *NoOrders) SetAccount(v string) { m.Account = &v } +func (m *NoOrders) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *NoOrders) SetAccountType(v int) { m.AccountType = &v } +func (m *NoOrders) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *NoOrders) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *NoOrders) SetAllocID(v string) { m.AllocID = &v } +func (m *NoOrders) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *NoOrders) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *NoOrders) SetSettlType(v string) { m.SettlType = &v } +func (m *NoOrders) SetSettlDate(v string) { m.SettlDate = &v } +func (m *NoOrders) SetCashMargin(v string) { m.CashMargin = &v } +func (m *NoOrders) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *NoOrders) SetHandlInst(v string) { m.HandlInst = &v } +func (m *NoOrders) SetExecInst(v string) { m.ExecInst = &v } +func (m *NoOrders) SetMinQty(v float64) { m.MinQty = &v } +func (m *NoOrders) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *NoOrders) SetExDestination(v string) { m.ExDestination = &v } +func (m *NoOrders) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *NoOrders) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *NoOrders) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoOrders) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *NoOrders) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoOrders) SetSide(v string) { m.Side = v } +func (m *NoOrders) SetSideValueInd(v int) { m.SideValueInd = &v } +func (m *NoOrders) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *NoOrders) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoOrders) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *NoOrders) SetQtyType(v int) { m.QtyType = &v } +func (m *NoOrders) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *NoOrders) SetOrdType(v string) { m.OrdType = &v } +func (m *NoOrders) SetPriceType(v int) { m.PriceType = &v } +func (m *NoOrders) SetPrice(v float64) { m.Price = &v } +func (m *NoOrders) SetStopPx(v float64) { m.StopPx = &v } +func (m *NoOrders) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *NoOrders) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *NoOrders) SetCurrency(v string) { m.Currency = &v } +func (m *NoOrders) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *NoOrders) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *NoOrders) SetIOIID(v string) { m.IOIID = &v } +func (m *NoOrders) SetQuoteID(v string) { m.QuoteID = &v } +func (m *NoOrders) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *NoOrders) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *NoOrders) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *NoOrders) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoOrders) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *NoOrders) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *NoOrders) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *NoOrders) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *NoOrders) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *NoOrders) SetForexReq(v bool) { m.ForexReq = &v } +func (m *NoOrders) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *NoOrders) SetBookingType(v int) { m.BookingType = &v } +func (m *NoOrders) SetText(v string) { m.Text = &v } +func (m *NoOrders) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *NoOrders) SetEncodedText(v string) { m.EncodedText = &v } +func (m *NoOrders) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *NoOrders) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoOrders) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoOrders) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *NoOrders) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *NoOrders) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *NoOrders) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *NoOrders) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *NoOrders) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *NoOrders) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *NoOrders) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *NoOrders) SetDesignation(v string) { m.Designation = &v } //NoAllocs is a repeating group in NoOrders type NoAllocs struct { @@ -250,17 +263,18 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in NoOrders type NoTradingSessions struct { @@ -275,8 +289,12 @@ func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionS //NoUnderlyings is a repeating group in NoOrders type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a NewOrderList FIX Message diff --git a/fix44/newordermultileg/NewOrderMultileg.go b/fix44/newordermultileg/NewOrderMultileg.go index 3c5188567..618e40183 100644 --- a/fix44/newordermultileg/NewOrderMultileg.go +++ b/fix44/newordermultileg/NewOrderMultileg.go @@ -30,17 +30,18 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties3 Component - nestedparties3.NestedParties3 + //NestedParties3 is a non-required component for NoAllocs. + NestedParties3 *nestedparties3.NestedParties3 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties3(v nestedparties3.NestedParties3) { m.NestedParties3 = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in NewOrderMultileg type NoTradingSessions struct { @@ -55,28 +56,32 @@ func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionS //NoUnderlyings is a repeating group in NewOrderMultileg type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NewOrderMultileg type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //NoLegAllocs is a non-required field for NoLegs. NoLegAllocs []NoLegAllocs `fix:"670,omitempty"` //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -87,15 +92,18 @@ type NoLegs struct { LegSettlDate *string `fix:"588"` } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetNoLegAllocs(v []NoLegAllocs) { m.NoLegAllocs = v } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetNoLegAllocs(v []NoLegAllocs) { m.NoLegAllocs = v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } //NoLegAllocs is a repeating group in NoLegs type NoLegAllocs struct { @@ -103,8 +111,8 @@ type NoLegAllocs struct { LegAllocAccount *string `fix:"671"` //LegIndividualAllocID is a non-required field for NoLegAllocs. LegIndividualAllocID *string `fix:"672"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoLegAllocs. + NestedParties2 *nestedparties2.NestedParties2 //LegAllocQty is a non-required field for NoLegAllocs. LegAllocQty *float64 `fix:"673"` //LegAllocAcctIDSource is a non-required field for NoLegAllocs. @@ -113,11 +121,12 @@ type NoLegAllocs struct { LegSettlCurrency *string `fix:"675"` } -func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } -func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } -func (m *NoLegAllocs) SetLegAllocQty(v float64) { m.LegAllocQty = &v } -func (m *NoLegAllocs) SetLegAllocAcctIDSource(v string) { m.LegAllocAcctIDSource = &v } -func (m *NoLegAllocs) SetLegSettlCurrency(v string) { m.LegSettlCurrency = &v } +func (m *NoLegAllocs) SetLegAllocAccount(v string) { m.LegAllocAccount = &v } +func (m *NoLegAllocs) SetLegIndividualAllocID(v string) { m.LegIndividualAllocID = &v } +func (m *NoLegAllocs) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoLegAllocs) SetLegAllocQty(v float64) { m.LegAllocQty = &v } +func (m *NoLegAllocs) SetLegAllocAcctIDSource(v string) { m.LegAllocAcctIDSource = &v } +func (m *NoLegAllocs) SetLegSettlCurrency(v string) { m.LegSettlCurrency = &v } //Message is a NewOrderMultileg FIX Message type Message struct { @@ -129,8 +138,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderMultileg. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderMultileg. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderMultileg. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderMultileg. @@ -175,7 +184,7 @@ type Message struct { ProcessCode *string `fix:"81"` //Side is a required field for NewOrderMultileg. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for NewOrderMultileg. instrument.Instrument //NoUnderlyings is a non-required field for NewOrderMultileg. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -189,7 +198,7 @@ type Message struct { TransactTime time.Time `fix:"60"` //QtyType is a non-required field for NewOrderMultileg. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NewOrderMultileg. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderMultileg. OrdType string `fix:"40"` @@ -219,8 +228,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderMultileg. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderMultileg. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderMultileg. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderMultileg. @@ -245,10 +254,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderMultileg. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderMultileg. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderMultileg. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderMultileg. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderMultileg. @@ -271,71 +280,79 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/newordersingle/NewOrderSingle.go b/fix44/newordersingle/NewOrderSingle.go index 8bb06452d..265d4480a 100644 --- a/fix44/newordersingle/NewOrderSingle.go +++ b/fix44/newordersingle/NewOrderSingle.go @@ -30,17 +30,18 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in NewOrderSingle type NoTradingSessions struct { @@ -55,8 +56,12 @@ func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionS //NoUnderlyings is a repeating group in NewOrderSingle type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a NewOrderSingle FIX Message @@ -69,8 +74,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderSingle. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderSingle. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderSingle. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderSingle. @@ -113,10 +118,10 @@ type Message struct { NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //ProcessCode is a non-required field for NewOrderSingle. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NewOrderSingle. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for NewOrderSingle. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for NewOrderSingle. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //PrevClosePx is a non-required field for NewOrderSingle. @@ -127,11 +132,11 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderSingle. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderSingle. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NewOrderSingle. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NewOrderSingle. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderSingle. OrdType string `fix:"40"` @@ -141,10 +146,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderSingle. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderSingle. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderSingle. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderSingle. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderSingle. @@ -165,8 +170,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderSingle. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderSingle. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderSingle. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderSingle. @@ -197,10 +202,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderSingle. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderSingle. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderSingle. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderSingle. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderSingle. @@ -221,72 +226,86 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/news/News.go b/fix44/news/News.go index 93e6d551c..4fc47976f 100644 --- a/fix44/news/News.go +++ b/fix44/news/News.go @@ -24,20 +24,28 @@ func (m *NoRoutingIDs) SetRoutingID(v string) { m.RoutingID = &v } //NoRelatedSym is a repeating group in News type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } + //NoLegs is a repeating group in News type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in News type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLinesOfText is a repeating group in News diff --git a/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go index 66d01086a..72b767428 100644 --- a/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix44/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -29,17 +29,18 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //NoTradingSessions is a repeating group in OrderCancelReplaceRequest type NoTradingSessions struct { @@ -54,8 +55,12 @@ func (m *NoTradingSessions) SetTradingSessionSubID(v string) { m.TradingSessionS //NoUnderlyings is a repeating group in OrderCancelReplaceRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a OrderCancelReplaceRequest FIX Message @@ -64,8 +69,8 @@ type Message struct { fix44.Header //OrderID is a non-required field for OrderCancelReplaceRequest. OrderID *string `fix:"37"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderCancelReplaceRequest. + Parties *parties.Parties //TradeOriginationDate is a non-required field for OrderCancelReplaceRequest. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for OrderCancelReplaceRequest. @@ -118,10 +123,10 @@ type Message struct { ExDestination *string `fix:"100"` //NoTradingSessions is a non-required field for OrderCancelReplaceRequest. NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` - //Instrument Component + //Instrument is a required component for OrderCancelReplaceRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for OrderCancelReplaceRequest. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for OrderCancelReplaceRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a required field for OrderCancelReplaceRequest. @@ -130,7 +135,7 @@ type Message struct { TransactTime time.Time `fix:"60"` //QtyType is a non-required field for OrderCancelReplaceRequest. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelReplaceRequest. orderqtydata.OrderQtyData //OrdType is a required field for OrderCancelReplaceRequest. OrdType string `fix:"40"` @@ -140,14 +145,14 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for OrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //SpreadOrBenchmarkCurveData is a non-required component for OrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for OrderCancelReplaceRequest. + YieldData *yielddata.YieldData + //PegInstructions is a non-required component for OrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for OrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for OrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for OrderCancelReplaceRequest. @@ -170,8 +175,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for OrderCancelReplaceRequest. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for OrderCancelReplaceRequest. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for OrderCancelReplaceRequest. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for OrderCancelReplaceRequest. @@ -218,72 +223,85 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/ordercancelrequest/OrderCancelRequest.go b/fix44/ordercancelrequest/OrderCancelRequest.go index 8d1410f53..c2908a62e 100644 --- a/fix44/ordercancelrequest/OrderCancelRequest.go +++ b/fix44/ordercancelrequest/OrderCancelRequest.go @@ -15,8 +15,12 @@ import ( //NoUnderlyings is a repeating group in OrderCancelRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a OrderCancelRequest FIX Message @@ -43,19 +47,19 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for OrderCancelRequest. AccountType *int `fix:"581"` - //Parties Component - parties.Parties - //Instrument Component + //Parties is a non-required component for OrderCancelRequest. + Parties *parties.Parties + //Instrument is a required component for OrderCancelRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for OrderCancelRequest. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for OrderCancelRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a required field for OrderCancelRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelRequest. TransactTime time.Time `fix:"60"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelRequest. orderqtydata.OrderQtyData //ComplianceID is a non-required field for OrderCancelRequest. ComplianceID *string `fix:"376"` @@ -71,23 +75,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/ordermasscancelreport/OrderMassCancelReport.go b/fix44/ordermasscancelreport/OrderMassCancelReport.go index 7b82238ba..f52b83d39 100644 --- a/fix44/ordermasscancelreport/OrderMassCancelReport.go +++ b/fix44/ordermasscancelreport/OrderMassCancelReport.go @@ -50,10 +50,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelReport. Side *string `fix:"54"` //TransactTime is a non-required field for OrderMassCancelReport. @@ -81,11 +81,15 @@ func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrd func (m *Message) SetNoAffectedOrders(v []NoAffectedOrders) { m.NoAffectedOrders = v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/ordermasscancelrequest/OrderMassCancelRequest.go b/fix44/ordermasscancelrequest/OrderMassCancelRequest.go index 12cb2bda0..f9b944966 100644 --- a/fix44/ordermasscancelrequest/OrderMassCancelRequest.go +++ b/fix44/ordermasscancelrequest/OrderMassCancelRequest.go @@ -24,10 +24,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelRequest. Side *string `fix:"54"` //TransactTime is a required field for OrderMassCancelRequest. @@ -44,16 +44,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/ordermassstatusrequest/OrderMassStatusRequest.go b/fix44/ordermassstatusrequest/OrderMassStatusRequest.go index 6107bfb21..527618254 100644 --- a/fix44/ordermassstatusrequest/OrderMassStatusRequest.go +++ b/fix44/ordermassstatusrequest/OrderMassStatusRequest.go @@ -18,8 +18,8 @@ type Message struct { MassStatusReqID string `fix:"584"` //MassStatusReqType is a required field for OrderMassStatusRequest. MassStatusReqType int `fix:"585"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassStatusRequest. + Parties *parties.Parties //Account is a non-required field for OrderMassStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderMassStatusRequest. @@ -28,10 +28,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassStatusRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassStatusRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassStatusRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassStatusRequest. Side *string `fix:"54"` fix44.Trailer @@ -40,13 +40,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } -func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } +func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/orderstatusrequest/OrderStatusRequest.go b/fix44/orderstatusrequest/OrderStatusRequest.go index 8b978bad6..a81a40411 100644 --- a/fix44/orderstatusrequest/OrderStatusRequest.go +++ b/fix44/orderstatusrequest/OrderStatusRequest.go @@ -13,8 +13,12 @@ import ( //NoUnderlyings is a repeating group in OrderStatusRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a OrderStatusRequest FIX Message @@ -29,18 +33,18 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for OrderStatusRequest. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderStatusRequest. + Parties *parties.Parties //OrdStatusReqID is a non-required field for OrderStatusRequest. OrdStatusReqID *string `fix:"790"` //Account is a non-required field for OrderStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderStatusRequest. AcctIDSource *int `fix:"660"` - //Instrument Component + //Instrument is a required component for OrderStatusRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for OrderStatusRequest. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for OrderStatusRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a required field for OrderStatusRequest. @@ -51,15 +55,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/positionmaintenancereport/PositionMaintenanceReport.go b/fix44/positionmaintenancereport/PositionMaintenanceReport.go index 3fe5c2c6a..b6fdcc1b7 100644 --- a/fix44/positionmaintenancereport/PositionMaintenanceReport.go +++ b/fix44/positionmaintenancereport/PositionMaintenanceReport.go @@ -16,14 +16,20 @@ import ( //NoLegs is a repeating group in PositionMaintenanceReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in PositionMaintenanceReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoTradingSessions is a repeating group in PositionMaintenanceReport @@ -61,15 +67,15 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceReport. SettlSessSubID *string `fix:"717"` - //Parties Component - parties.Parties + //Parties is a non-required component for PositionMaintenanceReport. + Parties *parties.Parties //Account is a required field for PositionMaintenanceReport. Account string `fix:"1"` //AcctIDSource is a non-required field for PositionMaintenanceReport. AcctIDSource *int `fix:"660"` //AccountType is a required field for PositionMaintenanceReport. AccountType int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceReport. instrument.Instrument //Currency is a non-required field for PositionMaintenanceReport. Currency *string `fix:"15"` @@ -81,9 +87,9 @@ type Message struct { NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //TransactTime is a required field for PositionMaintenanceReport. TransactTime time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceReport. positionqty.PositionQty - //PositionAmountData Component + //PositionAmountData is a required component for PositionMaintenanceReport. positionamountdata.PositionAmountData //AdjustmentType is a non-required field for PositionMaintenanceReport. AdjustmentType *int `fix:"718"` @@ -111,19 +117,25 @@ func (m *Message) SetPosMaintResult(v int) { m.PosMaintResult func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } -func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = v +} +func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } +func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go b/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go index c729ff546..f75ccffc3 100644 --- a/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go +++ b/fix44/positionmaintenancerequest/PositionMaintenanceRequest.go @@ -15,14 +15,20 @@ import ( //NoLegs is a repeating group in PositionMaintenanceRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in PositionMaintenanceRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoTradingSessions is a repeating group in PositionMaintenanceRequest @@ -56,7 +62,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceRequest. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionMaintenanceRequest. parties.Parties //Account is a required field for PositionMaintenanceRequest. Account string `fix:"1"` @@ -64,7 +70,7 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a required field for PositionMaintenanceRequest. AccountType int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceRequest. instrument.Instrument //Currency is a non-required field for PositionMaintenanceRequest. Currency *string `fix:"15"` @@ -76,7 +82,7 @@ type Message struct { NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //TransactTime is a required field for PositionMaintenanceRequest. TransactTime time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceRequest. positionqty.PositionQty //AdjustmentType is a non-required field for PositionMaintenanceRequest. AdjustmentType *int `fix:"718"` @@ -106,14 +112,17 @@ func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRef func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } func (m *Message) SetAccount(v string) { m.Account = v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *Message) SetNoTradingSessions(v []NoTradingSessions) { m.NoTradingSessions = v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } func (m *Message) SetContraryInstructionIndicator(v bool) { m.ContraryInstructionIndicator = &v } func (m *Message) SetPriorSpreadIndicator(v bool) { m.PriorSpreadIndicator = &v } diff --git a/fix44/positionqty/PositionQty.go b/fix44/positionqty/PositionQty.go index 61fc8032e..77a1744e9 100644 --- a/fix44/positionqty/PositionQty.go +++ b/fix44/positionqty/PositionQty.go @@ -14,8 +14,8 @@ type NoPositions struct { ShortQty *float64 `fix:"705"` //PosQtyStatus is a non-required field for NoPositions. PosQtyStatus *int `fix:"706"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoPositions. + NestedParties *nestedparties.NestedParties } //PositionQty is a fix44 Component diff --git a/fix44/positionreport/PositionReport.go b/fix44/positionreport/PositionReport.go index 7fdb3a28d..909f4e052 100644 --- a/fix44/positionreport/PositionReport.go +++ b/fix44/positionreport/PositionReport.go @@ -15,20 +15,25 @@ import ( //NoLegs is a repeating group in PositionReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in PositionReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //UnderlyingSettlPrice is a required field for NoUnderlyings. UnderlyingSettlPrice float64 `fix:"732"` //UnderlyingSettlPriceType is a required field for NoUnderlyings. UnderlyingSettlPriceType int `fix:"733"` } +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *NoUnderlyings) SetUnderlyingSettlPrice(v float64) { m.UnderlyingSettlPrice = v } func (m *NoUnderlyings) SetUnderlyingSettlPriceType(v int) { m.UnderlyingSettlPriceType = v } @@ -56,7 +61,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionReport. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionReport. parties.Parties //Account is a required field for PositionReport. Account string `fix:"1"` @@ -64,8 +69,8 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a required field for PositionReport. AccountType int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for PositionReport. + Instrument *instrument.Instrument //Currency is a non-required field for PositionReport. Currency *string `fix:"15"` //SettlPrice is a required field for PositionReport. @@ -78,9 +83,9 @@ type Message struct { NoLegs []NoLegs `fix:"555,omitempty"` //NoUnderlyings is a non-required field for PositionReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` - //PositionQty Component + //PositionQty is a required component for PositionReport. positionqty.PositionQty - //PositionAmountData Component + //PositionAmountData is a required component for PositionReport. positionamountdata.PositionAmountData //RegistStatus is a non-required field for PositionReport. RegistStatus *string `fix:"506"` @@ -98,30 +103,36 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = v } -func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = v } -func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } -func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = v } +func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = v } +func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = v +} +func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } +func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/quote/Quote.go b/fix44/quote/Quote.go index faa789c0d..0c26d3df0 100644 --- a/fix44/quote/Quote.go +++ b/fix44/quote/Quote.go @@ -30,14 +30,18 @@ func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v //NoUnderlyings is a repeating group in Quote type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in Quote type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -46,27 +50,33 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegPriceType is a non-required field for NoLegs. LegPriceType *int `fix:"686"` //LegBidPx is a non-required field for NoLegs. LegBidPx *float64 `fix:"681"` //LegOfferPx is a non-required field for NoLegs. LegOfferPx *float64 `fix:"684"` - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } -func (m *NoLegs) SetLegPriceType(v int) { m.LegPriceType = &v } -func (m *NoLegs) SetLegBidPx(v float64) { m.LegBidPx = &v } -func (m *NoLegs) SetLegOfferPx(v float64) { m.LegOfferPx = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegPriceType(v int) { m.LegPriceType = &v } +func (m *NoLegs) SetLegBidPx(v float64) { m.LegBidPx = &v } +func (m *NoLegs) SetLegOfferPx(v float64) { m.LegOfferPx = &v } +func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData) { + m.LegBenchmarkCurveData = &v +} //Message is a Quote FIX Message type Message struct { @@ -84,22 +94,22 @@ type Message struct { NoQuoteQualifiers []NoQuoteQualifiers `fix:"735,omitempty"` //QuoteResponseLevel is a non-required field for Quote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for Quote. + Parties *parties.Parties //TradingSessionID is a non-required field for Quote. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for Quote. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for Quote. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for Quote. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for Quote. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a non-required field for Quote. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for Quote. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for Quote. SettlType *string `fix:"63"` //SettlDate is a non-required field for Quote. @@ -110,8 +120,8 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for Quote. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for Quote. + Stipulations *stipulations.Stipulations //Account is a non-required field for Quote. Account *string `fix:"1"` //AcctIDSource is a non-required field for Quote. @@ -180,10 +190,10 @@ type Message struct { OrderCapacity *string `fix:"528"` //PriceType is a non-required field for Quote. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for Quote. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for Quote. + YieldData *yielddata.YieldData //Text is a non-required field for Quote. Text *string `fix:"58"` //EncodedTextLen is a non-required field for Quote. @@ -196,58 +206,67 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/quotecancel/QuoteCancel.go b/fix44/quotecancel/QuoteCancel.go index d0fb83bd1..62b8072bc 100644 --- a/fix44/quotecancel/QuoteCancel.go +++ b/fix44/quotecancel/QuoteCancel.go @@ -14,31 +14,41 @@ import ( //NoQuoteEntries is a repeating group in QuoteCancel type NoQuoteEntries struct { - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for NoQuoteEntries. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for NoQuoteEntries. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for NoQuoteEntries. NoLegs []NoLegs `fix:"555,omitempty"` } +func (m *NoQuoteEntries) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoQuoteEntries) SetFinancingDetails(v financingdetails.FinancingDetails) { + m.FinancingDetails = &v +} func (m *NoQuoteEntries) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *NoQuoteEntries) SetNoLegs(v []NoLegs) { m.NoLegs = v } //NoUnderlyings is a repeating group in NoQuoteEntries type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NoQuoteEntries type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a QuoteCancel FIX Message type Message struct { FIXMsgType string `fix:"Z"` @@ -51,8 +61,8 @@ type Message struct { QuoteCancelType int `fix:"298"` //QuoteResponseLevel is a non-required field for QuoteCancel. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteCancel. + Parties *parties.Parties //Account is a non-required field for QuoteCancel. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteCancel. @@ -75,6 +85,7 @@ func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } func (m *Message) SetQuoteID(v string) { m.QuoteID = v } func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } diff --git a/fix44/quoterequest/QuoteRequest.go b/fix44/quoterequest/QuoteRequest.go index b2dae8950..ae84835ba 100644 --- a/fix44/quoterequest/QuoteRequest.go +++ b/fix44/quoterequest/QuoteRequest.go @@ -22,10 +22,10 @@ import ( //NoRelatedSym is a repeating group in QuoteRequest type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for NoRelatedSym. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //PrevClosePx is a non-required field for NoRelatedSym. @@ -44,8 +44,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -56,8 +56,8 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. @@ -78,58 +78,73 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties } -func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } -func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } -func (m *NoRelatedSym) SetQtyType(v int) { m.QtyType = &v } -func (m *NoRelatedSym) SetSettlType(v string) { m.SettlType = &v } -func (m *NoRelatedSym) SetSettlDate(v string) { m.SettlDate = &v } -func (m *NoRelatedSym) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetAccount(v string) { m.Account = &v } -func (m *NoRelatedSym) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *NoRelatedSym) SetAccountType(v int) { m.AccountType = &v } -func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoRelatedSym) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } -func (m *NoRelatedSym) SetQuotePriceType(v int) { m.QuotePriceType = &v } -func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } -func (m *NoRelatedSym) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } -func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } -func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { + m.FinancingDetails = &v +} +func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } +func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } +func (m *NoRelatedSym) SetQtyType(v int) { m.QtyType = &v } +func (m *NoRelatedSym) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *NoRelatedSym) SetSettlType(v string) { m.SettlType = &v } +func (m *NoRelatedSym) SetSettlDate(v string) { m.SettlDate = &v } +func (m *NoRelatedSym) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *NoRelatedSym) SetAccount(v string) { m.Account = &v } +func (m *NoRelatedSym) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *NoRelatedSym) SetAccountType(v int) { m.AccountType = &v } +func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoRelatedSym) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } +func (m *NoRelatedSym) SetQuotePriceType(v int) { m.QuotePriceType = &v } +func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } +func (m *NoRelatedSym) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoRelatedSym) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } +func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } +func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *NoRelatedSym) SetParties(v parties.Parties) { m.Parties = &v } //NoUnderlyings is a repeating group in NoRelatedSym type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -138,18 +153,24 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData) { + m.LegBenchmarkCurveData = &v +} //NoQuoteQualifiers is a repeating group in NoRelatedSym type NoQuoteQualifiers struct { diff --git a/fix44/quoterequestreject/QuoteRequestReject.go b/fix44/quoterequestreject/QuoteRequestReject.go index 9a2c83864..c24f92b69 100644 --- a/fix44/quoterequestreject/QuoteRequestReject.go +++ b/fix44/quoterequestreject/QuoteRequestReject.go @@ -22,10 +22,10 @@ import ( //NoRelatedSym is a repeating group in QuoteRequestReject type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for NoRelatedSym. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //PrevClosePx is a non-required field for NoRelatedSym. @@ -44,8 +44,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -56,8 +56,8 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. @@ -76,57 +76,72 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties } -func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } -func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } -func (m *NoRelatedSym) SetQtyType(v int) { m.QtyType = &v } -func (m *NoRelatedSym) SetSettlType(v string) { m.SettlType = &v } -func (m *NoRelatedSym) SetSettlDate(v string) { m.SettlDate = &v } -func (m *NoRelatedSym) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetAccount(v string) { m.Account = &v } -func (m *NoRelatedSym) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *NoRelatedSym) SetAccountType(v int) { m.AccountType = &v } -func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoRelatedSym) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } -func (m *NoRelatedSym) SetQuotePriceType(v int) { m.QuotePriceType = &v } -func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } -func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } -func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } -func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { + m.FinancingDetails = &v +} +func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } +func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *NoRelatedSym) SetSide(v string) { m.Side = &v } +func (m *NoRelatedSym) SetQtyType(v int) { m.QtyType = &v } +func (m *NoRelatedSym) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *NoRelatedSym) SetSettlType(v string) { m.SettlType = &v } +func (m *NoRelatedSym) SetSettlDate(v string) { m.SettlDate = &v } +func (m *NoRelatedSym) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *NoRelatedSym) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *NoRelatedSym) SetAccount(v string) { m.Account = &v } +func (m *NoRelatedSym) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *NoRelatedSym) SetAccountType(v int) { m.AccountType = &v } +func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoRelatedSym) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } +func (m *NoRelatedSym) SetQuotePriceType(v int) { m.QuotePriceType = &v } +func (m *NoRelatedSym) SetOrdType(v string) { m.OrdType = &v } +func (m *NoRelatedSym) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *NoRelatedSym) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *NoRelatedSym) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *NoRelatedSym) SetPriceType(v int) { m.PriceType = &v } +func (m *NoRelatedSym) SetPrice(v float64) { m.Price = &v } +func (m *NoRelatedSym) SetPrice2(v float64) { m.Price2 = &v } +func (m *NoRelatedSym) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *NoRelatedSym) SetParties(v parties.Parties) { m.Parties = &v } //NoUnderlyings is a repeating group in NoRelatedSym type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -135,18 +150,24 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData) { + m.LegBenchmarkCurveData = &v +} //NoQuoteQualifiers is a repeating group in NoRelatedSym type NoQuoteQualifiers struct { diff --git a/fix44/quoteresponse/QuoteResponse.go b/fix44/quoteresponse/QuoteResponse.go index 46431e7d4..a081b69ab 100644 --- a/fix44/quoteresponse/QuoteResponse.go +++ b/fix44/quoteresponse/QuoteResponse.go @@ -30,14 +30,18 @@ func (m *NoQuoteQualifiers) SetQuoteQualifier(v string) { m.QuoteQualifier = &v //NoUnderlyings is a repeating group in QuoteResponse type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in QuoteResponse type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -46,27 +50,33 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegPriceType is a non-required field for NoLegs. LegPriceType *int `fix:"686"` //LegBidPx is a non-required field for NoLegs. LegBidPx *float64 `fix:"681"` //LegOfferPx is a non-required field for NoLegs. LegOfferPx *float64 `fix:"684"` - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } -func (m *NoLegs) SetLegPriceType(v int) { m.LegPriceType = &v } -func (m *NoLegs) SetLegBidPx(v float64) { m.LegBidPx = &v } -func (m *NoLegs) SetLegOfferPx(v float64) { m.LegOfferPx = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegPriceType(v int) { m.LegPriceType = &v } +func (m *NoLegs) SetLegBidPx(v float64) { m.LegBidPx = &v } +func (m *NoLegs) SetLegOfferPx(v float64) { m.LegOfferPx = &v } +func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData) { + m.LegBenchmarkCurveData = &v +} //Message is a QuoteResponse FIX Message type Message struct { @@ -88,22 +98,22 @@ type Message struct { QuoteType *int `fix:"537"` //NoQuoteQualifiers is a non-required field for QuoteResponse. NoQuoteQualifiers []NoQuoteQualifiers `fix:"735,omitempty"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteResponse. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteResponse. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteResponse. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteResponse. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for QuoteResponse. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for QuoteResponse. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a non-required field for QuoteResponse. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteResponse. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteResponse. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteResponse. @@ -114,8 +124,8 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteResponse. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteResponse. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteResponse. @@ -190,70 +200,79 @@ type Message struct { Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteResponse. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteResponse. + YieldData *yielddata.YieldData fix44.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/quotestatusreport/QuoteStatusReport.go b/fix44/quotestatusreport/QuoteStatusReport.go index d612d79c1..d5625827d 100644 --- a/fix44/quotestatusreport/QuoteStatusReport.go +++ b/fix44/quotestatusreport/QuoteStatusReport.go @@ -21,14 +21,18 @@ import ( //NoUnderlyings is a repeating group in QuoteStatusReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in QuoteStatusReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -37,16 +41,19 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } //NoQuoteQualifiers is a repeating group in QuoteStatusReport type NoQuoteQualifiers struct { @@ -70,22 +77,22 @@ type Message struct { QuoteRespID *string `fix:"693"` //QuoteType is a non-required field for QuoteStatusReport. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteStatusReport. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteStatusReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteStatusReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteStatusReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for QuoteStatusReport. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for QuoteStatusReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a non-required field for QuoteStatusReport. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteStatusReport. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteStatusReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteStatusReport. @@ -96,8 +103,8 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteStatusReport. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteStatusReport. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteStatusReport. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusReport. @@ -114,10 +121,10 @@ type Message struct { Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteStatusReport. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteStatusReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteStatusReport. + YieldData *yielddata.YieldData //BidPx is a non-required field for QuoteStatusReport. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for QuoteStatusReport. @@ -188,60 +195,69 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoQuoteQualifiers(v []NoQuoteQualifiers) { m.NoQuoteQualifiers = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/quotestatusrequest/QuoteStatusRequest.go b/fix44/quotestatusrequest/QuoteStatusRequest.go index dfa97d9f5..ff5305321 100644 --- a/fix44/quotestatusrequest/QuoteStatusRequest.go +++ b/fix44/quotestatusrequest/QuoteStatusRequest.go @@ -14,16 +14,22 @@ import ( //NoUnderlyings is a repeating group in QuoteStatusRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in QuoteStatusRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a QuoteStatusRequest FIX Message type Message struct { FIXMsgType string `fix:"a"` @@ -32,16 +38,16 @@ type Message struct { QuoteStatusReqID *string `fix:"649"` //QuoteID is a non-required field for QuoteStatusRequest. QuoteID *string `fix:"117"` - //Instrument Component + //Instrument is a required component for QuoteStatusRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for QuoteStatusRequest. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for QuoteStatusRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for QuoteStatusRequest. NoLegs []NoLegs `fix:"555,omitempty"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteStatusRequest. + Parties *parties.Parties //Account is a non-required field for QuoteStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusRequest. @@ -60,16 +66,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/registrationinstructions/RegistrationInstructions.go b/fix44/registrationinstructions/RegistrationInstructions.go index 9ce713ef9..f7c8161f8 100644 --- a/fix44/registrationinstructions/RegistrationInstructions.go +++ b/fix44/registrationinstructions/RegistrationInstructions.go @@ -19,8 +19,8 @@ type NoRegistDtls struct { MailingDtls *string `fix:"474"` //MailingInst is a non-required field for NoRegistDtls. MailingInst *string `fix:"482"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoRegistDtls. + NestedParties *nestedparties.NestedParties //OwnerType is a non-required field for NoRegistDtls. OwnerType *int `fix:"522"` //DateOfBirth is a non-required field for NoRegistDtls. @@ -29,13 +29,14 @@ type NoRegistDtls struct { InvestorCountryOfResidence *string `fix:"475"` } -func (m *NoRegistDtls) SetRegistDtls(v string) { m.RegistDtls = &v } -func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } -func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } -func (m *NoRegistDtls) SetMailingInst(v string) { m.MailingInst = &v } -func (m *NoRegistDtls) SetOwnerType(v int) { m.OwnerType = &v } -func (m *NoRegistDtls) SetDateOfBirth(v string) { m.DateOfBirth = &v } -func (m *NoRegistDtls) SetInvestorCountryOfResidence(v string) { m.InvestorCountryOfResidence = &v } +func (m *NoRegistDtls) SetRegistDtls(v string) { m.RegistDtls = &v } +func (m *NoRegistDtls) SetRegistEmail(v string) { m.RegistEmail = &v } +func (m *NoRegistDtls) SetMailingDtls(v string) { m.MailingDtls = &v } +func (m *NoRegistDtls) SetMailingInst(v string) { m.MailingInst = &v } +func (m *NoRegistDtls) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoRegistDtls) SetOwnerType(v int) { m.OwnerType = &v } +func (m *NoRegistDtls) SetDateOfBirth(v string) { m.DateOfBirth = &v } +func (m *NoRegistDtls) SetInvestorCountryOfResidence(v string) { m.InvestorCountryOfResidence = &v } //NoDistribInsts is a repeating group in RegistrationInstructions type NoDistribInsts struct { @@ -78,8 +79,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructions. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructions. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructions. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructions. @@ -104,6 +105,7 @@ func (m *Message) SetRegistID(v string) { m.RegistID = v } func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } diff --git a/fix44/registrationinstructionsresponse/RegistrationInstructionsResponse.go b/fix44/registrationinstructionsresponse/RegistrationInstructionsResponse.go index e85c179ec..62539e148 100644 --- a/fix44/registrationinstructionsresponse/RegistrationInstructionsResponse.go +++ b/fix44/registrationinstructionsresponse/RegistrationInstructionsResponse.go @@ -20,8 +20,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructionsResponse. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructionsResponse. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructionsResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructionsResponse. @@ -42,6 +42,7 @@ func (m *Message) SetRegistID(v string) { m.RegistID = v } func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetRegistStatus(v string) { m.RegistStatus = v } diff --git a/fix44/requestforpositions/RequestForPositions.go b/fix44/requestforpositions/RequestForPositions.go index d14caacf7..88042658f 100644 --- a/fix44/requestforpositions/RequestForPositions.go +++ b/fix44/requestforpositions/RequestForPositions.go @@ -14,14 +14,20 @@ import ( //NoLegs is a repeating group in RequestForPositions type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in RequestForPositions type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoTradingSessions is a repeating group in RequestForPositions @@ -47,7 +53,7 @@ type Message struct { MatchStatus *string `fix:"573"` //SubscriptionRequestType is a non-required field for RequestForPositions. SubscriptionRequestType *string `fix:"263"` - //Parties Component + //Parties is a required component for RequestForPositions. parties.Parties //Account is a required field for RequestForPositions. Account string `fix:"1"` @@ -55,8 +61,8 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a required field for RequestForPositions. AccountType int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositions. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositions. Currency *string `fix:"15"` //NoLegs is a non-required field for RequestForPositions. @@ -93,9 +99,11 @@ func (m *Message) SetPosReqID(v string) { m.PosReqID = v } func (m *Message) SetPosReqType(v int) { m.PosReqType = v } func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } func (m *Message) SetAccount(v string) { m.Account = v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } diff --git a/fix44/requestforpositionsack/RequestForPositionsAck.go b/fix44/requestforpositionsack/RequestForPositionsAck.go index 45f59a162..63292e988 100644 --- a/fix44/requestforpositionsack/RequestForPositionsAck.go +++ b/fix44/requestforpositionsack/RequestForPositionsAck.go @@ -13,14 +13,20 @@ import ( //NoLegs is a repeating group in RequestForPositionsAck type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoUnderlyings is a repeating group in RequestForPositionsAck type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //Message is a RequestForPositionsAck FIX Message @@ -39,7 +45,7 @@ type Message struct { PosReqResult int `fix:"728"` //PosReqStatus is a required field for RequestForPositionsAck. PosReqStatus int `fix:"729"` - //Parties Component + //Parties is a required component for RequestForPositionsAck. parties.Parties //Account is a required field for RequestForPositionsAck. Account string `fix:"1"` @@ -47,8 +53,8 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a required field for RequestForPositionsAck. AccountType int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositionsAck. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositionsAck. Currency *string `fix:"15"` //NoLegs is a non-required field for RequestForPositionsAck. @@ -71,23 +77,25 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } -func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } -func (m *Message) SetAccount(v string) { m.Account = v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } +func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/rfqrequest/RFQRequest.go b/fix44/rfqrequest/RFQRequest.go index 9ef0857fb..81fbd605d 100644 --- a/fix44/rfqrequest/RFQRequest.go +++ b/fix44/rfqrequest/RFQRequest.go @@ -12,7 +12,7 @@ import ( //NoRelatedSym is a repeating group in RFQRequest type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument //NoUnderlyings is a non-required field for NoRelatedSym. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -30,26 +30,33 @@ type NoRelatedSym struct { TradingSessionSubID *string `fix:"625"` } -func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } -func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } -func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoRelatedSym) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *NoRelatedSym) SetQuoteRequestType(v int) { m.QuoteRequestType = &v } +func (m *NoRelatedSym) SetQuoteType(v int) { m.QuoteType = &v } +func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *NoRelatedSym) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //NoUnderlyings is a repeating group in NoRelatedSym type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a RFQRequest FIX Message type Message struct { FIXMsgType string `fix:"AH"` diff --git a/fix44/securitydefinition/SecurityDefinition.go b/fix44/securitydefinition/SecurityDefinition.go index 405ce0557..bb4df4d3d 100644 --- a/fix44/securitydefinition/SecurityDefinition.go +++ b/fix44/securitydefinition/SecurityDefinition.go @@ -13,16 +13,22 @@ import ( //NoUnderlyings is a repeating group in SecurityDefinition type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in SecurityDefinition type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a SecurityDefinition FIX Message type Message struct { FIXMsgType string `fix:"d"` @@ -33,10 +39,10 @@ type Message struct { SecurityResponseID string `fix:"322"` //SecurityResponseType is a required field for SecurityDefinition. SecurityResponseType int `fix:"323"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension + //Instrument is a non-required component for SecurityDefinition. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinition. + InstrumentExtension *instrumentextension.InstrumentExtension //NoUnderlyings is a non-required field for SecurityDefinition. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Currency is a non-required field for SecurityDefinition. @@ -65,9 +71,13 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } diff --git a/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go index 383afa5ff..7e727abff 100644 --- a/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix44/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -13,16 +13,22 @@ import ( //NoUnderlyings is a repeating group in SecurityDefinitionRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in SecurityDefinitionRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a SecurityDefinitionRequest FIX Message type Message struct { FIXMsgType string `fix:"c"` @@ -31,10 +37,10 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityRequestType is a required field for SecurityDefinitionRequest. SecurityRequestType int `fix:"321"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension + //Instrument is a non-required component for SecurityDefinitionRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinitionRequest. + InstrumentExtension *instrumentextension.InstrumentExtension //NoUnderlyings is a non-required field for SecurityDefinitionRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Currency is a non-required field for SecurityDefinitionRequest. @@ -61,8 +67,12 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetText(v string) { m.Text = &v } diff --git a/fix44/securitylist/SecurityList.go b/fix44/securitylist/SecurityList.go index 253c5fb54..7708105ad 100644 --- a/fix44/securitylist/SecurityList.go +++ b/fix44/securitylist/SecurityList.go @@ -19,24 +19,24 @@ import ( //NoRelatedSym is a repeating group in SecurityList type NoRelatedSym struct { - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for NoRelatedSym. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //NoLegs is a non-required field for NoRelatedSym. NoLegs []NoLegs `fix:"555,omitempty"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData //RoundLot is a non-required field for NoRelatedSym. RoundLot *float64 `fix:"561"` //MinTradeVol is a non-required field for NoRelatedSym. @@ -55,9 +55,21 @@ type NoRelatedSym struct { EncodedText *string `fix:"355"` } -func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } -func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoRelatedSym) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *NoRelatedSym) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails) { + m.FinancingDetails = &v +} +func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *NoRelatedSym) SetCurrency(v string) { m.Currency = &v } +func (m *NoRelatedSym) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *NoRelatedSym) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *NoRelatedSym) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *NoRelatedSym) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } func (m *NoRelatedSym) SetRoundLot(v float64) { m.RoundLot = &v } func (m *NoRelatedSym) SetMinTradeVol(v float64) { m.MinTradeVol = &v } func (m *NoRelatedSym) SetTradingSessionID(v string) { m.TradingSessionID = &v } @@ -69,26 +81,35 @@ func (m *NoRelatedSym) SetEncodedText(v string) { m.EncodedText = &v //NoUnderlyings is a repeating group in NoRelatedSym type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in NoRelatedSym type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` //LegSettlType is a non-required field for NoLegs. LegSettlType *string `fix:"587"` - //LegStipulations Component - legstipulations.LegStipulations - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData) { + m.LegBenchmarkCurveData = &v +} //Message is a SecurityList FIX Message type Message struct { diff --git a/fix44/securitylistrequest/SecurityListRequest.go b/fix44/securitylistrequest/SecurityListRequest.go index 66f781c10..d82db8570 100644 --- a/fix44/securitylistrequest/SecurityListRequest.go +++ b/fix44/securitylistrequest/SecurityListRequest.go @@ -14,16 +14,22 @@ import ( //NoUnderlyings is a repeating group in SecurityListRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in SecurityListRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a SecurityListRequest FIX Message type Message struct { FIXMsgType string `fix:"x"` @@ -32,12 +38,12 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for SecurityListRequest. SecurityListRequestType int `fix:"559"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails + //Instrument is a non-required component for SecurityListRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityListRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for SecurityListRequest. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for SecurityListRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for SecurityListRequest. @@ -62,17 +68,22 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/securitystatus/SecurityStatus.go b/fix44/securitystatus/SecurityStatus.go index f53d19579..cace7ab30 100644 --- a/fix44/securitystatus/SecurityStatus.go +++ b/fix44/securitystatus/SecurityStatus.go @@ -14,26 +14,32 @@ import ( //NoUnderlyings is a repeating group in SecurityStatus type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in SecurityStatus type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a SecurityStatus FIX Message type Message struct { FIXMsgType string `fix:"f"` fix44.Header //SecurityStatusReqID is a non-required field for SecurityStatus. SecurityStatusReqID *string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatus. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension + //InstrumentExtension is a non-required component for SecurityStatus. + InstrumentExtension *instrumentextension.InstrumentExtension //NoUnderlyings is a non-required field for SecurityStatus. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for SecurityStatus. @@ -84,7 +90,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } func (m *Message) SetCurrency(v string) { m.Currency = &v } diff --git a/fix44/securitystatusrequest/SecurityStatusRequest.go b/fix44/securitystatusrequest/SecurityStatusRequest.go index 8d212f965..41e7d2ede 100644 --- a/fix44/securitystatusrequest/SecurityStatusRequest.go +++ b/fix44/securitystatusrequest/SecurityStatusRequest.go @@ -13,26 +13,32 @@ import ( //NoUnderlyings is a repeating group in SecurityStatusRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in SecurityStatusRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a SecurityStatusRequest FIX Message type Message struct { FIXMsgType string `fix:"e"` fix44.Header //SecurityStatusReqID is a required field for SecurityStatusRequest. SecurityStatusReqID string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatusRequest. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension + //InstrumentExtension is a non-required component for SecurityStatusRequest. + InstrumentExtension *instrumentextension.InstrumentExtension //NoUnderlyings is a non-required field for SecurityStatusRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for SecurityStatusRequest. @@ -51,7 +57,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } func (m *Message) SetCurrency(v string) { m.Currency = &v } diff --git a/fix44/settlementinstructionrequest/SettlementInstructionRequest.go b/fix44/settlementinstructionrequest/SettlementInstructionRequest.go index bd01f1601..5db2568c5 100644 --- a/fix44/settlementinstructionrequest/SettlementInstructionRequest.go +++ b/fix44/settlementinstructionrequest/SettlementInstructionRequest.go @@ -17,8 +17,8 @@ type Message struct { SettlInstReqID string `fix:"791"` //TransactTime is a required field for SettlementInstructionRequest. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for SettlementInstructionRequest. + Parties *parties.Parties //AllocAccount is a non-required field for SettlementInstructionRequest. AllocAccount *string `fix:"79"` //AllocAcctIDSource is a non-required field for SettlementInstructionRequest. @@ -51,6 +51,7 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *Message) SetSide(v string) { m.Side = &v } diff --git a/fix44/settlementinstructions/SettlementInstructions.go b/fix44/settlementinstructions/SettlementInstructions.go index caaeb818c..d0ab74fab 100644 --- a/fix44/settlementinstructions/SettlementInstructions.go +++ b/fix44/settlementinstructions/SettlementInstructions.go @@ -18,8 +18,8 @@ type NoSettlInst struct { SettlInstTransType *string `fix:"163"` //SettlInstRefID is a non-required field for NoSettlInst. SettlInstRefID *string `fix:"214"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSettlInst. + Parties *parties.Parties //Side is a non-required field for NoSettlInst. Side *string `fix:"54"` //Product is a non-required field for NoSettlInst. @@ -34,8 +34,8 @@ type NoSettlInst struct { ExpireTime *time.Time `fix:"126"` //LastUpdateTime is a non-required field for NoSettlInst. LastUpdateTime *time.Time `fix:"779"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoSettlInst. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //PaymentMethod is a non-required field for NoSettlInst. PaymentMethod *int `fix:"492"` //PaymentRef is a non-required field for NoSettlInst. @@ -59,6 +59,7 @@ type NoSettlInst struct { func (m *NoSettlInst) SetSettlInstID(v string) { m.SettlInstID = &v } func (m *NoSettlInst) SetSettlInstTransType(v string) { m.SettlInstTransType = &v } func (m *NoSettlInst) SetSettlInstRefID(v string) { m.SettlInstRefID = &v } +func (m *NoSettlInst) SetParties(v parties.Parties) { m.Parties = &v } func (m *NoSettlInst) SetSide(v string) { m.Side = &v } func (m *NoSettlInst) SetProduct(v int) { m.Product = &v } func (m *NoSettlInst) SetSecurityType(v string) { m.SecurityType = &v } @@ -66,15 +67,18 @@ func (m *NoSettlInst) SetCFICode(v string) { m.CFICode = &v } func (m *NoSettlInst) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } func (m *NoSettlInst) SetExpireTime(v time.Time) { m.ExpireTime = &v } func (m *NoSettlInst) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } -func (m *NoSettlInst) SetPaymentMethod(v int) { m.PaymentMethod = &v } -func (m *NoSettlInst) SetPaymentRef(v string) { m.PaymentRef = &v } -func (m *NoSettlInst) SetCardHolderName(v string) { m.CardHolderName = &v } -func (m *NoSettlInst) SetCardNumber(v string) { m.CardNumber = &v } -func (m *NoSettlInst) SetCardStartDate(v string) { m.CardStartDate = &v } -func (m *NoSettlInst) SetCardExpDate(v string) { m.CardExpDate = &v } -func (m *NoSettlInst) SetCardIssNum(v string) { m.CardIssNum = &v } -func (m *NoSettlInst) SetPaymentDate(v string) { m.PaymentDate = &v } -func (m *NoSettlInst) SetPaymentRemitterID(v string) { m.PaymentRemitterID = &v } +func (m *NoSettlInst) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *NoSettlInst) SetPaymentMethod(v int) { m.PaymentMethod = &v } +func (m *NoSettlInst) SetPaymentRef(v string) { m.PaymentRef = &v } +func (m *NoSettlInst) SetCardHolderName(v string) { m.CardHolderName = &v } +func (m *NoSettlInst) SetCardNumber(v string) { m.CardNumber = &v } +func (m *NoSettlInst) SetCardStartDate(v string) { m.CardStartDate = &v } +func (m *NoSettlInst) SetCardExpDate(v string) { m.CardExpDate = &v } +func (m *NoSettlInst) SetCardIssNum(v string) { m.CardIssNum = &v } +func (m *NoSettlInst) SetPaymentDate(v string) { m.PaymentDate = &v } +func (m *NoSettlInst) SetPaymentRemitterID(v string) { m.PaymentRemitterID = &v } //Message is a SettlementInstructions FIX Message type Message struct { diff --git a/fix44/settlinstructionsdata/SettlInstructionsData.go b/fix44/settlinstructionsdata/SettlInstructionsData.go index 1289d2a64..07751e147 100644 --- a/fix44/settlinstructionsdata/SettlInstructionsData.go +++ b/fix44/settlinstructionsdata/SettlInstructionsData.go @@ -10,8 +10,8 @@ type NoDlvyInst struct { SettlInstSource *string `fix:"165"` //DlvyInstType is a non-required field for NoDlvyInst. DlvyInstType *string `fix:"787"` - //SettlParties Component - settlparties.SettlParties + //SettlParties is a non-required component for NoDlvyInst. + SettlParties *settlparties.SettlParties } //SettlInstructionsData is a fix44 Component diff --git a/fix44/tradecapturereport/TradeCaptureReport.go b/fix44/tradecapturereport/TradeCaptureReport.go index 73c350172..a702c967e 100644 --- a/fix44/tradecapturereport/TradeCaptureReport.go +++ b/fix44/tradecapturereport/TradeCaptureReport.go @@ -25,26 +25,30 @@ import ( //NoUnderlyings is a repeating group in TradeCaptureReport type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in TradeCaptureReport type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -57,15 +61,18 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } -func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } //NoSides is a repeating group in TradeCaptureReport type NoSides struct { @@ -81,8 +88,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoSides. ListID *string `fix:"66"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoSides. @@ -127,8 +134,8 @@ type NoSides struct { TradingSessionSubID *string `fix:"625"` //TimeBracket is a non-required field for NoSides. TimeBracket *string `fix:"943"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //GrossTradeAmt is a non-required field for NoSides. GrossTradeAmt *float64 `fix:"381"` //NumDaysInterest is a non-required field for NoSides. @@ -173,8 +180,8 @@ type NoSides struct { SideMultiLegReportingType *int `fix:"752"` //NoContAmts is a non-required field for NoSides. NoContAmts []NoContAmts `fix:"518,omitempty"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoSides. + Stipulations *stipulations.Stipulations //NoMiscFees is a non-required field for NoSides. NoMiscFees []NoMiscFees `fix:"136,omitempty"` //ExchangeRule is a non-required field for NoSides. @@ -201,6 +208,7 @@ func (m *NoSides) SetSecondaryOrderID(v string) { m.Seco func (m *NoSides) SetClOrdID(v string) { m.ClOrdID = &v } func (m *NoSides) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } func (m *NoSides) SetListID(v string) { m.ListID = &v } +func (m *NoSides) SetParties(v parties.Parties) { m.Parties = &v } func (m *NoSides) SetAccount(v string) { m.Account = &v } func (m *NoSides) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *NoSides) SetAccountType(v int) { m.AccountType = &v } @@ -223,6 +231,7 @@ func (m *NoSides) SetTransBkdTime(v time.Time) { m.Tran func (m *NoSides) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *NoSides) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } func (m *NoSides) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *NoSides) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } func (m *NoSides) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } func (m *NoSides) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } func (m *NoSides) SetExDate(v string) { m.ExDate = &v } @@ -245,6 +254,7 @@ func (m *NoSides) SetEncodedTextLen(v int) { m.Enco func (m *NoSides) SetEncodedText(v string) { m.EncodedText = &v } func (m *NoSides) SetSideMultiLegReportingType(v int) { m.SideMultiLegReportingType = &v } func (m *NoSides) SetNoContAmts(v []NoContAmts) { m.NoContAmts = v } +func (m *NoSides) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } func (m *NoSides) SetNoMiscFees(v []NoMiscFees) { m.NoMiscFees = v } func (m *NoSides) SetExchangeRule(v string) { m.ExchangeRule = &v } func (m *NoSides) SetTradeAllocIndicator(v int) { m.TradeAllocIndicator = &v } @@ -304,17 +314,18 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoAllocs. + NestedParties2 *nestedparties2.NestedParties2 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //Message is a TradeCaptureReport FIX Message type Message struct { @@ -368,16 +379,16 @@ type Message struct { PreviouslyReported bool `fix:"570"` //PriceType is a non-required field for TradeCaptureReport. PriceType *int `fix:"423"` - //Instrument Component + //Instrument is a required component for TradeCaptureReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //OrderQtyData Component - orderqtydata.OrderQtyData + //FinancingDetails is a non-required component for TradeCaptureReport. + FinancingDetails *financingdetails.FinancingDetails + //OrderQtyData is a non-required component for TradeCaptureReport. + OrderQtyData *orderqtydata.OrderQtyData //QtyType is a non-required field for TradeCaptureReport. QtyType *int `fix:"854"` - //YieldData Component - yielddata.YieldData + //YieldData is a non-required component for TradeCaptureReport. + YieldData *yielddata.YieldData //NoUnderlyings is a non-required field for TradeCaptureReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //UnderlyingTradingSessionID is a non-required field for TradeCaptureReport. @@ -402,12 +413,12 @@ type Message struct { ClearingBusinessDate *string `fix:"715"` //AvgPx is a non-required field for TradeCaptureReport. AvgPx *float64 `fix:"6"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for TradeCaptureReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //AvgPxIndicator is a non-required field for TradeCaptureReport. AvgPxIndicator *int `fix:"819"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for TradeCaptureReport. + PositionAmountData *positionamountdata.PositionAmountData //MultiLegReportingType is a non-required field for TradeCaptureReport. MultiLegReportingType *string `fix:"442"` //TradeLegRefID is a non-required field for TradeCaptureReport. @@ -416,8 +427,8 @@ type Message struct { NoLegs []NoLegs `fix:"555,omitempty"` //TransactTime is a required field for TradeCaptureReport. TransactTime time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //SettlType is a non-required field for TradeCaptureReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for TradeCaptureReport. @@ -434,53 +445,64 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } -func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = v } -func (m *Message) SetLastPx(v float64) { m.LastPx = v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } +func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = v } +func (m *Message) SetLastPx(v float64) { m.LastPx = v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetNoSides(v []NoSides) { m.NoSides = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/tradecapturereportack/TradeCaptureReportAck.go b/fix44/tradecapturereportack/TradeCaptureReportAck.go index 8abcd4241..ac8458f12 100644 --- a/fix44/tradecapturereportack/TradeCaptureReportAck.go +++ b/fix44/tradecapturereportack/TradeCaptureReportAck.go @@ -16,20 +16,20 @@ import ( //NoLegs is a repeating group in TradeCaptureReportAck type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. @@ -42,15 +42,18 @@ type NoLegs struct { LegLastPx *float64 `fix:"637"` } -func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } -func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } -func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } -func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } -func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } -func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } -func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } -func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } +func (m *NoLegs) SetLegQty(v float64) { m.LegQty = &v } +func (m *NoLegs) SetLegSwapType(v int) { m.LegSwapType = &v } +func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations) { m.LegStipulations = &v } +func (m *NoLegs) SetLegPositionEffect(v string) { m.LegPositionEffect = &v } +func (m *NoLegs) SetLegCoveredOrUncovered(v int) { m.LegCoveredOrUncovered = &v } +func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties) { m.NestedParties = &v } +func (m *NoLegs) SetLegRefID(v string) { m.LegRefID = &v } +func (m *NoLegs) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *NoLegs) SetLegSettlType(v string) { m.LegSettlType = &v } +func (m *NoLegs) SetLegSettlDate(v string) { m.LegSettlDate = &v } +func (m *NoLegs) SetLegLastPx(v float64) { m.LegLastPx = &v } //NoAllocs is a repeating group in TradeCaptureReportAck type NoAllocs struct { @@ -62,17 +65,18 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoAllocs. + NestedParties2 *nestedparties2.NestedParties2 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } -func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } -func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } +func (m *NoAllocs) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *NoAllocs) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *NoAllocs) SetAllocSettlCurrency(v string) { m.AllocSettlCurrency = &v } +func (m *NoAllocs) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *NoAllocs) SetNestedParties2(v nestedparties2.NestedParties2) { m.NestedParties2 = &v } +func (m *NoAllocs) SetAllocQty(v float64) { m.AllocQty = &v } //Message is a TradeCaptureReportAck FIX Message type Message struct { @@ -114,12 +118,12 @@ type Message struct { ExecID *string `fix:"17"` //SecondaryExecID is a non-required field for TradeCaptureReportAck. SecondaryExecID *string `fix:"527"` - //Instrument Component + //Instrument is a required component for TradeCaptureReportAck. instrument.Instrument //TransactTime is a non-required field for TradeCaptureReportAck. TransactTime *time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReportAck. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //ResponseTransportType is a non-required field for TradeCaptureReportAck. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for TradeCaptureReportAck. @@ -158,41 +162,43 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } -func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } +func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetNoAllocs(v []NoAllocs) { m.NoAllocs = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go b/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go index bcfe500fc..5f32c99e5 100644 --- a/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go +++ b/fix44/tradecapturereportrequest/TradeCaptureReportRequest.go @@ -16,16 +16,22 @@ import ( //NoUnderlyings is a repeating group in TradeCaptureReportRequest type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in TradeCaptureReportRequest type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //NoDates is a repeating group in TradeCaptureReportRequest type NoDates struct { //TradeDate is a non-required field for NoDates. @@ -73,14 +79,14 @@ type Message struct { TradeLinkID *string `fix:"820"` //TrdMatchID is a non-required field for TradeCaptureReportRequest. TrdMatchID *string `fix:"880"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails + //Parties is a non-required component for TradeCaptureReportRequest. + Parties *parties.Parties + //Instrument is a non-required component for TradeCaptureReportRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for TradeCaptureReportRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for TradeCaptureReportRequest. + FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for TradeCaptureReportRequest. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoLegs is a non-required field for TradeCaptureReportRequest. @@ -119,38 +125,44 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetNoDates(v []NoDates) { m.NoDates = v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetNoDates(v []NoDates) { m.NoDates = v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go b/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go index 8dba16cb2..26f31e1eb 100644 --- a/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go +++ b/fix44/tradecapturereportrequestack/TradeCaptureReportRequestAck.go @@ -12,16 +12,22 @@ import ( //NoUnderlyings is a repeating group in TradeCaptureReportRequestAck type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument +} + +func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v } //NoLegs is a repeating group in TradeCaptureReportRequestAck type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } +func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg) { m.InstrumentLeg = &v } + //Message is a TradeCaptureReportRequestAck FIX Message type Message struct { FIXMsgType string `fix:"AQ"` @@ -38,7 +44,7 @@ type Message struct { TradeRequestResult int `fix:"749"` //TradeRequestStatus is a required field for TradeCaptureReportRequestAck. TradeRequestStatus int `fix:"750"` - //Instrument Component + //Instrument is a required component for TradeCaptureReportRequestAck. instrument.Instrument //NoUnderlyings is a non-required field for TradeCaptureReportRequestAck. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` @@ -62,20 +68,21 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } -func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } -func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } -func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } +func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetNoUnderlyings(v []NoUnderlyings) { m.NoUnderlyings = v } +func (m *Message) SetNoLegs(v []NoLegs) { m.NoLegs = v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix44/underlyinginstrument/UnderlyingInstrument.go b/fix44/underlyinginstrument/UnderlyingInstrument.go index 7c6317ab2..9ac54f094 100644 --- a/fix44/underlyinginstrument/UnderlyingInstrument.go +++ b/fix44/underlyinginstrument/UnderlyingInstrument.go @@ -104,8 +104,8 @@ type UnderlyingInstrument struct { UnderlyingCurrentValue *float64 `fix:"885"` //UnderlyingEndValue is a non-required field for UnderlyingInstrument. UnderlyingEndValue *float64 `fix:"886"` - //UnderlyingStipulations Component - underlyingstipulations.UnderlyingStipulations + //UnderlyingStipulations is a non-required component for UnderlyingInstrument. + UnderlyingStipulations *underlyingstipulations.UnderlyingStipulations } func (m *UnderlyingInstrument) SetUnderlyingSymbol(v string) { m.UnderlyingSymbol = &v } @@ -175,3 +175,6 @@ func (m *UnderlyingInstrument) SetUnderlyingEndPrice(v float64) { m.Underlyi func (m *UnderlyingInstrument) SetUnderlyingStartValue(v float64) { m.UnderlyingStartValue = &v } func (m *UnderlyingInstrument) SetUnderlyingCurrentValue(v float64) { m.UnderlyingCurrentValue = &v } func (m *UnderlyingInstrument) SetUnderlyingEndValue(v float64) { m.UnderlyingEndValue = &v } +func (m *UnderlyingInstrument) SetUnderlyingStipulations(v underlyingstipulations.UnderlyingStipulations) { + m.UnderlyingStipulations = &v +} diff --git a/fix50/adjustedpositionreport/AdjustedPositionReport.go b/fix50/adjustedpositionreport/AdjustedPositionReport.go index de9ae7e49..9d2896701 100644 --- a/fix50/adjustedpositionreport/AdjustedPositionReport.go +++ b/fix50/adjustedpositionreport/AdjustedPositionReport.go @@ -22,12 +22,12 @@ type Message struct { ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for AdjustedPositionReport. SettlSessID *string `fix:"716"` - //Parties Component + //Parties is a required component for AdjustedPositionReport. parties.Parties - //PositionQty Component + //PositionQty is a required component for AdjustedPositionReport. positionqty.PositionQty - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for AdjustedPositionReport. + Instrument *instrument.Instrument //SettlPrice is a non-required field for AdjustedPositionReport. SettlPrice *float64 `fix:"730"` //PriorSettlPrice is a non-required field for AdjustedPositionReport. @@ -40,13 +40,16 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } -func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } -func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } +func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } +func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/advertisement/Advertisement.go b/fix50/advertisement/Advertisement.go index 396a35410..92c6ab793 100644 --- a/fix50/advertisement/Advertisement.go +++ b/fix50/advertisement/Advertisement.go @@ -21,12 +21,12 @@ type Message struct { AdvTransType string `fix:"5"` //AdvRefID is a non-required field for Advertisement. AdvRefID *string `fix:"3"` - //Instrument Component + //Instrument is a required component for Advertisement. instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for Advertisement. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for Advertisement. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //AdvSide is a required field for Advertisement. AdvSide string `fix:"4"` //Quantity is a required field for Advertisement. @@ -61,23 +61,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAdvId(v string) { m.AdvId = v } -func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } -func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } -func (m *Message) SetAdvSide(v string) { m.AdvSide = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetAdvId(v string) { m.AdvId = v } +func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } +func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetAdvSide(v string) { m.AdvSide = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/allocackgrp/AllocAckGrp.go b/fix50/allocackgrp/AllocAckGrp.go index 1d05a7d6b..481822287 100644 --- a/fix50/allocackgrp/AllocAckGrp.go +++ b/fix50/allocackgrp/AllocAckGrp.go @@ -30,8 +30,8 @@ type NoAllocs struct { IndividualAllocType *int `fix:"992"` //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocPositionEffect is a non-required field for NoAllocs. AllocPositionEffect *string `fix:"1047"` } diff --git a/fix50/allocationinstruction/AllocationInstruction.go b/fix50/allocationinstruction/AllocationInstruction.go index e169b9a80..07f937208 100644 --- a/fix50/allocationinstruction/AllocationInstruction.go +++ b/fix50/allocationinstruction/AllocationInstruction.go @@ -47,10 +47,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationInstruction. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationInstruction. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationInstruction. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationInstruction. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationInstruction. @@ -59,16 +59,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationInstruction. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationInstruction. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationInstruction. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationInstruction. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationInstruction. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationInstruction. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationInstruction. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationInstruction. @@ -87,14 +87,14 @@ type Message struct { AvgPx *float64 `fix:"6"` //AvgParPx is a non-required field for AllocationInstruction. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationInstruction. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationInstruction. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationInstruction. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstruction. + Parties *parties.Parties //TradeDate is a required field for AllocationInstruction. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationInstruction. @@ -141,18 +141,18 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationInstruction. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationInstruction. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationInstruction. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationInstruction. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationInstruction. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp - //PositionAmountData Component - positionamountdata.PositionAmountData + //AllocGrp is a non-required component for AllocationInstruction. + AllocGrp *allocgrp.AllocGrp + //PositionAmountData is a non-required component for AllocationInstruction. + PositionAmountData *positionamountdata.PositionAmountData //AvgPxIndicator is a non-required field for AllocationInstruction. AvgPxIndicator *int `fix:"819"` //ClearingBusinessDate is a non-required field for AllocationInstruction. @@ -177,66 +177,85 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/allocationinstructionack/AllocationInstructionAck.go b/fix50/allocationinstructionack/AllocationInstructionAck.go index e56f50e41..fbc4031fe 100644 --- a/fix50/allocationinstructionack/AllocationInstructionAck.go +++ b/fix50/allocationinstructionack/AllocationInstructionAck.go @@ -16,8 +16,8 @@ type Message struct { fixt11.Header //AllocID is a required field for AllocationInstructionAck. AllocID string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstructionAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationInstructionAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationInstructionAck. @@ -44,28 +44,30 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for AllocationInstructionAck. EncodedText *string `fix:"355"` - //AllocAckGrp Component - allocackgrp.AllocAckGrp + //AllocAckGrp is a non-required component for AllocationInstructionAck. + AllocAckGrp *allocackgrp.AllocAckGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetAllocType(v int) { m.AllocType = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetProduct(v int) { m.Product = &v } -func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetAllocType(v int) { m.AllocType = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetProduct(v int) { m.Product = &v } +func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocAckGrp(v allocackgrp.AllocAckGrp) { m.AllocAckGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/allocationinstructionalert/AllocationInstructionAlert.go b/fix50/allocationinstructionalert/AllocationInstructionAlert.go index cea603cef..33a4ac235 100644 --- a/fix50/allocationinstructionalert/AllocationInstructionAlert.go +++ b/fix50/allocationinstructionalert/AllocationInstructionAlert.go @@ -47,10 +47,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationInstructionAlert. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationInstructionAlert. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationInstructionAlert. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationInstructionAlert. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationInstructionAlert. @@ -59,16 +59,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationInstructionAlert. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationInstructionAlert. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationInstructionAlert. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationInstructionAlert. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationInstructionAlert. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationInstructionAlert. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationInstructionAlert. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationInstructionAlert. @@ -87,14 +87,14 @@ type Message struct { AvgPx *float64 `fix:"6"` //AvgParPx is a non-required field for AllocationInstructionAlert. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationInstructionAlert. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationInstructionAlert. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationInstructionAlert. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstructionAlert. + Parties *parties.Parties //TradeDate is a required field for AllocationInstructionAlert. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationInstructionAlert. @@ -141,18 +141,18 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationInstructionAlert. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData - //PositionAmountData Component - positionamountdata.PositionAmountData + //Stipulations is a non-required component for AllocationInstructionAlert. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationInstructionAlert. + YieldData *yielddata.YieldData + //PositionAmountData is a non-required component for AllocationInstructionAlert. + PositionAmountData *positionamountdata.PositionAmountData //TotNoAllocs is a non-required field for AllocationInstructionAlert. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationInstructionAlert. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp + //AllocGrp is a non-required component for AllocationInstructionAlert. + AllocGrp *allocgrp.AllocGrp //AvgPxIndicator is a non-required field for AllocationInstructionAlert. AvgPxIndicator *int `fix:"819"` //ClearingBusinessDate is a non-required field for AllocationInstructionAlert. @@ -177,66 +177,85 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/allocationreport/AllocationReport.go b/fix50/allocationreport/AllocationReport.go index 139a4b7ed..e7d61de73 100644 --- a/fix50/allocationreport/AllocationReport.go +++ b/fix50/allocationreport/AllocationReport.go @@ -55,10 +55,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationReport. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationReport. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationReport. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationReport. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationReport. @@ -67,16 +67,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationReport. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationReport. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationReport. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationReport. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationReport. @@ -95,14 +95,14 @@ type Message struct { AvgPx float64 `fix:"6"` //AvgParPx is a non-required field for AllocationReport. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationReport. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationReport. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReport. + Parties *parties.Parties //TradeDate is a required field for AllocationReport. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationReport. @@ -149,16 +149,16 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationReport. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationReport. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationReport. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationReport. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationReport. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp + //AllocGrp is a non-required component for AllocationReport. + AllocGrp *allocgrp.AllocGrp //ClearingBusinessDate is a non-required field for AllocationReport. ClearingBusinessDate *string `fix:"715"` //TrdType is a non-required field for AllocationReport. @@ -179,79 +179,98 @@ type Message struct { TradeInputDevice *string `fix:"579"` //AvgPxIndicator is a non-required field for AllocationReport. AvgPxIndicator *int `fix:"819"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for AllocationReport. + PositionAmountData *positionamountdata.PositionAmountData fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/allocationreportack/AllocationReportAck.go b/fix50/allocationreportack/AllocationReportAck.go index 1082d13aa..7d288c417 100644 --- a/fix50/allocationreportack/AllocationReportAck.go +++ b/fix50/allocationreportack/AllocationReportAck.go @@ -18,8 +18,8 @@ type Message struct { AllocReportID string `fix:"755"` //AllocID is a required field for AllocationReportAck. AllocID string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReportAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationReportAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationReportAck. @@ -46,8 +46,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for AllocationReportAck. EncodedText *string `fix:"355"` - //AllocAckGrp Component - allocackgrp.AllocAckGrp + //AllocAckGrp is a non-required component for AllocationReportAck. + AllocAckGrp *allocackgrp.AllocAckGrp //ClearingBusinessDate is a non-required field for AllocationReportAck. ClearingBusinessDate *string `fix:"715"` //AvgPxIndicator is a non-required field for AllocationReportAck. @@ -62,25 +62,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = &v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetAllocReportType(v int) { m.AllocReportType = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetProduct(v int) { m.Product = &v } -func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = &v } +func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = &v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetAllocReportType(v int) { m.AllocReportType = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetProduct(v int) { m.Product = &v } +func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocAckGrp(v allocackgrp.AllocAckGrp) { m.AllocAckGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/allocgrp/AllocGrp.go b/fix50/allocgrp/AllocGrp.go index f1ff8d7fc..55d16c873 100644 --- a/fix50/allocgrp/AllocGrp.go +++ b/fix50/allocgrp/AllocGrp.go @@ -24,8 +24,8 @@ type NoAllocs struct { IndividualAllocID *string `fix:"467"` //ProcessCode is a non-required field for NoAllocs. ProcessCode *string `fix:"81"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //NotifyBrokerOfCredit is a non-required field for NoAllocs. NotifyBrokerOfCredit *bool `fix:"208"` //AllocHandlInst is a non-required field for NoAllocs. @@ -36,8 +36,8 @@ type NoAllocs struct { EncodedAllocTextLen *int `fix:"360"` //EncodedAllocText is a non-required field for NoAllocs. EncodedAllocText *string `fix:"361"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoAllocs. + CommissionData *commissiondata.CommissionData //AllocAvgPx is a non-required field for NoAllocs. AllocAvgPx *float64 `fix:"153"` //AllocNetMoney is a non-required field for NoAllocs. @@ -58,14 +58,14 @@ type NoAllocs struct { AllocAccruedInterestAmt *float64 `fix:"742"` //AllocInterestAtMaturity is a non-required field for NoAllocs. AllocInterestAtMaturity *float64 `fix:"741"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //MiscFeesGrp is a non-required component for NoAllocs. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp + //ClrInstGrp is a non-required component for NoAllocs. + ClrInstGrp *clrinstgrp.ClrInstGrp //AllocSettlInstType is a non-required field for NoAllocs. AllocSettlInstType *int `fix:"780"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoAllocs. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //SecondaryIndividualAllocID is a non-required field for NoAllocs. SecondaryIndividualAllocID *string `fix:"989"` //AllocMethod is a non-required field for NoAllocs. diff --git a/fix50/assignmentreport/AssignmentReport.go b/fix50/assignmentreport/AssignmentReport.go index 3815cdd6f..638ce92f8 100644 --- a/fix50/assignmentreport/AssignmentReport.go +++ b/fix50/assignmentreport/AssignmentReport.go @@ -23,24 +23,24 @@ type Message struct { TotNumAssignmentReports *int `fix:"832"` //LastRptRequested is a non-required field for AssignmentReport. LastRptRequested *bool `fix:"912"` - //Parties Component + //Parties is a required component for AssignmentReport. parties.Parties //Account is a non-required field for AssignmentReport. Account *string `fix:"1"` //AccountType is a non-required field for AssignmentReport. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for AssignmentReport. + Instrument *instrument.Instrument //Currency is a non-required field for AssignmentReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //PositionQty Component - positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //InstrmtLegGrp is a non-required component for AssignmentReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for AssignmentReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //PositionQty is a non-required component for AssignmentReport. + PositionQty *positionqty.PositionQty + //PositionAmountData is a non-required component for AssignmentReport. + PositionAmountData *positionamountdata.PositionAmountData //ThresholdAmount is a non-required field for AssignmentReport. ThresholdAmount *float64 `fix:"834"` //SettlPrice is a non-required field for AssignmentReport. @@ -79,12 +79,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } -func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } +func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } diff --git a/fix50/bidcomprspgrp/BidCompRspGrp.go b/fix50/bidcomprspgrp/BidCompRspGrp.go index a44963a5e..30986eb0a 100644 --- a/fix50/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50/bidcomprspgrp/BidCompRspGrp.go @@ -6,7 +6,7 @@ import ( //NoBidComponents is a repeating group in BidCompRspGrp type NoBidComponents struct { - //CommissionData Component + //CommissionData is a required component for NoBidComponents. commissiondata.CommissionData //ListID is a non-required field for NoBidComponents. ListID *string `fix:"66"` diff --git a/fix50/bidrequest/BidRequest.go b/fix50/bidrequest/BidRequest.go index 438864073..ca1cf230b 100644 --- a/fix50/bidrequest/BidRequest.go +++ b/fix50/bidrequest/BidRequest.go @@ -34,10 +34,10 @@ type Message struct { SideValue1 *float64 `fix:"396"` //SideValue2 is a non-required field for BidRequest. SideValue2 *float64 `fix:"397"` - //BidDescReqGrp Component - biddescreqgrp.BidDescReqGrp - //BidCompReqGrp Component - bidcompreqgrp.BidCompReqGrp + //BidDescReqGrp is a non-required component for BidRequest. + BidDescReqGrp *biddescreqgrp.BidDescReqGrp + //BidCompReqGrp is a non-required component for BidRequest. + BidCompReqGrp *bidcompreqgrp.BidCompReqGrp //LiquidityIndType is a non-required field for BidRequest. LiquidityIndType *int `fix:"409"` //WtAverageLiquidity is a non-required field for BidRequest. @@ -78,33 +78,35 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = v } -func (m *Message) SetBidRequestTransType(v string) { m.BidRequestTransType = v } -func (m *Message) SetListName(v string) { m.ListName = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = v } -func (m *Message) SetBidType(v int) { m.BidType = v } -func (m *Message) SetNumTickets(v int) { m.NumTickets = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSideValue1(v float64) { m.SideValue1 = &v } -func (m *Message) SetSideValue2(v float64) { m.SideValue2 = &v } -func (m *Message) SetLiquidityIndType(v int) { m.LiquidityIndType = &v } -func (m *Message) SetWtAverageLiquidity(v float64) { m.WtAverageLiquidity = &v } -func (m *Message) SetExchangeForPhysical(v bool) { m.ExchangeForPhysical = &v } -func (m *Message) SetOutMainCntryUIndex(v float64) { m.OutMainCntryUIndex = &v } -func (m *Message) SetCrossPercent(v float64) { m.CrossPercent = &v } -func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } -func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } -func (m *Message) SetIncTaxInd(v int) { m.IncTaxInd = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetNumBidders(v int) { m.NumBidders = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetBidTradeType(v string) { m.BidTradeType = v } -func (m *Message) SetBasisPxType(v string) { m.BasisPxType = v } -func (m *Message) SetStrikeTime(v time.Time) { m.StrikeTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = v } +func (m *Message) SetBidRequestTransType(v string) { m.BidRequestTransType = v } +func (m *Message) SetListName(v string) { m.ListName = &v } +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = v } +func (m *Message) SetBidType(v int) { m.BidType = v } +func (m *Message) SetNumTickets(v int) { m.NumTickets = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSideValue1(v float64) { m.SideValue1 = &v } +func (m *Message) SetSideValue2(v float64) { m.SideValue2 = &v } +func (m *Message) SetBidDescReqGrp(v biddescreqgrp.BidDescReqGrp) { m.BidDescReqGrp = &v } +func (m *Message) SetBidCompReqGrp(v bidcompreqgrp.BidCompReqGrp) { m.BidCompReqGrp = &v } +func (m *Message) SetLiquidityIndType(v int) { m.LiquidityIndType = &v } +func (m *Message) SetWtAverageLiquidity(v float64) { m.WtAverageLiquidity = &v } +func (m *Message) SetExchangeForPhysical(v bool) { m.ExchangeForPhysical = &v } +func (m *Message) SetOutMainCntryUIndex(v float64) { m.OutMainCntryUIndex = &v } +func (m *Message) SetCrossPercent(v float64) { m.CrossPercent = &v } +func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } +func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } +func (m *Message) SetIncTaxInd(v int) { m.IncTaxInd = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetNumBidders(v int) { m.NumBidders = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetBidTradeType(v string) { m.BidTradeType = v } +func (m *Message) SetBasisPxType(v string) { m.BasisPxType = v } +func (m *Message) SetStrikeTime(v time.Time) { m.StrikeTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/bidresponse/BidResponse.go b/fix50/bidresponse/BidResponse.go index 46e5f112f..ecf69f0d2 100644 --- a/fix50/bidresponse/BidResponse.go +++ b/fix50/bidresponse/BidResponse.go @@ -16,7 +16,7 @@ type Message struct { BidID *string `fix:"390"` //ClientBidID is a non-required field for BidResponse. ClientBidID *string `fix:"391"` - //BidCompRspGrp Component + //BidCompRspGrp is a required component for BidResponse. bidcomprspgrp.BidCompRspGrp fixt11.Trailer } @@ -24,8 +24,9 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetBidCompRspGrp(v bidcomprspgrp.BidCompRspGrp) { m.BidCompRspGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/collateralassignment/CollateralAssignment.go b/fix50/collateralassignment/CollateralAssignment.go index 7ec29d853..4b26d40af 100644 --- a/fix50/collateralassignment/CollateralAssignment.go +++ b/fix50/collateralassignment/CollateralAssignment.go @@ -38,8 +38,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralAssignment. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralAssignment. + Parties *parties.Parties //Account is a non-required field for CollateralAssignment. Account *string `fix:"1"` //AccountType is a non-required field for CollateralAssignment. @@ -52,14 +52,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralAssignment. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralAssignment. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralAssignment. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralAssignment. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralAssignment. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralAssignment. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralAssignment. @@ -68,22 +68,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralAssignment. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralAssignment. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralAssignment. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralAssignment. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralAssignment. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralAssignment. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralAssignment. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralAssignment. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralAssignment. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralAssignment. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralAssignment. @@ -96,12 +96,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralAssignment. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralAssignment. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralAssignment. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralAssignment. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralAssignment. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralAssignment. @@ -124,41 +124,59 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } -func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } +func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/collateralinquiry/CollateralInquiry.go b/fix50/collateralinquiry/CollateralInquiry.go index dc5cee3ab..b5d93701c 100644 --- a/fix50/collateralinquiry/CollateralInquiry.go +++ b/fix50/collateralinquiry/CollateralInquiry.go @@ -25,16 +25,16 @@ type Message struct { fixt11.Header //CollInquiryID is a non-required field for CollateralInquiry. CollInquiryID *string `fix:"909"` - //CollInqQualGrp Component - collinqqualgrp.CollInqQualGrp + //CollInqQualGrp is a non-required component for CollateralInquiry. + CollInqQualGrp *collinqqualgrp.CollInqQualGrp //SubscriptionRequestType is a non-required field for CollateralInquiry. SubscriptionRequestType *string `fix:"263"` //ResponseTransportType is a non-required field for CollateralInquiry. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for CollateralInquiry. ResponseDestination *string `fix:"726"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiry. + Parties *parties.Parties //Account is a non-required field for CollateralInquiry. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiry. @@ -47,14 +47,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralInquiry. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralInquiry. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralInquiry. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralInquiry. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiry. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiry. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiry. @@ -63,18 +63,18 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralInquiry. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralInquiry. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralInquiry. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //MarginExcess is a non-required field for CollateralInquiry. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralInquiry. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralInquiry. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralInquiry. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralInquiry. Side *string `fix:"54"` //Price is a non-required field for CollateralInquiry. @@ -89,12 +89,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralInquiry. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralInquiry. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralInquiry. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralInquiry. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralInquiry. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralInquiry. @@ -117,38 +117,54 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } +func (m *Message) SetCollInqQualGrp(v collinqqualgrp.CollInqQualGrp) { m.CollInqQualGrp = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/collateralinquiryack/CollateralInquiryAck.go b/fix50/collateralinquiryack/CollateralInquiryAck.go index 6d0d2bcbe..8dfd23aa0 100644 --- a/fix50/collateralinquiryack/CollateralInquiryAck.go +++ b/fix50/collateralinquiryack/CollateralInquiryAck.go @@ -25,12 +25,12 @@ type Message struct { CollInquiryStatus int `fix:"945"` //CollInquiryResult is a non-required field for CollateralInquiryAck. CollInquiryResult *int `fix:"946"` - //CollInqQualGrp Component - collinqqualgrp.CollInqQualGrp + //CollInqQualGrp is a non-required component for CollateralInquiryAck. + CollInqQualGrp *collinqqualgrp.CollInqQualGrp //TotNumReports is a non-required field for CollateralInquiryAck. TotNumReports *int `fix:"911"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiryAck. + Parties *parties.Parties //Account is a non-required field for CollateralInquiryAck. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiryAck. @@ -43,14 +43,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralInquiryAck. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralInquiryAck. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralInquiryAck. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralInquiryAck. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiryAck. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiryAck. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiryAck. @@ -59,10 +59,10 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralInquiryAck. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralInquiryAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralInquiryAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //TradingSessionID is a non-required field for CollateralInquiryAck. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralInquiryAck. @@ -89,30 +89,38 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } -func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } -func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } +func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } +func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } +func (m *Message) SetCollInqQualGrp(v collinqqualgrp.CollInqQualGrp) { m.CollInqQualGrp = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/collateralreport/CollateralReport.go b/fix50/collateralreport/CollateralReport.go index 27f462dfc..e74c18b3b 100644 --- a/fix50/collateralreport/CollateralReport.go +++ b/fix50/collateralreport/CollateralReport.go @@ -34,8 +34,8 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for CollateralReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralReport. + Parties *parties.Parties //Account is a non-required field for CollateralReport. Account *string `fix:"1"` //AccountType is a non-required field for CollateralReport. @@ -48,14 +48,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralReport. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralReport. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralReport. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralReport. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralReport. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralReport. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralReport. @@ -64,22 +64,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //MarginExcess is a non-required field for CollateralReport. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralReport. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralReport. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralReport. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralReport. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralReport. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralReport. @@ -92,12 +92,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralReport. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralReport. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralReport. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralReport. @@ -126,42 +126,58 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRptID(v string) { m.CollRptID = v } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } -func (m *Message) SetCollStatus(v int) { m.CollStatus = v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCollRptID(v string) { m.CollRptID = v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } +func (m *Message) SetCollStatus(v int) { m.CollStatus = v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/collateralrequest/CollateralRequest.go b/fix50/collateralrequest/CollateralRequest.go index a377d636e..1eb62cfb8 100644 --- a/fix50/collateralrequest/CollateralRequest.go +++ b/fix50/collateralrequest/CollateralRequest.go @@ -31,8 +31,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralRequest. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralRequest. + Parties *parties.Parties //Account is a non-required field for CollateralRequest. Account *string `fix:"1"` //AccountType is a non-required field for CollateralRequest. @@ -45,14 +45,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralRequest. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralRequest. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralRequest. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralRequest. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralRequest. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralRequest. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralRequest. @@ -61,22 +61,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralRequest. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralRequest. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralRequest. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralRequest. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralRequest. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralRequest. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralRequest. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralRequest. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralRequest. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralRequest. @@ -89,10 +89,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralRequest. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralRequest. + Stipulations *stipulations.Stipulations //TradingSessionID is a non-required field for CollateralRequest. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralRequest. @@ -115,38 +115,53 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollReqID(v string) { m.CollReqID = v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/collateralresponse/CollateralResponse.go b/fix50/collateralresponse/CollateralResponse.go index 67c2aa723..1ee16722c 100644 --- a/fix50/collateralresponse/CollateralResponse.go +++ b/fix50/collateralresponse/CollateralResponse.go @@ -39,8 +39,8 @@ type Message struct { CollAsgnRejectReason *int `fix:"906"` //TransactTime is a required field for CollateralResponse. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralResponse. + Parties *parties.Parties //Account is a non-required field for CollateralResponse. Account *string `fix:"1"` //AccountType is a non-required field for CollateralResponse. @@ -53,14 +53,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralResponse. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralResponse. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralResponse. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralResponse. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralResponse. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralResponse. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralResponse. @@ -69,22 +69,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralResponse. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralResponse. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralResponse. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralResponse. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralResponse. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralResponse. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralResponse. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralResponse. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralResponse. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralResponse. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralResponse. @@ -97,10 +97,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralResponse. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralResponse. + Stipulations *stipulations.Stipulations //Text is a non-required field for CollateralResponse. Text *string `fix:"58"` //EncodedTextLen is a non-required field for CollateralResponse. @@ -119,40 +119,55 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRespID(v string) { m.CollRespID = v } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = &v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = &v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } -func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } -func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetCollRespID(v string) { m.CollRespID = v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = &v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = &v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } +func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } +func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/confirmation/Confirmation.go b/fix50/confirmation/Confirmation.go index 45b9b92cd..d02568e46 100644 --- a/fix50/confirmation/Confirmation.go +++ b/fix50/confirmation/Confirmation.go @@ -43,10 +43,10 @@ type Message struct { LegalConfirm *bool `fix:"650"` //ConfirmStatus is a required field for Confirmation. ConfirmStatus int `fix:"665"` - //Parties Component - parties.Parties - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp + //Parties is a non-required component for Confirmation. + Parties *parties.Parties + //OrdAllocGrp is a non-required component for Confirmation. + OrdAllocGrp *ordallocgrp.OrdAllocGrp //AllocID is a non-required field for Confirmation. AllocID *string `fix:"70"` //SecondaryAllocID is a non-required field for Confirmation. @@ -57,20 +57,20 @@ type Message struct { TransactTime time.Time `fix:"60"` //TradeDate is a required field for Confirmation. TradeDate string `fix:"75"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps - //Instrument Component + //TrdRegTimestamps is a non-required component for Confirmation. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps + //Instrument is a required component for Confirmation. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component + //InstrumentExtension is a non-required component for Confirmation. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for Confirmation. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a required component for Confirmation. undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component + //InstrmtLegGrp is a required component for Confirmation. instrmtleggrp.InstrmtLegGrp - //YieldData Component - yielddata.YieldData + //YieldData is a non-required component for Confirmation. + YieldData *yielddata.YieldData //AllocQty is a required field for Confirmation. AllocQty float64 `fix:"80"` //QtyType is a non-required field for Confirmation. @@ -81,7 +81,7 @@ type Message struct { Currency *string `fix:"15"` //LastMkt is a non-required field for Confirmation. LastMkt *string `fix:"30"` - //CpctyConfGrp Component + //CpctyConfGrp is a required component for Confirmation. cpctyconfgrp.CpctyConfGrp //AllocAccount is a required field for Confirmation. AllocAccount string `fix:"79"` @@ -97,8 +97,8 @@ type Message struct { PriceType *int `fix:"423"` //AvgParPx is a non-required field for Confirmation. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for Confirmation. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //ReportedPx is a non-required field for Confirmation. ReportedPx *float64 `fix:"861"` //Text is a non-required field for Confirmation. @@ -147,47 +147,62 @@ type Message struct { SettlType *string `fix:"63"` //SettlDate is a non-required field for Confirmation. SettlDate *string `fix:"64"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData - //CommissionData Component - commissiondata.CommissionData + //SettlInstructionsData is a non-required component for Confirmation. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData + //CommissionData is a non-required component for Confirmation. + CommissionData *commissiondata.CommissionData //SharedCommission is a non-required field for Confirmation. SharedCommission *float64 `fix:"858"` - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //Stipulations is a non-required component for Confirmation. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for Confirmation. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } -func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } -func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } -func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } -func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } -func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } +func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } +func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } +func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } +func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetCpctyConfGrp(v cpctyconfgrp.CpctyConfGrp) { m.CpctyConfGrp = v } +func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } +func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} func (m *Message) SetReportedPx(v float64) { m.ReportedPx = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } @@ -212,7 +227,13 @@ func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } func (m *Message) SetSettlType(v string) { m.SettlType = &v } func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/confirmationrequest/ConfirmationRequest.go b/fix50/confirmationrequest/ConfirmationRequest.go index f7b99866a..fb7ace800 100644 --- a/fix50/confirmationrequest/ConfirmationRequest.go +++ b/fix50/confirmationrequest/ConfirmationRequest.go @@ -17,8 +17,8 @@ type Message struct { ConfirmReqID string `fix:"859"` //ConfirmType is a required field for ConfirmationRequest. ConfirmType int `fix:"773"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp + //OrdAllocGrp is a non-required component for ConfirmationRequest. + OrdAllocGrp *ordallocgrp.OrdAllocGrp //AllocID is a non-required field for ConfirmationRequest. AllocID *string `fix:"70"` //SecondaryAllocID is a non-required field for ConfirmationRequest. @@ -45,18 +45,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = v } -func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = v } +func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/contraryintentionreport/ContraryIntentionReport.go b/fix50/contraryintentionreport/ContraryIntentionReport.go index d02ba9d4d..9f5d9d729 100644 --- a/fix50/contraryintentionreport/ContraryIntentionReport.go +++ b/fix50/contraryintentionreport/ContraryIntentionReport.go @@ -26,11 +26,11 @@ type Message struct { InputSource *string `fix:"979"` //ClearingBusinessDate is a required field for ContraryIntentionReport. ClearingBusinessDate string `fix:"715"` - //Parties Component + //Parties is a required component for ContraryIntentionReport. parties.Parties - //ExpirationQty Component + //ExpirationQty is a required component for ContraryIntentionReport. expirationqty.ExpirationQty - //Instrument Component + //Instrument is a required component for ContraryIntentionReport. instrument.Instrument //Text is a non-required field for ContraryIntentionReport. Text *string `fix:"58"` @@ -38,22 +38,26 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ContraryIntentionReport. EncodedText *string `fix:"355"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for ContraryIntentionReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetContIntRptID(v string) { m.ContIntRptID = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetLateIndicator(v bool) { m.LateIndicator = &v } -func (m *Message) SetInputSource(v string) { m.InputSource = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetContIntRptID(v string) { m.ContIntRptID = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetLateIndicator(v bool) { m.LateIndicator = &v } +func (m *Message) SetInputSource(v string) { m.InputSource = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetExpirationQty(v expirationqty.ExpirationQty) { m.ExpirationQty = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go b/fix50/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go index 6825665bd..fefef9999 100644 --- a/fix50/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go +++ b/fix50/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go @@ -36,14 +36,14 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for CrossOrderCancelReplaceRequest. CrossPrioritization int `fix:"550"` - //SideCrossOrdModGrp Component + //SideCrossOrdModGrp is a required component for CrossOrderCancelReplaceRequest. sidecrossordmodgrp.SideCrossOrdModGrp - //Instrument Component + //Instrument is a required component for CrossOrderCancelReplaceRequest. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CrossOrderCancelReplaceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CrossOrderCancelReplaceRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SettlType is a non-required field for CrossOrderCancelReplaceRequest. SettlType *string `fix:"63"` //SettlDate is a non-required field for CrossOrderCancelReplaceRequest. @@ -58,8 +58,8 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for CrossOrderCancelReplaceRequest. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for CrossOrderCancelReplaceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for CrossOrderCancelReplaceRequest. ProcessCode *string `fix:"81"` //PrevClosePx is a non-required field for CrossOrderCancelReplaceRequest. @@ -68,8 +68,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for CrossOrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for CrossOrderCancelReplaceRequest. + Stipulations *stipulations.Stipulations //OrdType is a required field for CrossOrderCancelReplaceRequest. OrdType string `fix:"40"` //PriceType is a non-required field for CrossOrderCancelReplaceRequest. @@ -78,10 +78,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for CrossOrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for CrossOrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for CrossOrderCancelReplaceRequest. + YieldData *yielddata.YieldData //Currency is a non-required field for CrossOrderCancelReplaceRequest. Currency *string `fix:"15"` //ComplianceID is a non-required field for CrossOrderCancelReplaceRequest. @@ -102,10 +102,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for CrossOrderCancelReplaceRequest. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for CrossOrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for CrossOrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for CrossOrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for CrossOrderCancelReplaceRequest. @@ -120,24 +120,24 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for CrossOrderCancelReplaceRequest. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for CrossOrderCancelReplaceRequest. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //HostCrossID is a non-required field for CrossOrderCancelReplaceRequest. HostCrossID *string `fix:"961"` //TransBkdTime is a non-required field for CrossOrderCancelReplaceRequest. TransBkdTime *time.Time `fix:"483"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for CrossOrderCancelReplaceRequest. + RootParties *rootparties.RootParties //MatchIncrement is a non-required field for CrossOrderCancelReplaceRequest. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for CrossOrderCancelReplaceRequest. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for CrossOrderCancelReplaceRequest. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for CrossOrderCancelReplaceRequest. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for CrossOrderCancelReplaceRequest. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //ExDestinationIDSource is a non-required field for CrossOrderCancelReplaceRequest. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer @@ -146,36 +146,52 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetSideCrossOrdModGrp(v sidecrossordmodgrp.SideCrossOrdModGrp) { + m.SideCrossOrdModGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -183,12 +199,22 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/crossordercancelrequest/CrossOrderCancelRequest.go b/fix50/crossordercancelrequest/CrossOrderCancelRequest.go index bb6321c8d..24cc1f96d 100644 --- a/fix50/crossordercancelrequest/CrossOrderCancelRequest.go +++ b/fix50/crossordercancelrequest/CrossOrderCancelRequest.go @@ -27,20 +27,20 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for CrossOrderCancelRequest. CrossPrioritization int `fix:"550"` - //SideCrossOrdCxlGrp Component + //SideCrossOrdCxlGrp is a required component for CrossOrderCancelRequest. sidecrossordcxlgrp.SideCrossOrdCxlGrp - //Instrument Component + //Instrument is a required component for CrossOrderCancelRequest. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CrossOrderCancelRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CrossOrderCancelRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //TransactTime is a required field for CrossOrderCancelRequest. TransactTime time.Time `fix:"60"` //HostCrossID is a non-required field for CrossOrderCancelRequest. HostCrossID *string `fix:"961"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for CrossOrderCancelRequest. + RootParties *rootparties.RootParties fixt11.Trailer } @@ -52,8 +52,15 @@ func (m *Message) SetCrossID(v string) { m.CrossID = v } func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } func (m *Message) SetCrossType(v int) { m.CrossType = v } func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetSideCrossOrdCxlGrp(v sidecrossordcxlgrp.SideCrossOrdCxlGrp) { + m.SideCrossOrdCxlGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/derivativesecuritylist/DerivativeSecurityList.go b/fix50/derivativesecuritylist/DerivativeSecurityList.go index e11010be9..502c3dee3 100644 --- a/fix50/derivativesecuritylist/DerivativeSecurityList.go +++ b/fix50/derivativesecuritylist/DerivativeSecurityList.go @@ -19,14 +19,14 @@ type Message struct { SecurityResponseID string `fix:"322"` //SecurityRequestResult is a required field for DerivativeSecurityList. SecurityRequestResult int `fix:"560"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityList. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoRelatedSym is a non-required field for DerivativeSecurityList. TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for DerivativeSecurityList. LastFragment *bool `fix:"893"` - //RelSymDerivSecGrp Component - relsymderivsecgrp.RelSymDerivSecGrp + //RelSymDerivSecGrp is a non-required component for DerivativeSecurityList. + RelSymDerivSecGrp *relsymderivsecgrp.RelSymDerivSecGrp fixt11.Trailer } @@ -36,8 +36,14 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetRelSymDerivSecGrp(v relsymderivsecgrp.RelSymDerivSecGrp) { + m.RelSymDerivSecGrp = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/derivativesecuritylistrequest/DerivativeSecurityListRequest.go b/fix50/derivativesecuritylistrequest/DerivativeSecurityListRequest.go index 72f57c439..9c9952f3b 100644 --- a/fix50/derivativesecuritylistrequest/DerivativeSecurityListRequest.go +++ b/fix50/derivativesecuritylistrequest/DerivativeSecurityListRequest.go @@ -16,8 +16,8 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for DerivativeSecurityListRequest. SecurityListRequestType int `fix:"559"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityListRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //SecuritySubType is a non-required field for DerivativeSecurityListRequest. SecuritySubType *string `fix:"762"` //Currency is a non-required field for DerivativeSecurityListRequest. @@ -40,8 +40,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *Message) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetText(v string) { m.Text = &v } diff --git a/fix50/dlvyinstgrp/DlvyInstGrp.go b/fix50/dlvyinstgrp/DlvyInstGrp.go index 7f1fe9749..58ce1caf0 100644 --- a/fix50/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50/dlvyinstgrp/DlvyInstGrp.go @@ -10,8 +10,8 @@ type NoDlvyInst struct { SettlInstSource *string `fix:"165"` //DlvyInstType is a non-required field for NoDlvyInst. DlvyInstType *string `fix:"787"` - //SettlParties Component - settlparties.SettlParties + //SettlParties is a non-required component for NoDlvyInst. + SettlParties *settlparties.SettlParties } //DlvyInstGrp is a fix50 Component diff --git a/fix50/dontknowtrade/DontKnowTrade.go b/fix50/dontknowtrade/DontKnowTrade.go index 87a5abe4e..fee32e1ce 100644 --- a/fix50/dontknowtrade/DontKnowTrade.go +++ b/fix50/dontknowtrade/DontKnowTrade.go @@ -23,15 +23,15 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a required field for DontKnowTrade. DKReason string `fix:"127"` - //Instrument Component + //Instrument is a required component for DontKnowTrade. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for DontKnowTrade. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for DontKnowTrade. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Side is a required field for DontKnowTrade. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for DontKnowTrade. orderqtydata.OrderQtyData //LastQty is a non-required field for DontKnowTrade. LastQty *float64 `fix:"32"` @@ -49,16 +49,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/email/Email.go b/fix50/email/Email.go index 82ef0dfd3..9405f84b2 100644 --- a/fix50/email/Email.go +++ b/fix50/email/Email.go @@ -29,19 +29,19 @@ type Message struct { EncodedSubjectLen *int `fix:"356"` //EncodedSubject is a non-required field for Email. EncodedSubject *string `fix:"357"` - //RoutingGrp Component - routinggrp.RoutingGrp - //InstrmtGrp Component - instrmtgrp.InstrmtGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //RoutingGrp is a non-required component for Email. + RoutingGrp *routinggrp.RoutingGrp + //InstrmtGrp is a non-required component for Email. + InstrmtGrp *instrmtgrp.InstrmtGrp + //UndInstrmtGrp is a non-required component for Email. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for Email. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //OrderID is a non-required field for Email. OrderID *string `fix:"37"` //ClOrdID is a non-required field for Email. ClOrdID *string `fix:"11"` - //LinesOfTextGrp Component + //LinesOfTextGrp is a required component for Email. linesoftextgrp.LinesOfTextGrp //RawDataLength is a non-required field for Email. RawDataLength *int `fix:"95"` @@ -53,16 +53,21 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetEmailThreadID(v string) { m.EmailThreadID = v } -func (m *Message) SetEmailType(v string) { m.EmailType = v } -func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } -func (m *Message) SetSubject(v string) { m.Subject = v } -func (m *Message) SetEncodedSubjectLen(v int) { m.EncodedSubjectLen = &v } -func (m *Message) SetEncodedSubject(v string) { m.EncodedSubject = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } -func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetEmailThreadID(v string) { m.EmailThreadID = v } +func (m *Message) SetEmailType(v string) { m.EmailType = v } +func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } +func (m *Message) SetSubject(v string) { m.Subject = v } +func (m *Message) SetEncodedSubjectLen(v int) { m.EncodedSubjectLen = &v } +func (m *Message) SetEncodedSubject(v string) { m.EncodedSubject = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetLinesOfTextGrp(v linesoftextgrp.LinesOfTextGrp) { m.LinesOfTextGrp = v } +func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } +func (m *Message) SetRawData(v string) { m.RawData = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/executionacknowledgement/ExecutionAcknowledgement.go b/fix50/executionacknowledgement/ExecutionAcknowledgement.go index 5d42455e8..24dd03b40 100644 --- a/fix50/executionacknowledgement/ExecutionAcknowledgement.go +++ b/fix50/executionacknowledgement/ExecutionAcknowledgement.go @@ -27,15 +27,15 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a non-required field for ExecutionAcknowledgement. DKReason *string `fix:"127"` - //Instrument Component + //Instrument is a required component for ExecutionAcknowledgement. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for ExecutionAcknowledgement. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for ExecutionAcknowledgement. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Side is a required field for ExecutionAcknowledgement. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for ExecutionAcknowledgement. orderqtydata.OrderQtyData //LastQty is a non-required field for ExecutionAcknowledgement. LastQty *float64 `fix:"32"` @@ -61,22 +61,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetExecAckStatus(v string) { m.ExecAckStatus = v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetCumQty(v float64) { m.CumQty = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetExecAckStatus(v string) { m.ExecAckStatus = v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetCumQty(v float64) { m.CumQty = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/executionreport/ExecutionReport.go b/fix50/executionreport/ExecutionReport.go index 05b65eca9..ca51bec46 100644 --- a/fix50/executionreport/ExecutionReport.go +++ b/fix50/executionreport/ExecutionReport.go @@ -55,12 +55,12 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for ExecutionReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for ExecutionReport. + Parties *parties.Parties //TradeOriginationDate is a non-required field for ExecutionReport. TradeOriginationDate *string `fix:"229"` - //ContraGrp Component - contragrp.ContraGrp + //ContraGrp is a non-required component for ExecutionReport. + ContraGrp *contragrp.ContraGrp //ListID is a non-required field for ExecutionReport. ListID *string `fix:"66"` //CrossID is a non-required field for ExecutionReport. @@ -103,20 +103,20 @@ type Message struct { CashMargin *string `fix:"544"` //ClearingFeeIndicator is a non-required field for ExecutionReport. ClearingFeeIndicator *string `fix:"635"` - //Instrument Component + //Instrument is a required component for ExecutionReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for ExecutionReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for ExecutionReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for ExecutionReport. Side string `fix:"54"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for ExecutionReport. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for ExecutionReport. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for ExecutionReport. + OrderQtyData *orderqtydata.OrderQtyData //OrdType is a non-required field for ExecutionReport. OrdType *string `fix:"40"` //PriceType is a non-required field for ExecutionReport. @@ -125,10 +125,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for ExecutionReport. StopPx *float64 `fix:"99"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for ExecutionReport. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for ExecutionReport. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //PeggedPrice is a non-required field for ExecutionReport. PeggedPrice *float64 `fix:"839"` //DiscretionPrice is a non-required field for ExecutionReport. @@ -207,12 +207,12 @@ type Message struct { TransactTime *time.Time `fix:"60"` //ReportToExch is a non-required field for ExecutionReport. ReportToExch *bool `fix:"113"` - //CommissionData Component - commissiondata.CommissionData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //CommissionData is a non-required component for ExecutionReport. + CommissionData *commissiondata.CommissionData + //SpreadOrBenchmarkCurveData is a non-required component for ExecutionReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for ExecutionReport. + YieldData *yielddata.YieldData //GrossTradeAmt is a non-required field for ExecutionReport. GrossTradeAmt *float64 `fix:"381"` //NumDaysInterest is a non-required field for ExecutionReport. @@ -299,16 +299,16 @@ type Message struct { PriceImprovement *float64 `fix:"639"` //LastLiquidityInd is a non-required field for ExecutionReport. LastLiquidityInd *int `fix:"851"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //InstrmtLegExecGrp Component - instrmtlegexecgrp.InstrmtLegExecGrp + //ContAmtGrp is a non-required component for ExecutionReport. + ContAmtGrp *contamtgrp.ContAmtGrp + //InstrmtLegExecGrp is a non-required component for ExecutionReport. + InstrmtLegExecGrp *instrmtlegexecgrp.InstrmtLegExecGrp //CopyMsgIndicator is a non-required field for ExecutionReport. CopyMsgIndicator *bool `fix:"797"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //MiscFeesGrp is a non-required component for ExecutionReport. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp + //StrategyParametersGrp is a non-required component for ExecutionReport. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //HostCrossID is a non-required field for ExecutionReport. HostCrossID *string `fix:"961"` //ManualOrderIndicator is a non-required field for ExecutionReport. @@ -321,8 +321,8 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for ExecutionReport. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for ExecutionReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //AggressorIndicator is a non-required field for ExecutionReport. AggressorIndicator *bool `fix:"1057"` //CalculatedCcyLastQty is a non-required field for ExecutionReport. @@ -337,8 +337,8 @@ type Message struct { LotType *string `fix:"1093"` //PriceProtectionScope is a non-required field for ExecutionReport. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for ExecutionReport. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PeggedRefPrice is a non-required field for ExecutionReport. PeggedRefPrice *float64 `fix:"1095"` //PreTradeAnonymity is a non-required field for ExecutionReport. @@ -347,154 +347,185 @@ type Message struct { MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for ExecutionReport. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for ExecutionReport. + DisplayInstruction *displayinstruction.DisplayInstruction fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = &v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } -func (m *Message) SetCrossType(v int) { m.CrossType = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } -func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } -func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } -func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } -func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } -func (m *Message) SetCumQty(v float64) { m.CumQty = v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } -func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } -func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetExDate(v string) { m.ExDate = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } -func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } -func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } -func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } -func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } -func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } -func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } -func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetAggressorIndicator(v bool) { m.AggressorIndicator = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } -func (m *Message) SetLotType(v string) { m.LotType = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPeggedRefPrice(v float64) { m.PeggedRefPrice = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetContraGrp(v contragrp.ContraGrp) { m.ContraGrp = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = &v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } +func (m *Message) SetCrossType(v int) { m.CrossType = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } +func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } +func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } +func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } +func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } +func (m *Message) SetCumQty(v float64) { m.CumQty = v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } +func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } +func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetExDate(v string) { m.ExDate = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } +func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } +func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } +func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } +func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } +func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } +func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } +func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } +func (m *Message) SetContAmtGrp(v contamtgrp.ContAmtGrp) { m.ContAmtGrp = &v } +func (m *Message) SetInstrmtLegExecGrp(v instrmtlegexecgrp.InstrmtLegExecGrp) { + m.InstrmtLegExecGrp = &v +} +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetAggressorIndicator(v bool) { m.AggressorIndicator = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } +func (m *Message) SetLotType(v string) { m.LotType = &v } +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPeggedRefPrice(v float64) { m.PeggedRefPrice = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/instrmtgrp/InstrmtGrp.go b/fix50/instrmtgrp/InstrmtGrp.go index 85dd2b5e8..cea11f03f 100644 --- a/fix50/instrmtgrp/InstrmtGrp.go +++ b/fix50/instrmtgrp/InstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoRelatedSym is a repeating group in InstrmtGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument } //InstrmtGrp is a fix50 Component diff --git a/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go index b7ec00961..4ef428ce5 100644 --- a/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -8,20 +8,20 @@ import ( //NoLegs is a repeating group in InstrmtLegExecGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. diff --git a/fix50/instrmtleggrp/InstrmtLegGrp.go b/fix50/instrmtleggrp/InstrmtLegGrp.go index 5e445fbda..8456317c4 100644 --- a/fix50/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50/instrmtleggrp/InstrmtLegGrp.go @@ -6,8 +6,8 @@ import ( //NoLegs is a repeating group in InstrmtLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } //InstrmtLegGrp is a fix50 Component diff --git a/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go index 9a788d40b..9f0afd3f6 100644 --- a/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -7,12 +7,12 @@ import ( //NoLegs is a repeating group in InstrmtLegIOIGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegIOIQty is a non-required field for NoLegs. LegIOIQty *string `fix:"682"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations } //InstrmtLegIOIGrp is a fix50 Component diff --git a/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index 8d66f42a8..65231fcad 100644 --- a/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -8,16 +8,16 @@ import ( //NoLegs is a repeating group in InstrmtLegSecListGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` //LegSettlType is a non-required field for NoLegs. LegSettlType *string `fix:"587"` - //LegStipulations Component - legstipulations.LegStipulations - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } //InstrmtLegSecListGrp is a fix50 Component diff --git a/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go index 48b680801..9aad65cc8 100644 --- a/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -8,12 +8,12 @@ import ( //NoRelatedSym is a repeating group in InstrmtMDReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` //QuoteType is a non-required field for NoRelatedSym. diff --git a/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index fbe405c0a..933af91d6 100644 --- a/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -6,7 +6,7 @@ import ( //NoStrikes is a repeating group in InstrmtStrkPxGrp type NoStrikes struct { - //Instrument Component + //Instrument is a required component for NoStrikes. instrument.Instrument } diff --git a/fix50/instrument/Instrument.go b/fix50/instrument/Instrument.go index d43345fce..ce349e2fe 100644 --- a/fix50/instrument/Instrument.go +++ b/fix50/instrument/Instrument.go @@ -16,8 +16,8 @@ type Instrument struct { SecurityID *string `fix:"48"` //SecurityIDSource is a non-required field for Instrument. SecurityIDSource *string `fix:"22"` - //SecAltIDGrp Component - secaltidgrp.SecAltIDGrp + //SecAltIDGrp is a non-required component for Instrument. + SecAltIDGrp *secaltidgrp.SecAltIDGrp //Product is a non-required field for Instrument. Product *int `fix:"460"` //CFICode is a non-required field for Instrument. @@ -86,8 +86,8 @@ type Instrument struct { CPProgram *int `fix:"875"` //CPRegType is a non-required field for Instrument. CPRegType *string `fix:"876"` - //EvntGrp Component - evntgrp.EvntGrp + //EvntGrp is a non-required component for Instrument. + EvntGrp *evntgrp.EvntGrp //DatedDate is a non-required field for Instrument. DatedDate *string `fix:"873"` //InterestAccrualDate is a non-required field for Instrument. @@ -108,8 +108,8 @@ type Instrument struct { PositionLimit *int `fix:"970"` //NTPositionLimit is a non-required field for Instrument. NTPositionLimit *int `fix:"971"` - //InstrumentParties Component - instrumentparties.InstrumentParties + //InstrumentParties is a non-required component for Instrument. + InstrumentParties *instrumentparties.InstrumentParties //UnitOfMeasure is a non-required field for Instrument. UnitOfMeasure *string `fix:"996"` //TimeUnit is a non-required field for Instrument. @@ -118,54 +118,59 @@ type Instrument struct { MaturityTime *string `fix:"1079"` } -func (m *Instrument) SetSymbol(v string) { m.Symbol = &v } -func (m *Instrument) SetSymbolSfx(v string) { m.SymbolSfx = &v } -func (m *Instrument) SetSecurityID(v string) { m.SecurityID = &v } -func (m *Instrument) SetSecurityIDSource(v string) { m.SecurityIDSource = &v } -func (m *Instrument) SetProduct(v int) { m.Product = &v } -func (m *Instrument) SetCFICode(v string) { m.CFICode = &v } -func (m *Instrument) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Instrument) SetSecuritySubType(v string) { m.SecuritySubType = &v } -func (m *Instrument) SetMaturityMonthYear(v string) { m.MaturityMonthYear = &v } -func (m *Instrument) SetMaturityDate(v string) { m.MaturityDate = &v } -func (m *Instrument) SetCouponPaymentDate(v string) { m.CouponPaymentDate = &v } -func (m *Instrument) SetIssueDate(v string) { m.IssueDate = &v } -func (m *Instrument) SetRepoCollateralSecurityType(v int) { m.RepoCollateralSecurityType = &v } -func (m *Instrument) SetRepurchaseTerm(v int) { m.RepurchaseTerm = &v } -func (m *Instrument) SetRepurchaseRate(v float64) { m.RepurchaseRate = &v } -func (m *Instrument) SetFactor(v float64) { m.Factor = &v } -func (m *Instrument) SetCreditRating(v string) { m.CreditRating = &v } -func (m *Instrument) SetInstrRegistry(v string) { m.InstrRegistry = &v } -func (m *Instrument) SetCountryOfIssue(v string) { m.CountryOfIssue = &v } -func (m *Instrument) SetStateOrProvinceOfIssue(v string) { m.StateOrProvinceOfIssue = &v } -func (m *Instrument) SetLocaleOfIssue(v string) { m.LocaleOfIssue = &v } -func (m *Instrument) SetRedemptionDate(v string) { m.RedemptionDate = &v } -func (m *Instrument) SetStrikePrice(v float64) { m.StrikePrice = &v } -func (m *Instrument) SetStrikeCurrency(v string) { m.StrikeCurrency = &v } -func (m *Instrument) SetOptAttribute(v string) { m.OptAttribute = &v } -func (m *Instrument) SetContractMultiplier(v float64) { m.ContractMultiplier = &v } -func (m *Instrument) SetCouponRate(v float64) { m.CouponRate = &v } -func (m *Instrument) SetSecurityExchange(v string) { m.SecurityExchange = &v } -func (m *Instrument) SetIssuer(v string) { m.Issuer = &v } -func (m *Instrument) SetEncodedIssuerLen(v int) { m.EncodedIssuerLen = &v } -func (m *Instrument) SetEncodedIssuer(v string) { m.EncodedIssuer = &v } -func (m *Instrument) SetSecurityDesc(v string) { m.SecurityDesc = &v } -func (m *Instrument) SetEncodedSecurityDescLen(v int) { m.EncodedSecurityDescLen = &v } -func (m *Instrument) SetEncodedSecurityDesc(v string) { m.EncodedSecurityDesc = &v } -func (m *Instrument) SetPool(v string) { m.Pool = &v } -func (m *Instrument) SetContractSettlMonth(v string) { m.ContractSettlMonth = &v } -func (m *Instrument) SetCPProgram(v int) { m.CPProgram = &v } -func (m *Instrument) SetCPRegType(v string) { m.CPRegType = &v } -func (m *Instrument) SetDatedDate(v string) { m.DatedDate = &v } -func (m *Instrument) SetInterestAccrualDate(v string) { m.InterestAccrualDate = &v } -func (m *Instrument) SetSecurityStatus(v string) { m.SecurityStatus = &v } -func (m *Instrument) SetSettleOnOpenFlag(v string) { m.SettleOnOpenFlag = &v } -func (m *Instrument) SetInstrmtAssignmentMethod(v string) { m.InstrmtAssignmentMethod = &v } -func (m *Instrument) SetStrikeMultiplier(v float64) { m.StrikeMultiplier = &v } -func (m *Instrument) SetStrikeValue(v float64) { m.StrikeValue = &v } -func (m *Instrument) SetMinPriceIncrement(v float64) { m.MinPriceIncrement = &v } -func (m *Instrument) SetPositionLimit(v int) { m.PositionLimit = &v } -func (m *Instrument) SetNTPositionLimit(v int) { m.NTPositionLimit = &v } -func (m *Instrument) SetUnitOfMeasure(v string) { m.UnitOfMeasure = &v } -func (m *Instrument) SetTimeUnit(v string) { m.TimeUnit = &v } -func (m *Instrument) SetMaturityTime(v string) { m.MaturityTime = &v } +func (m *Instrument) SetSymbol(v string) { m.Symbol = &v } +func (m *Instrument) SetSymbolSfx(v string) { m.SymbolSfx = &v } +func (m *Instrument) SetSecurityID(v string) { m.SecurityID = &v } +func (m *Instrument) SetSecurityIDSource(v string) { m.SecurityIDSource = &v } +func (m *Instrument) SetSecAltIDGrp(v secaltidgrp.SecAltIDGrp) { m.SecAltIDGrp = &v } +func (m *Instrument) SetProduct(v int) { m.Product = &v } +func (m *Instrument) SetCFICode(v string) { m.CFICode = &v } +func (m *Instrument) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Instrument) SetSecuritySubType(v string) { m.SecuritySubType = &v } +func (m *Instrument) SetMaturityMonthYear(v string) { m.MaturityMonthYear = &v } +func (m *Instrument) SetMaturityDate(v string) { m.MaturityDate = &v } +func (m *Instrument) SetCouponPaymentDate(v string) { m.CouponPaymentDate = &v } +func (m *Instrument) SetIssueDate(v string) { m.IssueDate = &v } +func (m *Instrument) SetRepoCollateralSecurityType(v int) { m.RepoCollateralSecurityType = &v } +func (m *Instrument) SetRepurchaseTerm(v int) { m.RepurchaseTerm = &v } +func (m *Instrument) SetRepurchaseRate(v float64) { m.RepurchaseRate = &v } +func (m *Instrument) SetFactor(v float64) { m.Factor = &v } +func (m *Instrument) SetCreditRating(v string) { m.CreditRating = &v } +func (m *Instrument) SetInstrRegistry(v string) { m.InstrRegistry = &v } +func (m *Instrument) SetCountryOfIssue(v string) { m.CountryOfIssue = &v } +func (m *Instrument) SetStateOrProvinceOfIssue(v string) { m.StateOrProvinceOfIssue = &v } +func (m *Instrument) SetLocaleOfIssue(v string) { m.LocaleOfIssue = &v } +func (m *Instrument) SetRedemptionDate(v string) { m.RedemptionDate = &v } +func (m *Instrument) SetStrikePrice(v float64) { m.StrikePrice = &v } +func (m *Instrument) SetStrikeCurrency(v string) { m.StrikeCurrency = &v } +func (m *Instrument) SetOptAttribute(v string) { m.OptAttribute = &v } +func (m *Instrument) SetContractMultiplier(v float64) { m.ContractMultiplier = &v } +func (m *Instrument) SetCouponRate(v float64) { m.CouponRate = &v } +func (m *Instrument) SetSecurityExchange(v string) { m.SecurityExchange = &v } +func (m *Instrument) SetIssuer(v string) { m.Issuer = &v } +func (m *Instrument) SetEncodedIssuerLen(v int) { m.EncodedIssuerLen = &v } +func (m *Instrument) SetEncodedIssuer(v string) { m.EncodedIssuer = &v } +func (m *Instrument) SetSecurityDesc(v string) { m.SecurityDesc = &v } +func (m *Instrument) SetEncodedSecurityDescLen(v int) { m.EncodedSecurityDescLen = &v } +func (m *Instrument) SetEncodedSecurityDesc(v string) { m.EncodedSecurityDesc = &v } +func (m *Instrument) SetPool(v string) { m.Pool = &v } +func (m *Instrument) SetContractSettlMonth(v string) { m.ContractSettlMonth = &v } +func (m *Instrument) SetCPProgram(v int) { m.CPProgram = &v } +func (m *Instrument) SetCPRegType(v string) { m.CPRegType = &v } +func (m *Instrument) SetEvntGrp(v evntgrp.EvntGrp) { m.EvntGrp = &v } +func (m *Instrument) SetDatedDate(v string) { m.DatedDate = &v } +func (m *Instrument) SetInterestAccrualDate(v string) { m.InterestAccrualDate = &v } +func (m *Instrument) SetSecurityStatus(v string) { m.SecurityStatus = &v } +func (m *Instrument) SetSettleOnOpenFlag(v string) { m.SettleOnOpenFlag = &v } +func (m *Instrument) SetInstrmtAssignmentMethod(v string) { m.InstrmtAssignmentMethod = &v } +func (m *Instrument) SetStrikeMultiplier(v float64) { m.StrikeMultiplier = &v } +func (m *Instrument) SetStrikeValue(v float64) { m.StrikeValue = &v } +func (m *Instrument) SetMinPriceIncrement(v float64) { m.MinPriceIncrement = &v } +func (m *Instrument) SetPositionLimit(v int) { m.PositionLimit = &v } +func (m *Instrument) SetNTPositionLimit(v int) { m.NTPositionLimit = &v } +func (m *Instrument) SetInstrumentParties(v instrumentparties.InstrumentParties) { + m.InstrumentParties = &v +} +func (m *Instrument) SetUnitOfMeasure(v string) { m.UnitOfMeasure = &v } +func (m *Instrument) SetTimeUnit(v string) { m.TimeUnit = &v } +func (m *Instrument) SetMaturityTime(v string) { m.MaturityTime = &v } diff --git a/fix50/instrumentextension/InstrumentExtension.go b/fix50/instrumentextension/InstrumentExtension.go index 5ff426dbe..b9cdcc440 100644 --- a/fix50/instrumentextension/InstrumentExtension.go +++ b/fix50/instrumentextension/InstrumentExtension.go @@ -10,9 +10,10 @@ type InstrumentExtension struct { DeliveryForm *int `fix:"668"` //PctAtRisk is a non-required field for InstrumentExtension. PctAtRisk *float64 `fix:"869"` - //AttrbGrp Component - attrbgrp.AttrbGrp + //AttrbGrp is a non-required component for InstrumentExtension. + AttrbGrp *attrbgrp.AttrbGrp } -func (m *InstrumentExtension) SetDeliveryForm(v int) { m.DeliveryForm = &v } -func (m *InstrumentExtension) SetPctAtRisk(v float64) { m.PctAtRisk = &v } +func (m *InstrumentExtension) SetDeliveryForm(v int) { m.DeliveryForm = &v } +func (m *InstrumentExtension) SetPctAtRisk(v float64) { m.PctAtRisk = &v } +func (m *InstrumentExtension) SetAttrbGrp(v attrbgrp.AttrbGrp) { m.AttrbGrp = &v } diff --git a/fix50/instrumentleg/InstrumentLeg.go b/fix50/instrumentleg/InstrumentLeg.go index 1ad52a64b..ebd6924f4 100644 --- a/fix50/instrumentleg/InstrumentLeg.go +++ b/fix50/instrumentleg/InstrumentLeg.go @@ -14,8 +14,8 @@ type InstrumentLeg struct { LegSecurityID *string `fix:"602"` //LegSecurityIDSource is a non-required field for InstrumentLeg. LegSecurityIDSource *string `fix:"603"` - //LegSecAltIDGrp Component - legsecaltidgrp.LegSecAltIDGrp + //LegSecAltIDGrp is a non-required component for InstrumentLeg. + LegSecAltIDGrp *legsecaltidgrp.LegSecAltIDGrp //LegProduct is a non-required field for InstrumentLeg. LegProduct *int `fix:"607"` //LegCFICode is a non-required field for InstrumentLeg. @@ -96,46 +96,47 @@ type InstrumentLeg struct { LegTimeUnit *string `fix:"1001"` } -func (m *InstrumentLeg) SetLegSymbol(v string) { m.LegSymbol = &v } -func (m *InstrumentLeg) SetLegSymbolSfx(v string) { m.LegSymbolSfx = &v } -func (m *InstrumentLeg) SetLegSecurityID(v string) { m.LegSecurityID = &v } -func (m *InstrumentLeg) SetLegSecurityIDSource(v string) { m.LegSecurityIDSource = &v } -func (m *InstrumentLeg) SetLegProduct(v int) { m.LegProduct = &v } -func (m *InstrumentLeg) SetLegCFICode(v string) { m.LegCFICode = &v } -func (m *InstrumentLeg) SetLegSecurityType(v string) { m.LegSecurityType = &v } -func (m *InstrumentLeg) SetLegSecuritySubType(v string) { m.LegSecuritySubType = &v } -func (m *InstrumentLeg) SetLegMaturityMonthYear(v string) { m.LegMaturityMonthYear = &v } -func (m *InstrumentLeg) SetLegMaturityDate(v string) { m.LegMaturityDate = &v } -func (m *InstrumentLeg) SetLegCouponPaymentDate(v string) { m.LegCouponPaymentDate = &v } -func (m *InstrumentLeg) SetLegIssueDate(v string) { m.LegIssueDate = &v } -func (m *InstrumentLeg) SetLegRepoCollateralSecurityType(v int) { m.LegRepoCollateralSecurityType = &v } -func (m *InstrumentLeg) SetLegRepurchaseTerm(v int) { m.LegRepurchaseTerm = &v } -func (m *InstrumentLeg) SetLegRepurchaseRate(v float64) { m.LegRepurchaseRate = &v } -func (m *InstrumentLeg) SetLegFactor(v float64) { m.LegFactor = &v } -func (m *InstrumentLeg) SetLegCreditRating(v string) { m.LegCreditRating = &v } -func (m *InstrumentLeg) SetLegInstrRegistry(v string) { m.LegInstrRegistry = &v } -func (m *InstrumentLeg) SetLegCountryOfIssue(v string) { m.LegCountryOfIssue = &v } -func (m *InstrumentLeg) SetLegStateOrProvinceOfIssue(v string) { m.LegStateOrProvinceOfIssue = &v } -func (m *InstrumentLeg) SetLegLocaleOfIssue(v string) { m.LegLocaleOfIssue = &v } -func (m *InstrumentLeg) SetLegRedemptionDate(v string) { m.LegRedemptionDate = &v } -func (m *InstrumentLeg) SetLegStrikePrice(v float64) { m.LegStrikePrice = &v } -func (m *InstrumentLeg) SetLegStrikeCurrency(v string) { m.LegStrikeCurrency = &v } -func (m *InstrumentLeg) SetLegOptAttribute(v string) { m.LegOptAttribute = &v } -func (m *InstrumentLeg) SetLegContractMultiplier(v float64) { m.LegContractMultiplier = &v } -func (m *InstrumentLeg) SetLegCouponRate(v float64) { m.LegCouponRate = &v } -func (m *InstrumentLeg) SetLegSecurityExchange(v string) { m.LegSecurityExchange = &v } -func (m *InstrumentLeg) SetLegIssuer(v string) { m.LegIssuer = &v } -func (m *InstrumentLeg) SetEncodedLegIssuerLen(v int) { m.EncodedLegIssuerLen = &v } -func (m *InstrumentLeg) SetEncodedLegIssuer(v string) { m.EncodedLegIssuer = &v } -func (m *InstrumentLeg) SetLegSecurityDesc(v string) { m.LegSecurityDesc = &v } -func (m *InstrumentLeg) SetEncodedLegSecurityDescLen(v int) { m.EncodedLegSecurityDescLen = &v } -func (m *InstrumentLeg) SetEncodedLegSecurityDesc(v string) { m.EncodedLegSecurityDesc = &v } -func (m *InstrumentLeg) SetLegRatioQty(v float64) { m.LegRatioQty = &v } -func (m *InstrumentLeg) SetLegSide(v string) { m.LegSide = &v } -func (m *InstrumentLeg) SetLegCurrency(v string) { m.LegCurrency = &v } -func (m *InstrumentLeg) SetLegPool(v string) { m.LegPool = &v } -func (m *InstrumentLeg) SetLegDatedDate(v string) { m.LegDatedDate = &v } -func (m *InstrumentLeg) SetLegContractSettlMonth(v string) { m.LegContractSettlMonth = &v } -func (m *InstrumentLeg) SetLegInterestAccrualDate(v string) { m.LegInterestAccrualDate = &v } -func (m *InstrumentLeg) SetLegUnitOfMeasure(v string) { m.LegUnitOfMeasure = &v } -func (m *InstrumentLeg) SetLegTimeUnit(v string) { m.LegTimeUnit = &v } +func (m *InstrumentLeg) SetLegSymbol(v string) { m.LegSymbol = &v } +func (m *InstrumentLeg) SetLegSymbolSfx(v string) { m.LegSymbolSfx = &v } +func (m *InstrumentLeg) SetLegSecurityID(v string) { m.LegSecurityID = &v } +func (m *InstrumentLeg) SetLegSecurityIDSource(v string) { m.LegSecurityIDSource = &v } +func (m *InstrumentLeg) SetLegSecAltIDGrp(v legsecaltidgrp.LegSecAltIDGrp) { m.LegSecAltIDGrp = &v } +func (m *InstrumentLeg) SetLegProduct(v int) { m.LegProduct = &v } +func (m *InstrumentLeg) SetLegCFICode(v string) { m.LegCFICode = &v } +func (m *InstrumentLeg) SetLegSecurityType(v string) { m.LegSecurityType = &v } +func (m *InstrumentLeg) SetLegSecuritySubType(v string) { m.LegSecuritySubType = &v } +func (m *InstrumentLeg) SetLegMaturityMonthYear(v string) { m.LegMaturityMonthYear = &v } +func (m *InstrumentLeg) SetLegMaturityDate(v string) { m.LegMaturityDate = &v } +func (m *InstrumentLeg) SetLegCouponPaymentDate(v string) { m.LegCouponPaymentDate = &v } +func (m *InstrumentLeg) SetLegIssueDate(v string) { m.LegIssueDate = &v } +func (m *InstrumentLeg) SetLegRepoCollateralSecurityType(v int) { m.LegRepoCollateralSecurityType = &v } +func (m *InstrumentLeg) SetLegRepurchaseTerm(v int) { m.LegRepurchaseTerm = &v } +func (m *InstrumentLeg) SetLegRepurchaseRate(v float64) { m.LegRepurchaseRate = &v } +func (m *InstrumentLeg) SetLegFactor(v float64) { m.LegFactor = &v } +func (m *InstrumentLeg) SetLegCreditRating(v string) { m.LegCreditRating = &v } +func (m *InstrumentLeg) SetLegInstrRegistry(v string) { m.LegInstrRegistry = &v } +func (m *InstrumentLeg) SetLegCountryOfIssue(v string) { m.LegCountryOfIssue = &v } +func (m *InstrumentLeg) SetLegStateOrProvinceOfIssue(v string) { m.LegStateOrProvinceOfIssue = &v } +func (m *InstrumentLeg) SetLegLocaleOfIssue(v string) { m.LegLocaleOfIssue = &v } +func (m *InstrumentLeg) SetLegRedemptionDate(v string) { m.LegRedemptionDate = &v } +func (m *InstrumentLeg) SetLegStrikePrice(v float64) { m.LegStrikePrice = &v } +func (m *InstrumentLeg) SetLegStrikeCurrency(v string) { m.LegStrikeCurrency = &v } +func (m *InstrumentLeg) SetLegOptAttribute(v string) { m.LegOptAttribute = &v } +func (m *InstrumentLeg) SetLegContractMultiplier(v float64) { m.LegContractMultiplier = &v } +func (m *InstrumentLeg) SetLegCouponRate(v float64) { m.LegCouponRate = &v } +func (m *InstrumentLeg) SetLegSecurityExchange(v string) { m.LegSecurityExchange = &v } +func (m *InstrumentLeg) SetLegIssuer(v string) { m.LegIssuer = &v } +func (m *InstrumentLeg) SetEncodedLegIssuerLen(v int) { m.EncodedLegIssuerLen = &v } +func (m *InstrumentLeg) SetEncodedLegIssuer(v string) { m.EncodedLegIssuer = &v } +func (m *InstrumentLeg) SetLegSecurityDesc(v string) { m.LegSecurityDesc = &v } +func (m *InstrumentLeg) SetEncodedLegSecurityDescLen(v int) { m.EncodedLegSecurityDescLen = &v } +func (m *InstrumentLeg) SetEncodedLegSecurityDesc(v string) { m.EncodedLegSecurityDesc = &v } +func (m *InstrumentLeg) SetLegRatioQty(v float64) { m.LegRatioQty = &v } +func (m *InstrumentLeg) SetLegSide(v string) { m.LegSide = &v } +func (m *InstrumentLeg) SetLegCurrency(v string) { m.LegCurrency = &v } +func (m *InstrumentLeg) SetLegPool(v string) { m.LegPool = &v } +func (m *InstrumentLeg) SetLegDatedDate(v string) { m.LegDatedDate = &v } +func (m *InstrumentLeg) SetLegContractSettlMonth(v string) { m.LegContractSettlMonth = &v } +func (m *InstrumentLeg) SetLegInterestAccrualDate(v string) { m.LegInterestAccrualDate = &v } +func (m *InstrumentLeg) SetLegUnitOfMeasure(v string) { m.LegUnitOfMeasure = &v } +func (m *InstrumentLeg) SetLegTimeUnit(v string) { m.LegTimeUnit = &v } diff --git a/fix50/instrumentparties/InstrumentParties.go b/fix50/instrumentparties/InstrumentParties.go index 3ff6947dc..c8cf3784a 100644 --- a/fix50/instrumentparties/InstrumentParties.go +++ b/fix50/instrumentparties/InstrumentParties.go @@ -12,8 +12,8 @@ type NoInstrumentParties struct { InstrumentPartyIDSource *string `fix:"1050"` //InstrumentPartyRole is a non-required field for NoInstrumentParties. InstrumentPartyRole *int `fix:"1051"` - //InstrumentPtysSubGrp Component - instrumentptyssubgrp.InstrumentPtysSubGrp + //InstrumentPtysSubGrp is a non-required component for NoInstrumentParties. + InstrumentPtysSubGrp *instrumentptyssubgrp.InstrumentPtysSubGrp } //InstrumentParties is a fix50 Component diff --git a/fix50/ioi/IOI.go b/fix50/ioi/IOI.go index 96cb7c2c3..d1e82f020 100644 --- a/fix50/ioi/IOI.go +++ b/fix50/ioi/IOI.go @@ -29,26 +29,26 @@ type Message struct { IOITransType string `fix:"28"` //IOIRefID is a non-required field for IOI. IOIRefID *string `fix:"26"` - //Instrument Component + //Instrument is a required component for IOI. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for IOI. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for IOI. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for IOI. Side string `fix:"54"` //QtyType is a non-required field for IOI. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for IOI. + OrderQtyData *orderqtydata.OrderQtyData //IOIQty is a required field for IOI. IOIQty string `fix:"27"` //Currency is a non-required field for IOI. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations - //InstrmtLegIOIGrp Component - instrmtlegioigrp.InstrmtLegIOIGrp + //Stipulations is a non-required component for IOI. + Stipulations *stipulations.Stipulations + //InstrmtLegIOIGrp is a non-required component for IOI. + InstrmtLegIOIGrp *instrmtlegioigrp.InstrmtLegIOIGrp //PriceType is a non-required field for IOI. PriceType *int `fix:"423"` //Price is a non-required field for IOI. @@ -59,8 +59,8 @@ type Message struct { IOIQltyInd *string `fix:"25"` //IOINaturalFlag is a non-required field for IOI. IOINaturalFlag *bool `fix:"130"` - //IOIQualGrp Component - ioiqualgrp.IOIQualGrp + //IOIQualGrp is a non-required component for IOI. + IOIQualGrp *ioiqualgrp.IOIQualGrp //Text is a non-required field for IOI. Text *string `fix:"58"` //EncodedTextLen is a non-required field for IOI. @@ -71,37 +71,50 @@ type Message struct { TransactTime *time.Time `fix:"60"` //URLLink is a non-required field for IOI. URLLink *string `fix:"149"` - //RoutingGrp Component - routinggrp.RoutingGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //RoutingGrp is a non-required component for IOI. + RoutingGrp *routinggrp.RoutingGrp + //SpreadOrBenchmarkCurveData is a non-required component for IOI. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for IOI. + YieldData *yielddata.YieldData + //Parties is a non-required component for IOI. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetIOIID(v string) { m.IOIID = v } -func (m *Message) SetIOITransType(v string) { m.IOITransType = v } -func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetIOIQty(v string) { m.IOIQty = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } -func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = v } +func (m *Message) SetIOITransType(v string) { m.IOITransType = v } +func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetIOIQty(v string) { m.IOIQty = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetInstrmtLegIOIGrp(v instrmtlegioigrp.InstrmtLegIOIGrp) { m.InstrmtLegIOIGrp = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } +func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } +func (m *Message) SetIOIQualGrp(v ioiqualgrp.IOIQualGrp) { m.IOIQualGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/legordgrp/LegOrdGrp.go b/fix50/legordgrp/LegOrdGrp.go index 440ca6185..fae1d1763 100644 --- a/fix50/legordgrp/LegOrdGrp.go +++ b/fix50/legordgrp/LegOrdGrp.go @@ -9,22 +9,22 @@ import ( //NoLegs is a repeating group in LegOrdGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations - //LegPreAllocGrp Component - legpreallocgrp.LegPreAllocGrp + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegPreAllocGrp is a non-required component for NoLegs. + LegPreAllocGrp *legpreallocgrp.LegPreAllocGrp //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. diff --git a/fix50/legpreallocgrp/LegPreAllocGrp.go b/fix50/legpreallocgrp/LegPreAllocGrp.go index 3d2013d52..85e1f71bb 100644 --- a/fix50/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50/legpreallocgrp/LegPreAllocGrp.go @@ -10,8 +10,8 @@ type NoLegAllocs struct { LegAllocAccount *string `fix:"671"` //LegIndividualAllocID is a non-required field for NoLegAllocs. LegIndividualAllocID *string `fix:"672"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoLegAllocs. + NestedParties2 *nestedparties2.NestedParties2 //LegAllocQty is a non-required field for NoLegAllocs. LegAllocQty *float64 `fix:"673"` //LegAllocAcctIDSource is a non-required field for NoLegAllocs. diff --git a/fix50/legquotgrp/LegQuotGrp.go b/fix50/legquotgrp/LegQuotGrp.go index 8f28c35e8..823244d3e 100644 --- a/fix50/legquotgrp/LegQuotGrp.go +++ b/fix50/legquotgrp/LegQuotGrp.go @@ -9,8 +9,8 @@ import ( //NoLegs is a repeating group in LegQuotGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -19,18 +19,18 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegPriceType is a non-required field for NoLegs. LegPriceType *int `fix:"686"` //LegBidPx is a non-required field for NoLegs. LegBidPx *float64 `fix:"681"` //LegOfferPx is a non-required field for NoLegs. LegOfferPx *float64 `fix:"684"` - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` //LegRefID is a non-required field for NoLegs. diff --git a/fix50/legquotstatgrp/LegQuotStatGrp.go b/fix50/legquotstatgrp/LegQuotStatGrp.go index 00084a653..2ddf0565a 100644 --- a/fix50/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50/legquotstatgrp/LegQuotStatGrp.go @@ -8,8 +8,8 @@ import ( //NoLegs is a repeating group in LegQuotStatGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -18,10 +18,10 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` } diff --git a/fix50/listcancelrequest/ListCancelRequest.go b/fix50/listcancelrequest/ListCancelRequest.go index 05c1baf68..db44d4f54 100644 --- a/fix50/listcancelrequest/ListCancelRequest.go +++ b/fix50/listcancelrequest/ListCancelRequest.go @@ -27,8 +27,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ListCancelRequest. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for ListCancelRequest. + Parties *parties.Parties fixt11.Trailer } @@ -42,6 +42,7 @@ func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/listordgrp/ListOrdGrp.go b/fix50/listordgrp/ListOrdGrp.go index 25ee790a9..f86800821 100644 --- a/fix50/listordgrp/ListOrdGrp.go +++ b/fix50/listordgrp/ListOrdGrp.go @@ -31,8 +31,8 @@ type NoOrders struct { ClOrdLinkID *string `fix:"583"` //SettlInstMode is a non-required field for NoOrders. SettlInstMode *string `fix:"160"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoOrders. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoOrders. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoOrders. @@ -51,8 +51,8 @@ type NoOrders struct { AllocID *string `fix:"70"` //PreallocMethod is a non-required field for NoOrders. PreallocMethod *string `fix:"591"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NoOrders. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for NoOrders. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoOrders. @@ -71,14 +71,14 @@ type NoOrders struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NoOrders. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NoOrders. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NoOrders. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NoOrders. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NoOrders. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoOrders. PrevClosePx *float64 `fix:"140"` //Side is a required field for NoOrders. @@ -89,11 +89,11 @@ type NoOrders struct { LocateReqd *bool `fix:"114"` //TransactTime is a non-required field for NoOrders. TransactTime *time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoOrders. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NoOrders. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoOrders. orderqtydata.OrderQtyData //OrdType is a non-required field for NoOrders. OrdType *string `fix:"40"` @@ -103,10 +103,10 @@ type NoOrders struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NoOrders. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoOrders. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoOrders. + YieldData *yielddata.YieldData //Currency is a non-required field for NoOrders. Currency *string `fix:"15"` //ComplianceID is a non-required field for NoOrders. @@ -127,8 +127,8 @@ type NoOrders struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NoOrders. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoOrders. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoOrders. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoOrders. @@ -159,10 +159,10 @@ type NoOrders struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NoOrders. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NoOrders. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NoOrders. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NoOrders. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NoOrders. @@ -171,18 +171,18 @@ type NoOrders struct { ParticipationRate *float64 `fix:"849"` //Designation is a non-required field for NoOrders. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NoOrders. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //MatchIncrement is a non-required field for NoOrders. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NoOrders. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NoOrders. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NoOrders. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NoOrders. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //RefOrderID is a non-required field for NoOrders. RefOrderID *string `fix:"1080"` //RefOrderIDSource is a non-required field for NoOrders. diff --git a/fix50/liststatus/ListStatus.go b/fix50/liststatus/ListStatus.go index 5b4dcb242..9ce117fb4 100644 --- a/fix50/liststatus/ListStatus.go +++ b/fix50/liststatus/ListStatus.go @@ -35,7 +35,7 @@ type Message struct { TotNoOrders int `fix:"68"` //LastFragment is a non-required field for ListStatus. LastFragment *bool `fix:"893"` - //OrdListStatGrp Component + //OrdListStatGrp is a required component for ListStatus. ordliststatgrp.OrdListStatGrp fixt11.Trailer } @@ -43,17 +43,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetListStatusType(v int) { m.ListStatusType = v } -func (m *Message) SetNoRpts(v int) { m.NoRpts = v } -func (m *Message) SetListOrderStatus(v int) { m.ListOrderStatus = v } -func (m *Message) SetRptSeq(v int) { m.RptSeq = v } -func (m *Message) SetListStatusText(v string) { m.ListStatusText = &v } -func (m *Message) SetEncodedListStatusTextLen(v int) { m.EncodedListStatusTextLen = &v } -func (m *Message) SetEncodedListStatusText(v string) { m.EncodedListStatusText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetListStatusType(v int) { m.ListStatusType = v } +func (m *Message) SetNoRpts(v int) { m.NoRpts = v } +func (m *Message) SetListOrderStatus(v int) { m.ListOrderStatus = v } +func (m *Message) SetRptSeq(v int) { m.RptSeq = v } +func (m *Message) SetListStatusText(v string) { m.ListStatusText = &v } +func (m *Message) SetEncodedListStatusTextLen(v int) { m.EncodedListStatusTextLen = &v } +func (m *Message) SetEncodedListStatusText(v string) { m.EncodedListStatusText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetOrdListStatGrp(v ordliststatgrp.OrdListStatGrp) { m.OrdListStatGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/liststrikeprice/ListStrikePrice.go b/fix50/liststrikeprice/ListStrikePrice.go index 5e6436ab6..2492cc932 100644 --- a/fix50/liststrikeprice/ListStrikePrice.go +++ b/fix50/liststrikeprice/ListStrikePrice.go @@ -19,19 +19,23 @@ type Message struct { TotNoStrikes int `fix:"422"` //LastFragment is a non-required field for ListStrikePrice. LastFragment *bool `fix:"893"` - //InstrmtStrkPxGrp Component + //InstrmtStrkPxGrp is a required component for ListStrikePrice. instrmtstrkpxgrp.InstrmtStrkPxGrp - //UndInstrmtStrkPxGrp Component - undinstrmtstrkpxgrp.UndInstrmtStrkPxGrp + //UndInstrmtStrkPxGrp is a non-required component for ListStrikePrice. + UndInstrmtStrkPxGrp *undinstrmtstrkpxgrp.UndInstrmtStrkPxGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetTotNoStrikes(v int) { m.TotNoStrikes = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetTotNoStrikes(v int) { m.TotNoStrikes = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetInstrmtStrkPxGrp(v instrmtstrkpxgrp.InstrmtStrkPxGrp) { m.InstrmtStrkPxGrp = v } +func (m *Message) SetUndInstrmtStrkPxGrp(v undinstrmtstrkpxgrp.UndInstrmtStrkPxGrp) { + m.UndInstrmtStrkPxGrp = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix50/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index 8c9ac53a4..833150d71 100644 --- a/fix50/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix50/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -15,7 +15,7 @@ type Message struct { fixt11.Header //MDReqID is a non-required field for MarketDataIncrementalRefresh. MDReqID *string `fix:"262"` - //MDIncGrp Component + //MDIncGrp is a required component for MarketDataIncrementalRefresh. mdincgrp.MDIncGrp //ApplQueueDepth is a non-required field for MarketDataIncrementalRefresh. ApplQueueDepth *int `fix:"813"` @@ -27,20 +27,22 @@ type Message struct { MDFeedType *string `fix:"1022"` //TradeDate is a non-required field for MarketDataIncrementalRefresh. TradeDate *string `fix:"75"` - //RoutingGrp Component - routinggrp.RoutingGrp + //RoutingGrp is a non-required component for MarketDataIncrementalRefresh. + RoutingGrp *routinggrp.RoutingGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } -func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetMDIncGrp(v mdincgrp.MDIncGrp) { m.MDIncGrp = v } +func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } +func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/marketdatarequest/MarketDataRequest.go b/fix50/marketdatarequest/MarketDataRequest.go index d5c337987..60ee5bafb 100644 --- a/fix50/marketdatarequest/MarketDataRequest.go +++ b/fix50/marketdatarequest/MarketDataRequest.go @@ -30,12 +30,12 @@ type Message struct { Scope *string `fix:"546"` //MDImplicitDelete is a non-required field for MarketDataRequest. MDImplicitDelete *bool `fix:"547"` - //MDReqGrp Component + //MDReqGrp is a required component for MarketDataRequest. mdreqgrp.MDReqGrp - //InstrmtMDReqGrp Component + //InstrmtMDReqGrp is a required component for MarketDataRequest. instrmtmdreqgrp.InstrmtMDReqGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for MarketDataRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ApplQueueAction is a non-required field for MarketDataRequest. ApplQueueAction *int `fix:"815"` //ApplQueueMax is a non-required field for MarketDataRequest. @@ -48,17 +48,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } -func (m *Message) SetMarketDepth(v int) { m.MarketDepth = v } -func (m *Message) SetMDUpdateType(v int) { m.MDUpdateType = &v } -func (m *Message) SetAggregatedBook(v bool) { m.AggregatedBook = &v } -func (m *Message) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } -func (m *Message) SetScope(v string) { m.Scope = &v } -func (m *Message) SetMDImplicitDelete(v bool) { m.MDImplicitDelete = &v } -func (m *Message) SetApplQueueAction(v int) { m.ApplQueueAction = &v } -func (m *Message) SetApplQueueMax(v int) { m.ApplQueueMax = &v } -func (m *Message) SetMDQuoteType(v int) { m.MDQuoteType = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } +func (m *Message) SetMarketDepth(v int) { m.MarketDepth = v } +func (m *Message) SetMDUpdateType(v int) { m.MDUpdateType = &v } +func (m *Message) SetAggregatedBook(v bool) { m.AggregatedBook = &v } +func (m *Message) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } +func (m *Message) SetScope(v string) { m.Scope = &v } +func (m *Message) SetMDImplicitDelete(v bool) { m.MDImplicitDelete = &v } +func (m *Message) SetMDReqGrp(v mdreqgrp.MDReqGrp) { m.MDReqGrp = v } +func (m *Message) SetInstrmtMDReqGrp(v instrmtmdreqgrp.InstrmtMDReqGrp) { m.InstrmtMDReqGrp = v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetApplQueueAction(v int) { m.ApplQueueAction = &v } +func (m *Message) SetApplQueueMax(v int) { m.ApplQueueMax = &v } +func (m *Message) SetMDQuoteType(v int) { m.MDQuoteType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/marketdatarequestreject/MarketDataRequestReject.go b/fix50/marketdatarequestreject/MarketDataRequestReject.go index 6b4dfe46f..144fe8017 100644 --- a/fix50/marketdatarequestreject/MarketDataRequestReject.go +++ b/fix50/marketdatarequestreject/MarketDataRequestReject.go @@ -16,8 +16,8 @@ type Message struct { MDReqID string `fix:"262"` //MDReqRejReason is a non-required field for MarketDataRequestReject. MDReqRejReason *string `fix:"281"` - //MDRjctGrp Component - mdrjctgrp.MDRjctGrp + //MDRjctGrp is a non-required component for MarketDataRequestReject. + MDRjctGrp *mdrjctgrp.MDRjctGrp //Text is a non-required field for MarketDataRequestReject. Text *string `fix:"58"` //EncodedTextLen is a non-required field for MarketDataRequestReject. @@ -30,11 +30,12 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = v } -func (m *Message) SetMDReqRejReason(v string) { m.MDReqRejReason = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = v } +func (m *Message) SetMDReqRejReason(v string) { m.MDReqRejReason = &v } +func (m *Message) SetMDRjctGrp(v mdrjctgrp.MDRjctGrp) { m.MDRjctGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix50/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index 89e667e38..22ad86b8f 100644 --- a/fix50/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix50/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -18,19 +18,19 @@ type Message struct { fixt11.Header //MDReqID is a non-required field for MarketDataSnapshotFullRefresh. MDReqID *string `fix:"262"` - //Instrument Component + //Instrument is a required component for MarketDataSnapshotFullRefresh. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for MarketDataSnapshotFullRefresh. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for MarketDataSnapshotFullRefresh. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //FinancialStatus is a non-required field for MarketDataSnapshotFullRefresh. FinancialStatus *string `fix:"291"` //CorporateAction is a non-required field for MarketDataSnapshotFullRefresh. CorporateAction *string `fix:"292"` //NetChgPrevDay is a non-required field for MarketDataSnapshotFullRefresh. NetChgPrevDay *float64 `fix:"451"` - //MDFullGrp Component + //MDFullGrp is a required component for MarketDataSnapshotFullRefresh. mdfullgrp.MDFullGrp //ApplQueueDepth is a non-required field for MarketDataSnapshotFullRefresh. ApplQueueDepth *int `fix:"813"` @@ -46,25 +46,30 @@ type Message struct { MDFeedType *string `fix:"1022"` //TradeDate is a non-required field for MarketDataSnapshotFullRefresh. TradeDate *string `fix:"75"` - //RoutingGrp Component - routinggrp.RoutingGrp + //RoutingGrp is a non-required component for MarketDataSnapshotFullRefresh. + RoutingGrp *routinggrp.RoutingGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } -func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } -func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } -func (m *Message) SetMDReportID(v int) { m.MDReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } +func (m *Message) SetMDFullGrp(v mdfullgrp.MDFullGrp) { m.MDFullGrp = v } +func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } +func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } +func (m *Message) SetMDReportID(v int) { m.MDReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/massquote/MassQuote.go b/fix50/massquote/MassQuote.go index 17394a373..10182c3f2 100644 --- a/fix50/massquote/MassQuote.go +++ b/fix50/massquote/MassQuote.go @@ -21,8 +21,8 @@ type Message struct { QuoteType *int `fix:"537"` //QuoteResponseLevel is a non-required field for MassQuote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuote. + Parties *parties.Parties //Account is a non-required field for MassQuote. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuote. @@ -33,7 +33,7 @@ type Message struct { DefBidSize *float64 `fix:"293"` //DefOfferSize is a non-required field for MassQuote. DefOfferSize *float64 `fix:"294"` - //QuotSetGrp Component + //QuotSetGrp is a required component for MassQuote. quotsetgrp.QuotSetGrp fixt11.Trailer } @@ -41,15 +41,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDefBidSize(v float64) { m.DefBidSize = &v } -func (m *Message) SetDefOfferSize(v float64) { m.DefOfferSize = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDefBidSize(v float64) { m.DefBidSize = &v } +func (m *Message) SetDefOfferSize(v float64) { m.DefOfferSize = &v } +func (m *Message) SetQuotSetGrp(v quotsetgrp.QuotSetGrp) { m.QuotSetGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/massquoteacknowledgement/MassQuoteAcknowledgement.go b/fix50/massquoteacknowledgement/MassQuoteAcknowledgement.go index 0e574ca0a..65694727a 100644 --- a/fix50/massquoteacknowledgement/MassQuoteAcknowledgement.go +++ b/fix50/massquoteacknowledgement/MassQuoteAcknowledgement.go @@ -25,8 +25,8 @@ type Message struct { QuoteResponseLevel *int `fix:"301"` //QuoteType is a non-required field for MassQuoteAcknowledgement. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuoteAcknowledgement. + Parties *parties.Parties //Account is a non-required field for MassQuoteAcknowledgement. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuoteAcknowledgement. @@ -39,26 +39,28 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MassQuoteAcknowledgement. EncodedText *string `fix:"355"` - //QuotSetAckGrp Component - quotsetackgrp.QuotSetAckGrp + //QuotSetAckGrp is a non-required component for MassQuoteAcknowledgement. + QuotSetAckGrp *quotsetackgrp.QuotSetAckGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } -func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } +func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuotSetAckGrp(v quotsetackgrp.QuotSetAckGrp) { m.QuotSetAckGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/mdfullgrp/MDFullGrp.go b/fix50/mdfullgrp/MDFullGrp.go index 229e6abcd..2feac6041 100644 --- a/fix50/mdfullgrp/MDFullGrp.go +++ b/fix50/mdfullgrp/MDFullGrp.go @@ -101,8 +101,8 @@ type NoMDEntries struct { MDEntryForwardPoints *float64 `fix:"1027"` //MDEntryID is a non-required field for NoMDEntries. MDEntryID *string `fix:"278"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoMDEntries. + Parties *parties.Parties //SecondaryOrderID is a non-required field for NoMDEntries. SecondaryOrderID *string `fix:"198"` //OrdType is a non-required field for NoMDEntries. diff --git a/fix50/mdincgrp/MDIncGrp.go b/fix50/mdincgrp/MDIncGrp.go index 291bbe465..93d1837df 100644 --- a/fix50/mdincgrp/MDIncGrp.go +++ b/fix50/mdincgrp/MDIncGrp.go @@ -20,12 +20,12 @@ type NoMDEntries struct { MDEntryID *string `fix:"278"` //MDEntryRefID is a non-required field for NoMDEntries. MDEntryRefID *string `fix:"280"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoMDEntries. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for NoMDEntries. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoMDEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //FinancialStatus is a non-required field for NoMDEntries. FinancialStatus *string `fix:"291"` //CorporateAction is a non-required field for NoMDEntries. @@ -122,8 +122,8 @@ type NoMDEntries struct { MDEntryForwardPoints *float64 `fix:"1027"` //MDPriceLevel is a non-required field for NoMDEntries. MDPriceLevel *int `fix:"1023"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoMDEntries. + Parties *parties.Parties //SecondaryOrderID is a non-required field for NoMDEntries. SecondaryOrderID *string `fix:"198"` //OrdType is a non-required field for NoMDEntries. diff --git a/fix50/multilegordercancelreplace/MultilegOrderCancelReplace.go b/fix50/multilegordercancelreplace/MultilegOrderCancelReplace.go index 687b9ffe6..895b85f30 100644 --- a/fix50/multilegordercancelreplace/MultilegOrderCancelReplace.go +++ b/fix50/multilegordercancelreplace/MultilegOrderCancelReplace.go @@ -37,8 +37,8 @@ type Message struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for MultilegOrderCancelReplace. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for MultilegOrderCancelReplace. + Parties *parties.Parties //TradeOriginationDate is a non-required field for MultilegOrderCancelReplace. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for MultilegOrderCancelReplace. @@ -57,8 +57,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for MultilegOrderCancelReplace. AllocID *string `fix:"70"` - //PreAllocMlegGrp Component - preallocmleggrp.PreAllocMlegGrp + //PreAllocMlegGrp is a non-required component for MultilegOrderCancelReplace. + PreAllocMlegGrp *preallocmleggrp.PreAllocMlegGrp //SettlType is a non-required field for MultilegOrderCancelReplace. SettlType *string `fix:"63"` //SettlDate is a non-required field for MultilegOrderCancelReplace. @@ -77,19 +77,19 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for MultilegOrderCancelReplace. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for MultilegOrderCancelReplace. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for MultilegOrderCancelReplace. ProcessCode *string `fix:"81"` //Side is a required field for MultilegOrderCancelReplace. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for MultilegOrderCancelReplace. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for MultilegOrderCancelReplace. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for MultilegOrderCancelReplace. PrevClosePx *float64 `fix:"140"` - //LegOrdGrp Component + //LegOrdGrp is a required component for MultilegOrderCancelReplace. legordgrp.LegOrdGrp //LocateReqd is a non-required field for MultilegOrderCancelReplace. LocateReqd *bool `fix:"114"` @@ -97,7 +97,7 @@ type Message struct { TransactTime time.Time `fix:"60"` //QtyType is a non-required field for MultilegOrderCancelReplace. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for MultilegOrderCancelReplace. orderqtydata.OrderQtyData //OrdType is a required field for MultilegOrderCancelReplace. OrdType string `fix:"40"` @@ -127,8 +127,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for MultilegOrderCancelReplace. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for MultilegOrderCancelReplace. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for MultilegOrderCancelReplace. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for MultilegOrderCancelReplace. @@ -153,10 +153,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for MultilegOrderCancelReplace. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for MultilegOrderCancelReplace. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for MultilegOrderCancelReplace. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for MultilegOrderCancelReplace. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for MultilegOrderCancelReplace. @@ -173,18 +173,18 @@ type Message struct { Designation *string `fix:"494"` //MultiLegRptTypeReq is a non-required field for MultilegOrderCancelReplace. MultiLegRptTypeReq *int `fix:"563"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for MultilegOrderCancelReplace. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //MatchIncrement is a non-required field for MultilegOrderCancelReplace. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for MultilegOrderCancelReplace. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for MultilegOrderCancelReplace. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for MultilegOrderCancelReplace. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for MultilegOrderCancelReplace. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for MultilegOrderCancelReplace. PreTradeAnonymity *bool `fix:"1091"` //ExDestinationIDSource is a non-required field for MultilegOrderCancelReplace. @@ -197,62 +197,74 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocMlegGrp(v preallocmleggrp.PreAllocMlegGrp) { m.PreAllocMlegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLegOrdGrp(v legordgrp.LegOrdGrp) { m.LegOrdGrp = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -261,12 +273,21 @@ func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatu func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/nestedparties/NestedParties.go b/fix50/nestedparties/NestedParties.go index 127b0b4f8..aef241f26 100644 --- a/fix50/nestedparties/NestedParties.go +++ b/fix50/nestedparties/NestedParties.go @@ -12,8 +12,8 @@ type NoNestedPartyIDs struct { NestedPartyIDSource *string `fix:"525"` //NestedPartyRole is a non-required field for NoNestedPartyIDs. NestedPartyRole *int `fix:"538"` - //NstdPtysSubGrp Component - nstdptyssubgrp.NstdPtysSubGrp + //NstdPtysSubGrp is a non-required component for NoNestedPartyIDs. + NstdPtysSubGrp *nstdptyssubgrp.NstdPtysSubGrp } //NestedParties is a fix50 Component diff --git a/fix50/nestedparties2/NestedParties2.go b/fix50/nestedparties2/NestedParties2.go index 749c9bc91..490c87afe 100644 --- a/fix50/nestedparties2/NestedParties2.go +++ b/fix50/nestedparties2/NestedParties2.go @@ -12,8 +12,8 @@ type NoNested2PartyIDs struct { Nested2PartyIDSource *string `fix:"758"` //Nested2PartyRole is a non-required field for NoNested2PartyIDs. Nested2PartyRole *int `fix:"759"` - //NstdPtys2SubGrp Component - nstdptys2subgrp.NstdPtys2SubGrp + //NstdPtys2SubGrp is a non-required component for NoNested2PartyIDs. + NstdPtys2SubGrp *nstdptys2subgrp.NstdPtys2SubGrp } //NestedParties2 is a fix50 Component diff --git a/fix50/nestedparties3/NestedParties3.go b/fix50/nestedparties3/NestedParties3.go index 31168c84c..a15227459 100644 --- a/fix50/nestedparties3/NestedParties3.go +++ b/fix50/nestedparties3/NestedParties3.go @@ -12,8 +12,8 @@ type NoNested3PartyIDs struct { Nested3PartyIDSource *string `fix:"950"` //Nested3PartyRole is a non-required field for NoNested3PartyIDs. Nested3PartyRole *int `fix:"951"` - //NstdPtys3SubGrp Component - nstdptys3subgrp.NstdPtys3SubGrp + //NstdPtys3SubGrp is a non-required component for NoNested3PartyIDs. + NstdPtys3SubGrp *nstdptys3subgrp.NstdPtys3SubGrp } //NestedParties3 is a fix50 Component diff --git a/fix50/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go b/fix50/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go index c462a220c..b4ebb1bfa 100644 --- a/fix50/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go +++ b/fix50/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go @@ -16,16 +16,17 @@ type Message struct { NetworkRequestType int `fix:"935"` //NetworkRequestID is a required field for NetworkCounterpartySystemStatusRequest. NetworkRequestID string `fix:"933"` - //CompIDReqGrp Component - compidreqgrp.CompIDReqGrp + //CompIDReqGrp is a non-required component for NetworkCounterpartySystemStatusRequest. + CompIDReqGrp *compidreqgrp.CompIDReqGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetNetworkRequestType(v int) { m.NetworkRequestType = v } -func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = v } +func (m *Message) SetNetworkRequestType(v int) { m.NetworkRequestType = v } +func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = v } +func (m *Message) SetCompIDReqGrp(v compidreqgrp.CompIDReqGrp) { m.CompIDReqGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go b/fix50/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go index b22b91b4e..afb02622a 100644 --- a/fix50/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go +++ b/fix50/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go @@ -20,7 +20,7 @@ type Message struct { NetworkResponseID string `fix:"932"` //LastNetworkResponseID is a non-required field for NetworkCounterpartySystemStatusResponse. LastNetworkResponseID *string `fix:"934"` - //CompIDStatGrp Component + //CompIDStatGrp is a required component for NetworkCounterpartySystemStatusResponse. compidstatgrp.CompIDStatGrp fixt11.Trailer } @@ -28,10 +28,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetNetworkStatusResponseType(v int) { m.NetworkStatusResponseType = v } -func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = &v } -func (m *Message) SetNetworkResponseID(v string) { m.NetworkResponseID = v } -func (m *Message) SetLastNetworkResponseID(v string) { m.LastNetworkResponseID = &v } +func (m *Message) SetNetworkStatusResponseType(v int) { m.NetworkStatusResponseType = v } +func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = &v } +func (m *Message) SetNetworkResponseID(v string) { m.NetworkResponseID = v } +func (m *Message) SetLastNetworkResponseID(v string) { m.LastNetworkResponseID = &v } +func (m *Message) SetCompIDStatGrp(v compidstatgrp.CompIDStatGrp) { m.CompIDStatGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/newordercross/NewOrderCross.go b/fix50/newordercross/NewOrderCross.go index 76242192e..40ace5709 100644 --- a/fix50/newordercross/NewOrderCross.go +++ b/fix50/newordercross/NewOrderCross.go @@ -32,14 +32,14 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for NewOrderCross. CrossPrioritization int `fix:"550"` - //SideCrossOrdModGrp Component + //SideCrossOrdModGrp is a required component for NewOrderCross. sidecrossordmodgrp.SideCrossOrdModGrp - //Instrument Component + //Instrument is a required component for NewOrderCross. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NewOrderCross. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NewOrderCross. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SettlType is a non-required field for NewOrderCross. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderCross. @@ -54,8 +54,8 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderCross. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderCross. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderCross. ProcessCode *string `fix:"81"` //PrevClosePx is a non-required field for NewOrderCross. @@ -64,8 +64,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderCross. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderCross. + Stipulations *stipulations.Stipulations //OrdType is a required field for NewOrderCross. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderCross. @@ -74,10 +74,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderCross. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderCross. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderCross. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderCross. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderCross. @@ -98,10 +98,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for NewOrderCross. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderCross. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderCross. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderCross. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderCross. @@ -116,22 +116,22 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for NewOrderCross. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderCross. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //TransBkdTime is a non-required field for NewOrderCross. TransBkdTime *time.Time `fix:"483"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for NewOrderCross. + RootParties *rootparties.RootParties //MatchIncrement is a non-required field for NewOrderCross. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderCross. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderCross. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderCross. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderCross. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //ExDestinationIDSource is a non-required field for NewOrderCross. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer @@ -140,34 +140,50 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetSideCrossOrdModGrp(v sidecrossordmodgrp.SideCrossOrdModGrp) { + m.SideCrossOrdModGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -175,11 +191,21 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/neworderlist/NewOrderList.go b/fix50/neworderlist/NewOrderList.go index be09c39ba..30d2f2562 100644 --- a/fix50/neworderlist/NewOrderList.go +++ b/fix50/neworderlist/NewOrderList.go @@ -49,34 +49,36 @@ type Message struct { TotNoOrders int `fix:"68"` //LastFragment is a non-required field for NewOrderList. LastFragment *bool `fix:"893"` - //ListOrdGrp Component + //ListOrdGrp is a required component for NewOrderList. listordgrp.ListOrdGrp - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for NewOrderList. + RootParties *rootparties.RootParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } -func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } -func (m *Message) SetBidType(v int) { m.BidType = v } -func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetListExecInstType(v string) { m.ListExecInstType = &v } -func (m *Message) SetListExecInst(v string) { m.ListExecInst = &v } -func (m *Message) SetEncodedListExecInstLen(v int) { m.EncodedListExecInstLen = &v } -func (m *Message) SetEncodedListExecInst(v string) { m.EncodedListExecInst = &v } -func (m *Message) SetAllowableOneSidednessPct(v float64) { m.AllowableOneSidednessPct = &v } -func (m *Message) SetAllowableOneSidednessValue(v float64) { m.AllowableOneSidednessValue = &v } -func (m *Message) SetAllowableOneSidednessCurr(v string) { m.AllowableOneSidednessCurr = &v } -func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } +func (m *Message) SetBidType(v int) { m.BidType = v } +func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetListExecInstType(v string) { m.ListExecInstType = &v } +func (m *Message) SetListExecInst(v string) { m.ListExecInst = &v } +func (m *Message) SetEncodedListExecInstLen(v int) { m.EncodedListExecInstLen = &v } +func (m *Message) SetEncodedListExecInst(v string) { m.EncodedListExecInst = &v } +func (m *Message) SetAllowableOneSidednessPct(v float64) { m.AllowableOneSidednessPct = &v } +func (m *Message) SetAllowableOneSidednessValue(v float64) { m.AllowableOneSidednessValue = &v } +func (m *Message) SetAllowableOneSidednessCurr(v string) { m.AllowableOneSidednessCurr = &v } +func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListOrdGrp(v listordgrp.ListOrdGrp) { m.ListOrdGrp = v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/newordermultileg/NewOrderMultileg.go b/fix50/newordermultileg/NewOrderMultileg.go index afa6e2457..c55232f52 100644 --- a/fix50/newordermultileg/NewOrderMultileg.go +++ b/fix50/newordermultileg/NewOrderMultileg.go @@ -31,8 +31,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderMultileg. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderMultileg. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderMultileg. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderMultileg. @@ -51,8 +51,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NewOrderMultileg. AllocID *string `fix:"70"` - //PreAllocMlegGrp Component - preallocmleggrp.PreAllocMlegGrp + //PreAllocMlegGrp is a non-required component for NewOrderMultileg. + PreAllocMlegGrp *preallocmleggrp.PreAllocMlegGrp //SettlType is a non-required field for NewOrderMultileg. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderMultileg. @@ -71,19 +71,19 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderMultileg. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderMultileg. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderMultileg. ProcessCode *string `fix:"81"` //Side is a required field for NewOrderMultileg. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for NewOrderMultileg. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NewOrderMultileg. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NewOrderMultileg. PrevClosePx *float64 `fix:"140"` - //LegOrdGrp Component + //LegOrdGrp is a required component for NewOrderMultileg. legordgrp.LegOrdGrp //LocateReqd is a non-required field for NewOrderMultileg. LocateReqd *bool `fix:"114"` @@ -91,8 +91,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //QtyType is a non-required field for NewOrderMultileg. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NewOrderMultileg. + OrderQtyData *orderqtydata.OrderQtyData //OrdType is a required field for NewOrderMultileg. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderMultileg. @@ -121,8 +121,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderMultileg. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderMultileg. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderMultileg. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderMultileg. @@ -147,10 +147,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderMultileg. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderMultileg. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderMultileg. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderMultileg. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderMultileg. @@ -167,20 +167,20 @@ type Message struct { Designation *string `fix:"494"` //MultiLegRptTypeReq is a non-required field for NewOrderMultileg. MultiLegRptTypeReq *int `fix:"563"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderMultileg. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //SwapPoints is a non-required field for NewOrderMultileg. SwapPoints *float64 `fix:"1069"` //MatchIncrement is a non-required field for NewOrderMultileg. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderMultileg. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderMultileg. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderMultileg. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderMultileg. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //RefOrderID is a non-required field for NewOrderMultileg. RefOrderID *string `fix:"1080"` //RefOrderIDSource is a non-required field for NewOrderMultileg. @@ -195,59 +195,71 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocMlegGrp(v preallocmleggrp.PreAllocMlegGrp) { m.PreAllocMlegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLegOrdGrp(v legordgrp.LegOrdGrp) { m.LegOrdGrp = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -256,14 +268,23 @@ func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatu func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } -func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } +func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/newordersingle/NewOrderSingle.go b/fix50/newordersingle/NewOrderSingle.go index c8dd076c6..d929d2953 100644 --- a/fix50/newordersingle/NewOrderSingle.go +++ b/fix50/newordersingle/NewOrderSingle.go @@ -35,8 +35,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderSingle. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderSingle. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderSingle. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderSingle. @@ -55,8 +55,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NewOrderSingle. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NewOrderSingle. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for NewOrderSingle. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderSingle. @@ -75,16 +75,16 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderSingle. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderSingle. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderSingle. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NewOrderSingle. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NewOrderSingle. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NewOrderSingle. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NewOrderSingle. PrevClosePx *float64 `fix:"140"` //Side is a required field for NewOrderSingle. @@ -93,11 +93,11 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderSingle. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderSingle. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NewOrderSingle. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NewOrderSingle. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderSingle. OrdType string `fix:"40"` @@ -107,10 +107,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderSingle. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderSingle. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderSingle. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderSingle. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderSingle. @@ -131,8 +131,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderSingle. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderSingle. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderSingle. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderSingle. @@ -163,10 +163,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderSingle. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderSingle. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderSingle. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderSingle. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderSingle. @@ -181,8 +181,8 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for NewOrderSingle. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderSingle. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //ManualOrderIndicator is a non-required field for NewOrderSingle. ManualOrderIndicator *bool `fix:"1028"` //CustDirectedOrder is a non-required field for NewOrderSingle. @@ -193,18 +193,18 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for NewOrderSingle. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for NewOrderSingle. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //MatchIncrement is a non-required field for NewOrderSingle. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderSingle. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderSingle. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderSingle. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderSingle. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for NewOrderSingle. PreTradeAnonymity *bool `fix:"1091"` //RefOrderID is a non-required field for NewOrderSingle. @@ -219,62 +219,79 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -282,18 +299,28 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } -func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } +func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/news/News.go b/fix50/news/News.go index 74deb29f9..fbf3e89a1 100644 --- a/fix50/news/News.go +++ b/fix50/news/News.go @@ -27,15 +27,15 @@ type Message struct { EncodedHeadlineLen *int `fix:"358"` //EncodedHeadline is a non-required field for News. EncodedHeadline *string `fix:"359"` - //RoutingGrp Component - routinggrp.RoutingGrp - //InstrmtGrp Component - instrmtgrp.InstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //LinesOfTextGrp Component + //RoutingGrp is a non-required component for News. + RoutingGrp *routinggrp.RoutingGrp + //InstrmtGrp is a non-required component for News. + InstrmtGrp *instrmtgrp.InstrmtGrp + //InstrmtLegGrp is a non-required component for News. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for News. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //LinesOfTextGrp is a required component for News. linesoftextgrp.LinesOfTextGrp //URLLink is a non-required field for News. URLLink *string `fix:"149"` @@ -49,14 +49,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } -func (m *Message) SetUrgency(v string) { m.Urgency = &v } -func (m *Message) SetHeadline(v string) { m.Headline = v } -func (m *Message) SetEncodedHeadlineLen(v int) { m.EncodedHeadlineLen = &v } -func (m *Message) SetEncodedHeadline(v string) { m.EncodedHeadline = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } -func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } +func (m *Message) SetUrgency(v string) { m.Urgency = &v } +func (m *Message) SetHeadline(v string) { m.Headline = v } +func (m *Message) SetEncodedHeadlineLen(v int) { m.EncodedHeadlineLen = &v } +func (m *Message) SetEncodedHeadline(v string) { m.EncodedHeadline = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetLinesOfTextGrp(v linesoftextgrp.LinesOfTextGrp) { m.LinesOfTextGrp = v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } +func (m *Message) SetRawData(v string) { m.RawData = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/ordallocgrp/OrdAllocGrp.go b/fix50/ordallocgrp/OrdAllocGrp.go index f3f4a79f7..e048219fb 100644 --- a/fix50/ordallocgrp/OrdAllocGrp.go +++ b/fix50/ordallocgrp/OrdAllocGrp.go @@ -16,8 +16,8 @@ type NoOrders struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoOrders. + NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. diff --git a/fix50/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix50/ordercancelreplacerequest/OrderCancelReplaceRequest.go index 48d6e2c57..82e7f039b 100644 --- a/fix50/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix50/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -30,8 +30,8 @@ type Message struct { fixt11.Header //OrderID is a non-required field for OrderCancelReplaceRequest. OrderID *string `fix:"37"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderCancelReplaceRequest. + Parties *parties.Parties //TradeOriginationDate is a non-required field for OrderCancelReplaceRequest. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for OrderCancelReplaceRequest. @@ -62,8 +62,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for OrderCancelReplaceRequest. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for OrderCancelReplaceRequest. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for OrderCancelReplaceRequest. SettlType *string `fix:"63"` //SettlDate is a non-required field for OrderCancelReplaceRequest. @@ -82,21 +82,21 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for OrderCancelReplaceRequest. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp - //Instrument Component + //TrdgSesGrp is a non-required component for OrderCancelReplaceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp + //Instrument is a required component for OrderCancelReplaceRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderCancelReplaceRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderCancelReplaceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderCancelReplaceRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` //QtyType is a non-required field for OrderCancelReplaceRequest. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelReplaceRequest. orderqtydata.OrderQtyData //OrdType is a required field for OrderCancelReplaceRequest. OrdType string `fix:"40"` @@ -106,14 +106,14 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for OrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //SpreadOrBenchmarkCurveData is a non-required component for OrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for OrderCancelReplaceRequest. + YieldData *yielddata.YieldData + //PegInstructions is a non-required component for OrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for OrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for OrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for OrderCancelReplaceRequest. @@ -136,8 +136,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for OrderCancelReplaceRequest. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for OrderCancelReplaceRequest. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for OrderCancelReplaceRequest. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for OrderCancelReplaceRequest. @@ -178,8 +178,8 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for OrderCancelReplaceRequest. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for OrderCancelReplaceRequest. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //ManualOrderIndicator is a non-required field for OrderCancelReplaceRequest. ManualOrderIndicator *bool `fix:"1028"` //CustDirectedOrder is a non-required field for OrderCancelReplaceRequest. @@ -190,18 +190,18 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for OrderCancelReplaceRequest. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for OrderCancelReplaceRequest. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //MatchIncrement is a non-required field for OrderCancelReplaceRequest. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for OrderCancelReplaceRequest. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for OrderCancelReplaceRequest. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for OrderCancelReplaceRequest. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for OrderCancelReplaceRequest. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for OrderCancelReplaceRequest. PreTradeAnonymity *bool `fix:"1091"` //ExDestinationIDSource is a non-required field for OrderCancelReplaceRequest. @@ -212,79 +212,105 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/ordercancelrequest/OrderCancelRequest.go b/fix50/ordercancelrequest/OrderCancelRequest.go index e5700cceb..af6b6a14f 100644 --- a/fix50/ordercancelrequest/OrderCancelRequest.go +++ b/fix50/ordercancelrequest/OrderCancelRequest.go @@ -37,19 +37,19 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for OrderCancelRequest. AccountType *int `fix:"581"` - //Parties Component - parties.Parties - //Instrument Component + //Parties is a non-required component for OrderCancelRequest. + Parties *parties.Parties + //Instrument is a required component for OrderCancelRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderCancelRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderCancelRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderCancelRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelRequest. TransactTime time.Time `fix:"60"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelRequest. orderqtydata.OrderQtyData //ComplianceID is a non-required field for OrderCancelRequest. ComplianceID *string `fix:"376"` @@ -65,22 +65,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/ordermasscancelreport/OrderMassCancelReport.go b/fix50/ordermasscancelreport/OrderMassCancelReport.go index 6e9092095..b945a40bd 100644 --- a/fix50/ordermasscancelreport/OrderMassCancelReport.go +++ b/fix50/ordermasscancelreport/OrderMassCancelReport.go @@ -32,16 +32,16 @@ type Message struct { MassCancelRejectReason *int `fix:"532"` //TotalAffectedOrders is a non-required field for OrderMassCancelReport. TotalAffectedOrders *int `fix:"533"` - //AffectedOrdGrp Component - affectedordgrp.AffectedOrdGrp + //AffectedOrdGrp is a non-required component for OrderMassCancelReport. + AffectedOrdGrp *affectedordgrp.AffectedOrdGrp //TradingSessionID is a non-required field for OrderMassCancelReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelReport. Side *string `fix:"54"` //TransactTime is a non-required field for OrderMassCancelReport. @@ -52,29 +52,35 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassCancelReport. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassCancelReport. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetMassCancelResponse(v string) { m.MassCancelResponse = v } -func (m *Message) SetMassCancelRejectReason(v int) { m.MassCancelRejectReason = &v } -func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetMassCancelResponse(v string) { m.MassCancelResponse = v } +func (m *Message) SetMassCancelRejectReason(v int) { m.MassCancelRejectReason = &v } +func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } +func (m *Message) SetAffectedOrdGrp(v affectedordgrp.AffectedOrdGrp) { m.AffectedOrdGrp = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/ordermasscancelrequest/OrderMassCancelRequest.go b/fix50/ordermasscancelrequest/OrderMassCancelRequest.go index 26dfd467c..566f315b0 100644 --- a/fix50/ordermasscancelrequest/OrderMassCancelRequest.go +++ b/fix50/ordermasscancelrequest/OrderMassCancelRequest.go @@ -25,10 +25,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelRequest. Side *string `fix:"54"` //TransactTime is a required field for OrderMassCancelRequest. @@ -39,24 +39,29 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassCancelRequest. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassCancelRequest. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/ordermassstatusrequest/OrderMassStatusRequest.go b/fix50/ordermassstatusrequest/OrderMassStatusRequest.go index 54786d07c..7a19a95ec 100644 --- a/fix50/ordermassstatusrequest/OrderMassStatusRequest.go +++ b/fix50/ordermassstatusrequest/OrderMassStatusRequest.go @@ -18,8 +18,8 @@ type Message struct { MassStatusReqID string `fix:"584"` //MassStatusReqType is a required field for OrderMassStatusRequest. MassStatusReqType int `fix:"585"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassStatusRequest. + Parties *parties.Parties //Account is a non-required field for OrderMassStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderMassStatusRequest. @@ -28,10 +28,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassStatusRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassStatusRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassStatusRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassStatusRequest. Side *string `fix:"54"` fixt11.Trailer @@ -40,13 +40,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } -func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } +func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/orderstatusrequest/OrderStatusRequest.go b/fix50/orderstatusrequest/OrderStatusRequest.go index b454718ec..70a38ef95 100644 --- a/fix50/orderstatusrequest/OrderStatusRequest.go +++ b/fix50/orderstatusrequest/OrderStatusRequest.go @@ -23,20 +23,20 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for OrderStatusRequest. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderStatusRequest. + Parties *parties.Parties //OrdStatusReqID is a non-required field for OrderStatusRequest. OrdStatusReqID *string `fix:"790"` //Account is a non-required field for OrderStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderStatusRequest. AcctIDSource *int `fix:"660"` - //Instrument Component + //Instrument is a required component for OrderStatusRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderStatusRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderStatusRequest. Side string `fix:"54"` fixt11.Trailer @@ -45,14 +45,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/parties/Parties.go b/fix50/parties/Parties.go index 18d66f353..f217596d7 100644 --- a/fix50/parties/Parties.go +++ b/fix50/parties/Parties.go @@ -12,8 +12,8 @@ type NoPartyIDs struct { PartyIDSource *string `fix:"447"` //PartyRole is a non-required field for NoPartyIDs. PartyRole *int `fix:"452"` - //PtysSubGrp Component - ptyssubgrp.PtysSubGrp + //PtysSubGrp is a non-required component for NoPartyIDs. + PtysSubGrp *ptyssubgrp.PtysSubGrp } //Parties is a fix50 Component diff --git a/fix50/positionmaintenancereport/PositionMaintenanceReport.go b/fix50/positionmaintenancereport/PositionMaintenanceReport.go index d1406e47c..47fb49912 100644 --- a/fix50/positionmaintenancereport/PositionMaintenanceReport.go +++ b/fix50/positionmaintenancereport/PositionMaintenanceReport.go @@ -39,30 +39,30 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceReport. SettlSessSubID *string `fix:"717"` - //Parties Component - parties.Parties + //Parties is a non-required component for PositionMaintenanceReport. + Parties *parties.Parties //Account is a non-required field for PositionMaintenanceReport. Account *string `fix:"1"` //AcctIDSource is a non-required field for PositionMaintenanceReport. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionMaintenanceReport. AccountType *int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceReport. instrument.Instrument //Currency is a non-required field for PositionMaintenanceReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //InstrmtLegGrp is a non-required component for PositionMaintenanceReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for PositionMaintenanceReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //TrdgSesGrp is a non-required component for PositionMaintenanceReport. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a non-required field for PositionMaintenanceReport. TransactTime *time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceReport. positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for PositionMaintenanceReport. + PositionAmountData *positionamountdata.PositionAmountData //AdjustmentType is a non-required field for PositionMaintenanceReport. AdjustmentType *int `fix:"718"` //ThresholdAmount is a non-required field for PositionMaintenanceReport. @@ -87,21 +87,30 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosTransType(v int) { m.PosTransType = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } -func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } -func (m *Message) SetPosMaintStatus(v int) { m.PosMaintStatus = v } -func (m *Message) SetPosMaintResult(v int) { m.PosMaintResult = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosTransType(v int) { m.PosTransType = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } +func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } +func (m *Message) SetPosMaintStatus(v int) { m.PosMaintStatus = v } +func (m *Message) SetPosMaintResult(v int) { m.PosMaintResult = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } func (m *Message) SetText(v string) { m.Text = &v } diff --git a/fix50/positionmaintenancerequest/PositionMaintenanceRequest.go b/fix50/positionmaintenancerequest/PositionMaintenanceRequest.go index a8b2e591d..5e5edbd05 100644 --- a/fix50/positionmaintenancerequest/PositionMaintenanceRequest.go +++ b/fix50/positionmaintenancerequest/PositionMaintenanceRequest.go @@ -35,7 +35,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceRequest. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionMaintenanceRequest. parties.Parties //Account is a non-required field for PositionMaintenanceRequest. Account *string `fix:"1"` @@ -43,19 +43,19 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionMaintenanceRequest. AccountType *int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceRequest. instrument.Instrument //Currency is a non-required field for PositionMaintenanceRequest. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //InstrmtLegGrp is a non-required component for PositionMaintenanceRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for PositionMaintenanceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //TrdgSesGrp is a non-required component for PositionMaintenanceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a non-required field for PositionMaintenanceRequest. TransactTime *time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceRequest. positionqty.PositionQty //AdjustmentType is a non-required field for PositionMaintenanceRequest. AdjustmentType *int `fix:"718"` @@ -71,8 +71,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for PositionMaintenanceRequest. EncodedText *string `fix:"355"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for PositionMaintenanceRequest. + PositionAmountData *positionamountdata.PositionAmountData //SettlCurrency is a non-required field for PositionMaintenanceRequest. SettlCurrency *string `fix:"120"` fixt11.Trailer @@ -81,27 +81,36 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosTransType(v int) { m.PosTransType = v } -func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } -func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } -func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } -func (m *Message) SetContraryInstructionIndicator(v bool) { m.ContraryInstructionIndicator = &v } -func (m *Message) SetPriorSpreadIndicator(v bool) { m.PriorSpreadIndicator = &v } -func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosTransType(v int) { m.PosTransType = v } +func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } +func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } +func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } +func (m *Message) SetContraryInstructionIndicator(v bool) { m.ContraryInstructionIndicator = &v } +func (m *Message) SetPriorSpreadIndicator(v bool) { m.PriorSpreadIndicator = &v } +func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/positionqty/PositionQty.go b/fix50/positionqty/PositionQty.go index 88c5e2a4b..b22accd04 100644 --- a/fix50/positionqty/PositionQty.go +++ b/fix50/positionqty/PositionQty.go @@ -14,8 +14,8 @@ type NoPositions struct { ShortQty *float64 `fix:"705"` //PosQtyStatus is a non-required field for NoPositions. PosQtyStatus *int `fix:"706"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoPositions. + NestedParties *nestedparties.NestedParties //QuantityDate is a non-required field for NoPositions. QuantityDate *string `fix:"976"` } diff --git a/fix50/positionreport/PositionReport.go b/fix50/positionreport/PositionReport.go index 325b9fac5..3c63a0d40 100644 --- a/fix50/positionreport/PositionReport.go +++ b/fix50/positionreport/PositionReport.go @@ -37,7 +37,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionReport. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionReport. parties.Parties //Account is a non-required field for PositionReport. Account *string `fix:"1"` @@ -45,8 +45,8 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionReport. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for PositionReport. + Instrument *instrument.Instrument //Currency is a non-required field for PositionReport. Currency *string `fix:"15"` //SettlPrice is a non-required field for PositionReport. @@ -55,14 +55,14 @@ type Message struct { SettlPriceType *int `fix:"731"` //PriorSettlPrice is a non-required field for PositionReport. PriorSettlPrice *float64 `fix:"734"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //PosUndInstrmtGrp Component - posundinstrmtgrp.PosUndInstrmtGrp - //PositionQty Component - positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //InstrmtLegGrp is a non-required component for PositionReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //PosUndInstrmtGrp is a non-required component for PositionReport. + PosUndInstrmtGrp *posundinstrmtgrp.PosUndInstrmtGrp + //PositionQty is a non-required component for PositionReport. + PositionQty *positionqty.PositionQty + //PositionAmountData is a non-required component for PositionReport. + PositionAmountData *positionamountdata.PositionAmountData //RegistStatus is a non-required field for PositionReport. RegistStatus *string `fix:"506"` //DeliveryDate is a non-required field for PositionReport. @@ -87,32 +87,40 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } -func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } -func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } -func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } -func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } +func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } +func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetPosUndInstrmtGrp(v posundinstrmtgrp.PosUndInstrmtGrp) { m.PosUndInstrmtGrp = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } +func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go index 2e14df573..bdef8b4d2 100644 --- a/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -7,14 +7,14 @@ import ( //NoUnderlyings is a repeating group in PosUndInstrmtGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //UnderlyingSettlPrice is a non-required field for NoUnderlyings. UnderlyingSettlPrice *float64 `fix:"732"` //UnderlyingSettlPriceType is a non-required field for NoUnderlyings. UnderlyingSettlPriceType *int `fix:"733"` - //UnderlyingAmount Component - underlyingamount.UnderlyingAmount + //UnderlyingAmount is a non-required component for NoUnderlyings. + UnderlyingAmount *underlyingamount.UnderlyingAmount //UnderlyingDeliveryAmount is a non-required field for NoUnderlyings. UnderlyingDeliveryAmount *float64 `fix:"1037"` } diff --git a/fix50/preallocgrp/PreAllocGrp.go b/fix50/preallocgrp/PreAllocGrp.go index 722f7e38f..8ea838f8d 100644 --- a/fix50/preallocgrp/PreAllocGrp.go +++ b/fix50/preallocgrp/PreAllocGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } diff --git a/fix50/preallocmleggrp/PreAllocMlegGrp.go b/fix50/preallocmleggrp/PreAllocMlegGrp.go index d8aaf2bda..42ab7ff14 100644 --- a/fix50/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50/preallocmleggrp/PreAllocMlegGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties3 Component - nestedparties3.NestedParties3 + //NestedParties3 is a non-required component for NoAllocs. + NestedParties3 *nestedparties3.NestedParties3 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } diff --git a/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go index efbaea807..902909943 100644 --- a/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -9,14 +9,14 @@ import ( //NoQuoteEntries is a repeating group in QuotCxlEntriesGrp type NoQuoteEntries struct { - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for NoQuoteEntries. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoQuoteEntries. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp } //QuotCxlEntriesGrp is a fix50 Component diff --git a/fix50/quote/Quote.go b/fix50/quote/Quote.go index 2961b3037..10ec1d845 100644 --- a/fix50/quote/Quote.go +++ b/fix50/quote/Quote.go @@ -30,26 +30,26 @@ type Message struct { QuoteRespID *string `fix:"693"` //QuoteType is a non-required field for Quote. QuoteType *int `fix:"537"` - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotQualGrp is a non-required component for Quote. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuoteResponseLevel is a non-required field for Quote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for Quote. + Parties *parties.Parties //TradingSessionID is a non-required field for Quote. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for Quote. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for Quote. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for Quote. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for Quote. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for Quote. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for Quote. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for Quote. SettlType *string `fix:"63"` //SettlDate is a non-required field for Quote. @@ -60,16 +60,16 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for Quote. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for Quote. + Stipulations *stipulations.Stipulations //Account is a non-required field for Quote. Account *string `fix:"1"` //AcctIDSource is a non-required field for Quote. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for Quote. AccountType *int `fix:"581"` - //LegQuotGrp Component - legquotgrp.LegQuotGrp + //LegQuotGrp is a non-required component for Quote. + LegQuotGrp *legquotgrp.LegQuotGrp //BidPx is a non-required field for Quote. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for Quote. @@ -130,10 +130,10 @@ type Message struct { OrderCapacity *string `fix:"528"` //PriceType is a non-required field for Quote. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for Quote. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for Quote. + YieldData *yielddata.YieldData //Text is a non-required field for Quote. Text *string `fix:"58"` //EncodedTextLen is a non-required field for Quote. @@ -152,58 +152,70 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetBidSwapPoints(v float64) { m.BidSwapPoints = &v } -func (m *Message) SetOfferSwapPoints(v float64) { m.OfferSwapPoints = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotGrp(v legquotgrp.LegQuotGrp) { m.LegQuotGrp = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetBidSwapPoints(v float64) { m.BidSwapPoints = &v } +func (m *Message) SetOfferSwapPoints(v float64) { m.OfferSwapPoints = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/quotecancel/QuoteCancel.go b/fix50/quotecancel/QuoteCancel.go index c9fad8dfe..433ced57f 100644 --- a/fix50/quotecancel/QuoteCancel.go +++ b/fix50/quotecancel/QuoteCancel.go @@ -21,8 +21,8 @@ type Message struct { QuoteCancelType int `fix:"298"` //QuoteResponseLevel is a non-required field for QuoteCancel. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteCancel. + Parties *parties.Parties //Account is a non-required field for QuoteCancel. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteCancel. @@ -33,8 +33,8 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteCancel. TradingSessionSubID *string `fix:"625"` - //QuotCxlEntriesGrp Component - quotcxlentriesgrp.QuotCxlEntriesGrp + //QuotCxlEntriesGrp is a non-required component for QuoteCancel. + QuotCxlEntriesGrp *quotcxlentriesgrp.QuotCxlEntriesGrp fixt11.Trailer } @@ -45,11 +45,15 @@ func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetQuotCxlEntriesGrp(v quotcxlentriesgrp.QuotCxlEntriesGrp) { + m.QuotCxlEntriesGrp = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/quotentryackgrp/QuotEntryAckGrp.go b/fix50/quotentryackgrp/QuotEntryAckGrp.go index 230b0a300..649c71fa5 100644 --- a/fix50/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50/quotentryackgrp/QuotEntryAckGrp.go @@ -10,10 +10,10 @@ import ( type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. QuoteEntryID *string `fix:"299"` - //Instrument Component - instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. diff --git a/fix50/quotentrygrp/QuotEntryGrp.go b/fix50/quotentrygrp/QuotEntryGrp.go index e29b7523c..a1481e1c1 100644 --- a/fix50/quotentrygrp/QuotEntryGrp.go +++ b/fix50/quotentrygrp/QuotEntryGrp.go @@ -10,10 +10,10 @@ import ( type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. QuoteEntryID string `fix:"299"` - //Instrument Component - instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. diff --git a/fix50/quoterequest/QuoteRequest.go b/fix50/quoterequest/QuoteRequest.go index b5037eec9..296a3a550 100644 --- a/fix50/quoterequest/QuoteRequest.go +++ b/fix50/quoterequest/QuoteRequest.go @@ -20,7 +20,7 @@ type Message struct { ClOrdID *string `fix:"11"` //OrderCapacity is a non-required field for QuoteRequest. OrderCapacity *string `fix:"528"` - //QuotReqGrp Component + //QuotReqGrp is a required component for QuoteRequest. quotreqgrp.QuotReqGrp //Text is a non-required field for QuoteRequest. Text *string `fix:"58"` @@ -34,13 +34,14 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } -func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } +func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetQuotReqGrp(v quotreqgrp.QuotReqGrp) { m.QuotReqGrp = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/quoterequestreject/QuoteRequestReject.go b/fix50/quoterequestreject/QuoteRequestReject.go index 9cf8a8511..187fc1423 100644 --- a/fix50/quoterequestreject/QuoteRequestReject.go +++ b/fix50/quoterequestreject/QuoteRequestReject.go @@ -18,7 +18,7 @@ type Message struct { RFQReqID *string `fix:"644"` //QuoteRequestRejectReason is a required field for QuoteRequestReject. QuoteRequestRejectReason int `fix:"658"` - //QuotReqRjctGrp Component + //QuotReqRjctGrp is a required component for QuoteRequestReject. quotreqrjctgrp.QuotReqRjctGrp //Text is a non-required field for QuoteRequestReject. Text *string `fix:"58"` @@ -32,12 +32,13 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } -func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } -func (m *Message) SetQuoteRequestRejectReason(v int) { m.QuoteRequestRejectReason = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } +func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } +func (m *Message) SetQuoteRequestRejectReason(v int) { m.QuoteRequestRejectReason = v } +func (m *Message) SetQuotReqRjctGrp(v quotreqrjctgrp.QuotReqRjctGrp) { m.QuotReqRjctGrp = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/quoteresponse/QuoteResponse.go b/fix50/quoteresponse/QuoteResponse.go index 834564555..1b3d41134 100644 --- a/fix50/quoteresponse/QuoteResponse.go +++ b/fix50/quoteresponse/QuoteResponse.go @@ -36,24 +36,24 @@ type Message struct { IOIID *string `fix:"23"` //QuoteType is a non-required field for QuoteResponse. QuoteType *int `fix:"537"` - //QuotQualGrp Component - quotqualgrp.QuotQualGrp - //Parties Component - parties.Parties + //QuotQualGrp is a non-required component for QuoteResponse. + QuotQualGrp *quotqualgrp.QuotQualGrp + //Parties is a non-required component for QuoteResponse. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteResponse. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteResponse. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteResponse. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for QuoteResponse. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteResponse. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for QuoteResponse. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteResponse. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteResponse. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteResponse. @@ -64,16 +64,16 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteResponse. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteResponse. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteResponse. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for QuoteResponse. AccountType *int `fix:"581"` - //LegQuotGrp Component - legquotgrp.LegQuotGrp + //LegQuotGrp is a non-required component for QuoteResponse. + LegQuotGrp *legquotgrp.LegQuotGrp //BidPx is a non-required field for QuoteResponse. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for QuoteResponse. @@ -140,10 +140,10 @@ type Message struct { Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteResponse. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteResponse. + YieldData *yielddata.YieldData //ExDestinationIDSource is a non-required field for QuoteResponse. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer @@ -152,58 +152,70 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotGrp(v legquotgrp.LegQuotGrp) { m.LegQuotGrp = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/quotestatusreport/QuoteStatusReport.go b/fix50/quotestatusreport/QuoteStatusReport.go index 85a6d162a..954c9fba3 100644 --- a/fix50/quotestatusreport/QuoteStatusReport.go +++ b/fix50/quotestatusreport/QuoteStatusReport.go @@ -32,22 +32,22 @@ type Message struct { QuoteRespID *string `fix:"693"` //QuoteType is a non-required field for QuoteStatusReport. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteStatusReport. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteStatusReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteStatusReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteStatusReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for QuoteStatusReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteStatusReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for QuoteStatusReport. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteStatusReport. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteStatusReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteStatusReport. @@ -58,28 +58,28 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteStatusReport. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteStatusReport. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteStatusReport. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusReport. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for QuoteStatusReport. AccountType *int `fix:"581"` - //LegQuotStatGrp Component - legquotstatgrp.LegQuotStatGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //LegQuotStatGrp is a non-required component for QuoteStatusReport. + LegQuotStatGrp *legquotstatgrp.LegQuotStatGrp + //QuotQualGrp is a non-required component for QuoteStatusReport. + QuotQualGrp *quotqualgrp.QuotQualGrp //ExpireTime is a non-required field for QuoteStatusReport. ExpireTime *time.Time `fix:"126"` //Price is a non-required field for QuoteStatusReport. Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteStatusReport. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteStatusReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteStatusReport. + YieldData *yielddata.YieldData //BidPx is a non-required field for QuoteStatusReport. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for QuoteStatusReport. @@ -152,58 +152,70 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotStatGrp(v legquotstatgrp.LegQuotStatGrp) { m.LegQuotStatGrp = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/quotestatusrequest/QuoteStatusRequest.go b/fix50/quotestatusrequest/QuoteStatusRequest.go index 70b05b846..249ec438b 100644 --- a/fix50/quotestatusrequest/QuoteStatusRequest.go +++ b/fix50/quotestatusrequest/QuoteStatusRequest.go @@ -20,16 +20,16 @@ type Message struct { QuoteStatusReqID *string `fix:"649"` //QuoteID is a non-required field for QuoteStatusRequest. QuoteID *string `fix:"117"` - //Instrument Component + //Instrument is a required component for QuoteStatusRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //Parties Component - parties.Parties + //FinancingDetails is a non-required component for QuoteStatusRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for QuoteStatusRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //Parties is a non-required component for QuoteStatusRequest. + Parties *parties.Parties //Account is a non-required field for QuoteStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusRequest. @@ -48,14 +48,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/quotreqgrp/QuotReqGrp.go b/fix50/quotreqgrp/QuotReqGrp.go index b7dbb22ae..4e3bbdbd4 100644 --- a/fix50/quotreqgrp/QuotReqGrp.go +++ b/fix50/quotreqgrp/QuotReqGrp.go @@ -16,12 +16,12 @@ import ( //NoRelatedSym is a repeating group in QuotReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. @@ -38,8 +38,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -50,18 +50,18 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for NoRelatedSym. AccountType *int `fix:"581"` - //QuotReqLegsGrp Component - quotreqlegsgrp.QuotReqLegsGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotReqLegsGrp is a non-required component for NoRelatedSym. + QuotReqLegsGrp *quotreqlegsgrp.QuotReqLegsGrp + //QuotQualGrp is a non-required component for NoRelatedSym. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuotePriceType is a non-required field for NoRelatedSym. QuotePriceType *int `fix:"692"` //OrdType is a non-required field for NoRelatedSym. @@ -72,18 +72,18 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties } //QuotReqGrp is a fix50 Component diff --git a/fix50/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50/quotreqlegsgrp/QuotReqLegsGrp.go index 8c0e6e692..54cb93e37 100644 --- a/fix50/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50/quotreqlegsgrp/QuotReqLegsGrp.go @@ -9,8 +9,8 @@ import ( //NoLegs is a repeating group in QuotReqLegsGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -19,12 +19,12 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` //LegOptionRatio is a non-required field for NoLegs. diff --git a/fix50/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50/quotreqrjctgrp/QuotReqRjctGrp.go index 27b824bec..72f52f835 100644 --- a/fix50/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50/quotreqrjctgrp/QuotReqRjctGrp.go @@ -16,12 +16,12 @@ import ( //NoRelatedSym is a repeating group in QuotReqRjctGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. @@ -38,8 +38,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -50,18 +50,18 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for NoRelatedSym. AccountType *int `fix:"581"` - //QuotReqLegsGrp Component - quotreqlegsgrp.QuotReqLegsGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotReqLegsGrp is a non-required component for NoRelatedSym. + QuotReqLegsGrp *quotreqlegsgrp.QuotReqLegsGrp + //QuotQualGrp is a non-required component for NoRelatedSym. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuotePriceType is a non-required field for NoRelatedSym. QuotePriceType *int `fix:"692"` //OrdType is a non-required field for NoRelatedSym. @@ -70,18 +70,18 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties } //QuotReqRjctGrp is a fix50 Component diff --git a/fix50/quotsetackgrp/QuotSetAckGrp.go b/fix50/quotsetackgrp/QuotSetAckGrp.go index 357c7f969..458a50e71 100644 --- a/fix50/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50/quotsetackgrp/QuotSetAckGrp.go @@ -9,14 +9,14 @@ import ( type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. QuoteSetID *string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoQuoteEntries is a non-required field for NoQuoteSets. TotNoQuoteEntries *int `fix:"304"` //LastFragment is a non-required field for NoQuoteSets. LastFragment *bool `fix:"893"` - //QuotEntryAckGrp Component - quotentryackgrp.QuotEntryAckGrp + //QuotEntryAckGrp is a non-required component for NoQuoteSets. + QuotEntryAckGrp *quotentryackgrp.QuotEntryAckGrp } //QuotSetAckGrp is a fix50 Component diff --git a/fix50/quotsetgrp/QuotSetGrp.go b/fix50/quotsetgrp/QuotSetGrp.go index 437e5caef..e88615483 100644 --- a/fix50/quotsetgrp/QuotSetGrp.go +++ b/fix50/quotsetgrp/QuotSetGrp.go @@ -10,15 +10,15 @@ import ( type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. QuoteSetID string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //QuoteSetValidUntilTime is a non-required field for NoQuoteSets. QuoteSetValidUntilTime *time.Time `fix:"367"` //TotNoQuoteEntries is a required field for NoQuoteSets. TotNoQuoteEntries int `fix:"304"` //LastFragment is a non-required field for NoQuoteSets. LastFragment *bool `fix:"893"` - //QuotEntryGrp Component + //QuotEntryGrp is a required component for NoQuoteSets. quotentrygrp.QuotEntryGrp } diff --git a/fix50/registrationinstructions/RegistrationInstructions.go b/fix50/registrationinstructions/RegistrationInstructions.go index fcd353d86..01b88d6e6 100644 --- a/fix50/registrationinstructions/RegistrationInstructions.go +++ b/fix50/registrationinstructions/RegistrationInstructions.go @@ -22,8 +22,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructions. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructions. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructions. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructions. @@ -34,25 +34,28 @@ type Message struct { TaxAdvantageType *int `fix:"495"` //OwnershipType is a non-required field for RegistrationInstructions. OwnershipType *string `fix:"517"` - //RgstDtlsGrp Component - rgstdtlsgrp.RgstDtlsGrp - //RgstDistInstGrp Component - rgstdistinstgrp.RgstDistInstGrp + //RgstDtlsGrp is a non-required component for RegistrationInstructions. + RgstDtlsGrp *rgstdtlsgrp.RgstDtlsGrp + //RgstDistInstGrp is a non-required component for RegistrationInstructions. + RgstDistInstGrp *rgstdistinstgrp.RgstDistInstGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetRegistID(v string) { m.RegistID = v } -func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } -func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } -func (m *Message) SetTaxAdvantageType(v int) { m.TaxAdvantageType = &v } -func (m *Message) SetOwnershipType(v string) { m.OwnershipType = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = v } +func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } +func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } +func (m *Message) SetTaxAdvantageType(v int) { m.TaxAdvantageType = &v } +func (m *Message) SetOwnershipType(v string) { m.OwnershipType = &v } +func (m *Message) SetRgstDtlsGrp(v rgstdtlsgrp.RgstDtlsGrp) { m.RgstDtlsGrp = &v } +func (m *Message) SetRgstDistInstGrp(v rgstdistinstgrp.RgstDistInstGrp) { m.RgstDistInstGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/registrationinstructionsresponse/RegistrationInstructionsResponse.go b/fix50/registrationinstructionsresponse/RegistrationInstructionsResponse.go index 26d5dbaf6..beb175f90 100644 --- a/fix50/registrationinstructionsresponse/RegistrationInstructionsResponse.go +++ b/fix50/registrationinstructionsresponse/RegistrationInstructionsResponse.go @@ -20,8 +20,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructionsResponse. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructionsResponse. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructionsResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructionsResponse. @@ -42,6 +42,7 @@ func (m *Message) SetRegistID(v string) { m.RegistID = v } func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetRegistStatus(v string) { m.RegistStatus = v } diff --git a/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go index 88d1a29f8..e1aba283c 100644 --- a/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -8,16 +8,16 @@ import ( //NoRelatedSym is a repeating group in RelSymDerivSecGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` //ExpirationCycle is a non-required field for NoRelatedSym. ExpirationCycle *int `fix:"827"` - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //TradingSessionID is a non-required field for NoRelatedSym. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for NoRelatedSym. diff --git a/fix50/requestforpositions/RequestForPositions.go b/fix50/requestforpositions/RequestForPositions.go index 07de89f6f..99a76caf9 100644 --- a/fix50/requestforpositions/RequestForPositions.go +++ b/fix50/requestforpositions/RequestForPositions.go @@ -25,7 +25,7 @@ type Message struct { MatchStatus *string `fix:"573"` //SubscriptionRequestType is a non-required field for RequestForPositions. SubscriptionRequestType *string `fix:"263"` - //Parties Component + //Parties is a required component for RequestForPositions. parties.Parties //Account is a non-required field for RequestForPositions. Account *string `fix:"1"` @@ -33,22 +33,22 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for RequestForPositions. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositions. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositions. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for RequestForPositions. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for RequestForPositions. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //ClearingBusinessDate is a required field for RequestForPositions. ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for RequestForPositions. SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for RequestForPositions. SettlSessSubID *string `fix:"717"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for RequestForPositions. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a required field for RequestForPositions. TransactTime time.Time `fix:"60"` //ResponseTransportType is a non-required field for RequestForPositions. @@ -69,24 +69,29 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosReqID(v string) { m.PosReqID = v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/requestforpositionsack/RequestForPositionsAck.go b/fix50/requestforpositionsack/RequestForPositionsAck.go index f9d462740..ee01f5a8b 100644 --- a/fix50/requestforpositionsack/RequestForPositionsAck.go +++ b/fix50/requestforpositionsack/RequestForPositionsAck.go @@ -27,7 +27,7 @@ type Message struct { PosReqResult int `fix:"728"` //PosReqStatus is a required field for RequestForPositionsAck. PosReqStatus int `fix:"729"` - //Parties Component + //Parties is a required component for RequestForPositionsAck. parties.Parties //Account is a non-required field for RequestForPositionsAck. Account *string `fix:"1"` @@ -35,14 +35,14 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for RequestForPositionsAck. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositionsAck. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositionsAck. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for RequestForPositionsAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for RequestForPositionsAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //ResponseTransportType is a non-required field for RequestForPositionsAck. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for RequestForPositionsAck. @@ -73,28 +73,32 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } -func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } +func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/rfqreqgrp/RFQReqGrp.go b/fix50/rfqreqgrp/RFQReqGrp.go index 4fcc2342f..3600f2808 100644 --- a/fix50/rfqreqgrp/RFQReqGrp.go +++ b/fix50/rfqreqgrp/RFQReqGrp.go @@ -8,12 +8,12 @@ import ( //NoRelatedSym is a repeating group in RFQReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. diff --git a/fix50/rfqrequest/RFQRequest.go b/fix50/rfqrequest/RFQRequest.go index 36dea4a3f..69d34ad83 100644 --- a/fix50/rfqrequest/RFQRequest.go +++ b/fix50/rfqrequest/RFQRequest.go @@ -14,7 +14,7 @@ type Message struct { fixt11.Header //RFQReqID is a required field for RFQRequest. RFQReqID string `fix:"644"` - //RFQReqGrp Component + //RFQReqGrp is a required component for RFQRequest. rfqreqgrp.RFQReqGrp //SubscriptionRequestType is a non-required field for RFQRequest. SubscriptionRequestType *string `fix:"263"` @@ -25,6 +25,7 @@ type Message struct { func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetRFQReqID(v string) { m.RFQReqID = v } +func (m *Message) SetRFQReqGrp(v rfqreqgrp.RFQReqGrp) { m.RFQReqGrp = v } func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message diff --git a/fix50/rgstdtlsgrp/RgstDtlsGrp.go b/fix50/rgstdtlsgrp/RgstDtlsGrp.go index 10091caff..0076d1bdb 100644 --- a/fix50/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50/rgstdtlsgrp/RgstDtlsGrp.go @@ -14,8 +14,8 @@ type NoRegistDtls struct { MailingDtls *string `fix:"474"` //MailingInst is a non-required field for NoRegistDtls. MailingInst *string `fix:"482"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoRegistDtls. + NestedParties *nestedparties.NestedParties //OwnerType is a non-required field for NoRegistDtls. OwnerType *int `fix:"522"` //DateOfBirth is a non-required field for NoRegistDtls. diff --git a/fix50/rootparties/RootParties.go b/fix50/rootparties/RootParties.go index 3f0d3c18d..8cbbed7c8 100644 --- a/fix50/rootparties/RootParties.go +++ b/fix50/rootparties/RootParties.go @@ -12,8 +12,8 @@ type NoRootPartyIDs struct { RootPartyIDSource *string `fix:"1118"` //RootPartyRole is a non-required field for NoRootPartyIDs. RootPartyRole *int `fix:"1119"` - //RootSubParties Component - rootsubparties.RootSubParties + //RootSubParties is a non-required component for NoRootPartyIDs. + RootSubParties *rootsubparties.RootSubParties } //RootParties is a fix50 Component diff --git a/fix50/seclistgrp/SecListGrp.go b/fix50/seclistgrp/SecListGrp.go index cac498ed5..57688e202 100644 --- a/fix50/seclistgrp/SecListGrp.go +++ b/fix50/seclistgrp/SecListGrp.go @@ -13,24 +13,24 @@ import ( //NoRelatedSym is a repeating group in SecListGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations - //InstrmtLegSecListGrp Component - instrmtlegseclistgrp.InstrmtLegSecListGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations + //InstrmtLegSecListGrp is a non-required component for NoRelatedSym. + InstrmtLegSecListGrp *instrmtlegseclistgrp.InstrmtLegSecListGrp + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData //RoundLot is a non-required field for NoRelatedSym. RoundLot *float64 `fix:"561"` //MinTradeVol is a non-required field for NoRelatedSym. diff --git a/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 2a145c2b8..9e4892860 100644 --- a/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -13,18 +13,18 @@ import ( //NoRelatedSym is a repeating group in SecLstUpdRelSymGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //SecLstUpdRelSymsLegGrp Component - seclstupdrelsymsleggrp.SecLstUpdRelSymsLegGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //SecLstUpdRelSymsLegGrp is a non-required component for NoRelatedSym. + SecLstUpdRelSymsLegGrp *seclstupdrelsymsleggrp.SecLstUpdRelSymsLegGrp + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData //RoundLot is a non-required field for NoRelatedSym. RoundLot *float64 `fix:"561"` //MinTradeVol is a non-required field for NoRelatedSym. @@ -41,12 +41,12 @@ type NoRelatedSym struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NoRelatedSym. EncodedText *string `fix:"355"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoRelatedSym. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations } //SecLstUpdRelSymGrp is a fix50 Component diff --git a/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index 4a826f53f..091b5d27b 100644 --- a/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -8,16 +8,16 @@ import ( //NoLegs is a repeating group in SecLstUpdRelSymsLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` //LegSettlType is a non-required field for NoLegs. LegSettlType *string `fix:"587"` - //LegStipulations Component - legstipulations.LegStipulations - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } //SecLstUpdRelSymsLegGrp is a fix50 Component diff --git a/fix50/securitydefinition/SecurityDefinition.go b/fix50/securitydefinition/SecurityDefinition.go index 78e936ed0..584fc3fa9 100644 --- a/fix50/securitydefinition/SecurityDefinition.go +++ b/fix50/securitydefinition/SecurityDefinition.go @@ -32,12 +32,12 @@ type Message struct { SecurityResponseID *string `fix:"322"` //SecurityResponseType is a non-required field for SecurityDefinition. SecurityResponseType *int `fix:"323"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinition. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinition. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityDefinition. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinition. Currency *string `fix:"15"` //TradingSessionID is a non-required field for SecurityDefinition. @@ -50,8 +50,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for SecurityDefinition. EncodedText *string `fix:"355"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for SecurityDefinition. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //ExpirationCycle is a non-required field for SecurityDefinition. ExpirationCycle *int `fix:"827"` //RoundLot is a non-required field for SecurityDefinition. @@ -68,15 +68,21 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } func (m *Message) SetRoundLot(v float64) { m.RoundLot = &v } func (m *Message) SetMinTradeVol(v float64) { m.MinTradeVol = &v } diff --git a/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go index ebd73dd33..5f74da240 100644 --- a/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix50/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -30,12 +30,12 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityRequestType is a required field for SecurityDefinitionRequest. SecurityRequestType int `fix:"321"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinitionRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinitionRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityDefinitionRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinitionRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinitionRequest. @@ -48,8 +48,8 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for SecurityDefinitionRequest. TradingSessionSubID *string `fix:"625"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for SecurityDefinitionRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //ExpirationCycle is a non-required field for SecurityDefinitionRequest. ExpirationCycle *int `fix:"827"` //SubscriptionRequestType is a non-required field for SecurityDefinitionRequest. @@ -60,15 +60,21 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } func (m *Message) SetSubscriptionRequestType(v []SubscriptionRequestType) { m.SubscriptionRequestType = v } diff --git a/fix50/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go b/fix50/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go index ec6531417..7bd925c54 100644 --- a/fix50/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go +++ b/fix50/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go @@ -28,10 +28,10 @@ type Message struct { SecurityUpdateAction *string `fix:"980"` //CorporateAction is a non-required field for SecurityDefinitionUpdateReport. CorporateAction *string `fix:"292"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for SecurityDefinitionUpdateReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for SecurityDefinitionUpdateReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Currency is a non-required field for SecurityDefinitionUpdateReport. Currency *string `fix:"15"` //TradingSessionID is a non-required field for SecurityDefinitionUpdateReport. @@ -44,8 +44,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for SecurityDefinitionUpdateReport. EncodedText *string `fix:"355"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for SecurityDefinitionUpdateReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //ExpirationCycle is a non-required field for SecurityDefinitionUpdateReport. ExpirationCycle *int `fix:"827"` //RoundLot is a non-required field for SecurityDefinitionUpdateReport. @@ -58,22 +58,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } -func (m *Message) SetRoundLot(v float64) { m.RoundLot = &v } -func (m *Message) SetMinTradeVol(v float64) { m.MinTradeVol = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *Message) SetRoundLot(v float64) { m.RoundLot = &v } +func (m *Message) SetMinTradeVol(v float64) { m.MinTradeVol = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/securitylist/SecurityList.go b/fix50/securitylist/SecurityList.go index ca29b6d7f..4e0e74f3a 100644 --- a/fix50/securitylist/SecurityList.go +++ b/fix50/securitylist/SecurityList.go @@ -22,8 +22,8 @@ type Message struct { TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for SecurityList. LastFragment *bool `fix:"893"` - //SecListGrp Component - seclistgrp.SecListGrp + //SecListGrp is a non-required component for SecurityList. + SecListGrp *seclistgrp.SecListGrp //SecurityReportID is a non-required field for SecurityList. SecurityReportID *int `fix:"964"` //ClearingBusinessDate is a non-required field for SecurityList. @@ -34,13 +34,14 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecListGrp(v seclistgrp.SecListGrp) { m.SecListGrp = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/securitylistrequest/SecurityListRequest.go b/fix50/securitylistrequest/SecurityListRequest.go index 5d63f470c..62fbaf62d 100644 --- a/fix50/securitylistrequest/SecurityListRequest.go +++ b/fix50/securitylistrequest/SecurityListRequest.go @@ -20,16 +20,16 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for SecurityListRequest. SecurityListRequestType int `fix:"559"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for SecurityListRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityListRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for SecurityListRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for SecurityListRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityListRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityListRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityListRequest. @@ -50,15 +50,22 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/securitylistupdatereport/SecurityListUpdateReport.go b/fix50/securitylistupdatereport/SecurityListUpdateReport.go index 5f3b70dba..84eb61612 100644 --- a/fix50/securitylistupdatereport/SecurityListUpdateReport.go +++ b/fix50/securitylistupdatereport/SecurityListUpdateReport.go @@ -30,8 +30,8 @@ type Message struct { CorporateAction *string `fix:"292"` //LastFragment is a non-required field for SecurityListUpdateReport. LastFragment *bool `fix:"893"` - //SecLstUpdRelSymGrp Component - seclstupdrelsymgrp.SecLstUpdRelSymGrp + //SecLstUpdRelSymGrp is a non-required component for SecurityListUpdateReport. + SecLstUpdRelSymGrp *seclstupdrelsymgrp.SecLstUpdRelSymGrp fixt11.Trailer } @@ -47,6 +47,9 @@ func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = & func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecLstUpdRelSymGrp(v seclstupdrelsymgrp.SecLstUpdRelSymGrp) { + m.SecLstUpdRelSymGrp = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/securitystatus/SecurityStatus.go b/fix50/securitystatus/SecurityStatus.go index 26d709b79..7b3bdabf0 100644 --- a/fix50/securitystatus/SecurityStatus.go +++ b/fix50/securitystatus/SecurityStatus.go @@ -18,14 +18,14 @@ type Message struct { fixt11.Header //SecurityStatusReqID is a non-required field for SecurityStatus. SecurityStatusReqID *string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatus. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityStatus. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityStatus. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityStatus. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityStatus. Currency *string `fix:"15"` //TradingSessionID is a non-required field for SecurityStatus. @@ -74,28 +74,34 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetHaltReasonChar(v string) { m.HaltReasonChar = &v } -func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } -func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } -func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } -func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } -func (m *Message) SetHighPx(v float64) { m.HighPx = &v } -func (m *Message) SetLowPx(v float64) { m.LowPx = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetFirstPx(v float64) { m.FirstPx = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetHaltReasonChar(v string) { m.HaltReasonChar = &v } +func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } +func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } +func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } +func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } +func (m *Message) SetHighPx(v float64) { m.HighPx = &v } +func (m *Message) SetLowPx(v float64) { m.LowPx = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetFirstPx(v float64) { m.FirstPx = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/securitystatusrequest/SecurityStatusRequest.go b/fix50/securitystatusrequest/SecurityStatusRequest.go index e7b3d1fe4..c366ccd96 100644 --- a/fix50/securitystatusrequest/SecurityStatusRequest.go +++ b/fix50/securitystatusrequest/SecurityStatusRequest.go @@ -17,14 +17,14 @@ type Message struct { fixt11.Header //SecurityStatusReqID is a required field for SecurityStatusRequest. SecurityStatusReqID string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatusRequest. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityStatusRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityStatusRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityStatusRequest. Currency *string `fix:"15"` //SubscriptionRequestType is a required field for SecurityStatusRequest. @@ -39,11 +39,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/securitytypes/SecurityTypes.go b/fix50/securitytypes/SecurityTypes.go index b0466ce84..f07534244 100644 --- a/fix50/securitytypes/SecurityTypes.go +++ b/fix50/securitytypes/SecurityTypes.go @@ -22,8 +22,8 @@ type Message struct { TotNoSecurityTypes *int `fix:"557"` //LastFragment is a non-required field for SecurityTypes. LastFragment *bool `fix:"893"` - //SecTypesGrp Component - sectypesgrp.SecTypesGrp + //SecTypesGrp is a non-required component for SecurityTypes. + SecTypesGrp *sectypesgrp.SecTypesGrp //Text is a non-required field for SecurityTypes. Text *string `fix:"58"` //EncodedTextLen is a non-required field for SecurityTypes. @@ -42,17 +42,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } -func (m *Message) SetTotNoSecurityTypes(v int) { m.TotNoSecurityTypes = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } +func (m *Message) SetTotNoSecurityTypes(v int) { m.TotNoSecurityTypes = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecTypesGrp(v sectypesgrp.SecTypesGrp) { m.SecTypesGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/settlementinstructionrequest/SettlementInstructionRequest.go b/fix50/settlementinstructionrequest/SettlementInstructionRequest.go index bf941bb94..94de05bc1 100644 --- a/fix50/settlementinstructionrequest/SettlementInstructionRequest.go +++ b/fix50/settlementinstructionrequest/SettlementInstructionRequest.go @@ -17,8 +17,8 @@ type Message struct { SettlInstReqID string `fix:"791"` //TransactTime is a required field for SettlementInstructionRequest. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for SettlementInstructionRequest. + Parties *parties.Parties //AllocAccount is a non-required field for SettlementInstructionRequest. AllocAccount *string `fix:"79"` //AllocAcctIDSource is a non-required field for SettlementInstructionRequest. @@ -53,6 +53,7 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *Message) SetSide(v string) { m.Side = &v } diff --git a/fix50/settlementinstructions/SettlementInstructions.go b/fix50/settlementinstructions/SettlementInstructions.go index 803239379..2b42b540e 100644 --- a/fix50/settlementinstructions/SettlementInstructions.go +++ b/fix50/settlementinstructions/SettlementInstructions.go @@ -31,23 +31,24 @@ type Message struct { ClOrdID *string `fix:"11"` //TransactTime is a required field for SettlementInstructions. TransactTime time.Time `fix:"60"` - //SettlInstGrp Component - settlinstgrp.SettlInstGrp + //SettlInstGrp is a non-required component for SettlementInstructions. + SettlInstGrp *settlinstgrp.SettlInstGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSettlInstMsgID(v string) { m.SettlInstMsgID = v } -func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = &v } -func (m *Message) SetSettlInstMode(v string) { m.SettlInstMode = v } -func (m *Message) SetSettlInstReqRejCode(v int) { m.SettlInstReqRejCode = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetSettlInstMsgID(v string) { m.SettlInstMsgID = v } +func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = &v } +func (m *Message) SetSettlInstMode(v string) { m.SettlInstMode = v } +func (m *Message) SetSettlInstReqRejCode(v int) { m.SettlInstReqRejCode = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetSettlInstGrp(v settlinstgrp.SettlInstGrp) { m.SettlInstGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/settlinstgrp/SettlInstGrp.go b/fix50/settlinstgrp/SettlInstGrp.go index 59b5dc7e4..455215f9b 100644 --- a/fix50/settlinstgrp/SettlInstGrp.go +++ b/fix50/settlinstgrp/SettlInstGrp.go @@ -14,8 +14,8 @@ type NoSettlInst struct { SettlInstTransType *string `fix:"163"` //SettlInstRefID is a non-required field for NoSettlInst. SettlInstRefID *string `fix:"214"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSettlInst. + Parties *parties.Parties //Side is a non-required field for NoSettlInst. Side *string `fix:"54"` //Product is a non-required field for NoSettlInst. @@ -30,8 +30,8 @@ type NoSettlInst struct { ExpireTime *time.Time `fix:"126"` //LastUpdateTime is a non-required field for NoSettlInst. LastUpdateTime *time.Time `fix:"779"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoSettlInst. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //PaymentMethod is a non-required field for NoSettlInst. PaymentMethod *int `fix:"492"` //PaymentRef is a non-required field for NoSettlInst. diff --git a/fix50/settlinstructionsdata/SettlInstructionsData.go b/fix50/settlinstructionsdata/SettlInstructionsData.go index 0b3b41e40..a3d0f713b 100644 --- a/fix50/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50/settlinstructionsdata/SettlInstructionsData.go @@ -14,11 +14,12 @@ type SettlInstructionsData struct { StandInstDbName *string `fix:"170"` //StandInstDbID is a non-required field for SettlInstructionsData. StandInstDbID *string `fix:"171"` - //DlvyInstGrp Component - dlvyinstgrp.DlvyInstGrp + //DlvyInstGrp is a non-required component for SettlInstructionsData. + DlvyInstGrp *dlvyinstgrp.DlvyInstGrp } -func (m *SettlInstructionsData) SetSettlDeliveryType(v int) { m.SettlDeliveryType = &v } -func (m *SettlInstructionsData) SetStandInstDbType(v int) { m.StandInstDbType = &v } -func (m *SettlInstructionsData) SetStandInstDbName(v string) { m.StandInstDbName = &v } -func (m *SettlInstructionsData) SetStandInstDbID(v string) { m.StandInstDbID = &v } +func (m *SettlInstructionsData) SetSettlDeliveryType(v int) { m.SettlDeliveryType = &v } +func (m *SettlInstructionsData) SetStandInstDbType(v int) { m.StandInstDbType = &v } +func (m *SettlInstructionsData) SetStandInstDbName(v string) { m.StandInstDbName = &v } +func (m *SettlInstructionsData) SetStandInstDbID(v string) { m.StandInstDbID = &v } +func (m *SettlInstructionsData) SetDlvyInstGrp(v dlvyinstgrp.DlvyInstGrp) { m.DlvyInstGrp = &v } diff --git a/fix50/settlparties/SettlParties.go b/fix50/settlparties/SettlParties.go index c72667ec6..cb8b7a049 100644 --- a/fix50/settlparties/SettlParties.go +++ b/fix50/settlparties/SettlParties.go @@ -12,8 +12,8 @@ type NoSettlPartyIDs struct { SettlPartyIDSource *string `fix:"783"` //SettlPartyRole is a non-required field for NoSettlPartyIDs. SettlPartyRole *int `fix:"784"` - //SettlPtysSubGrp Component - settlptyssubgrp.SettlPtysSubGrp + //SettlPtysSubGrp is a non-required component for NoSettlPartyIDs. + SettlPtysSubGrp *settlptyssubgrp.SettlPtysSubGrp } //SettlParties is a fix50 Component diff --git a/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index 4f04b3ac4..24e1b2f4f 100644 --- a/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -20,13 +20,13 @@ type NoSides struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for NoSides. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. TradeDate *string `fix:"75"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData //ComplianceID is a non-required field for NoSides. ComplianceID *string `fix:"376"` diff --git a/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go index 3532d295a..b162fd0e7 100644 --- a/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -18,8 +18,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NoSides. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. @@ -38,14 +38,14 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NoSides. + PreAllocGrp *preallocgrp.PreAllocGrp //QtyType is a non-required field for NoSides. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoSides. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoSides. diff --git a/fix50/tradecapturereport/TradeCaptureReport.go b/fix50/tradecapturereport/TradeCaptureReport.go index b1594a598..e126f5401 100644 --- a/fix50/tradecapturereport/TradeCaptureReport.go +++ b/fix50/tradecapturereport/TradeCaptureReport.go @@ -71,18 +71,18 @@ type Message struct { PreviouslyReported *bool `fix:"570"` //PriceType is a non-required field for TradeCaptureReport. PriceType *int `fix:"423"` - //Instrument Component + //Instrument is a required component for TradeCaptureReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //OrderQtyData Component - orderqtydata.OrderQtyData + //FinancingDetails is a non-required component for TradeCaptureReport. + FinancingDetails *financingdetails.FinancingDetails + //OrderQtyData is a non-required component for TradeCaptureReport. + OrderQtyData *orderqtydata.OrderQtyData //QtyType is a non-required field for TradeCaptureReport. QtyType *int `fix:"854"` - //YieldData Component - yielddata.YieldData - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //YieldData is a non-required component for TradeCaptureReport. + YieldData *yielddata.YieldData + //UndInstrmtGrp is a non-required component for TradeCaptureReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //UnderlyingTradingSessionID is a non-required field for TradeCaptureReport. UnderlyingTradingSessionID *string `fix:"822"` //UnderlyingTradingSessionSubID is a non-required field for TradeCaptureReport. @@ -105,22 +105,22 @@ type Message struct { ClearingBusinessDate *string `fix:"715"` //AvgPx is a non-required field for TradeCaptureReport. AvgPx *float64 `fix:"6"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for TradeCaptureReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //AvgPxIndicator is a non-required field for TradeCaptureReport. AvgPxIndicator *int `fix:"819"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for TradeCaptureReport. + PositionAmountData *positionamountdata.PositionAmountData //MultiLegReportingType is a non-required field for TradeCaptureReport. MultiLegReportingType *string `fix:"442"` //TradeLegRefID is a non-required field for TradeCaptureReport. TradeLegRefID *string `fix:"824"` - //TrdInstrmtLegGrp Component - trdinstrmtleggrp.TrdInstrmtLegGrp + //TrdInstrmtLegGrp is a non-required component for TradeCaptureReport. + TrdInstrmtLegGrp *trdinstrmtleggrp.TrdInstrmtLegGrp //TransactTime is a non-required field for TradeCaptureReport. TransactTime *time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //SettlType is a non-required field for TradeCaptureReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for TradeCaptureReport. @@ -129,7 +129,7 @@ type Message struct { MatchStatus *string `fix:"573"` //MatchType is a non-required field for TradeCaptureReport. MatchType *string `fix:"574"` - //TrdCapRptSideGrp Component + //TrdCapRptSideGrp is a required component for TradeCaptureReport. trdcaprptsidegrp.TrdCapRptSideGrp //CopyMsgIndicator is a non-required field for TradeCaptureReport. CopyMsgIndicator *bool `fix:"797"` @@ -169,8 +169,8 @@ type Message struct { UnderlyingSettlementDate *string `fix:"987"` //GrossTradeAmt is a non-required field for TradeCaptureReport. GrossTradeAmt *float64 `fix:"381"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for TradeCaptureReport. + RootParties *rootparties.RootParties //OrderCategory is a non-required field for TradeCaptureReport. OrderCategory *string `fix:"1115"` //TradeHandlingInstr is a non-required field for TradeCaptureReport. @@ -193,77 +193,92 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } -func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = v } -func (m *Message) SetLastPx(v float64) { m.LastPx = v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } -func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } -func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } -func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTierCode(v string) { m.TierCode = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } -func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } -func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } -func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } -func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } -func (m *Message) SetTZTransactTime(v string) { m.TZTransactTime = &v } -func (m *Message) SetReportedPxDiff(v bool) { m.ReportedPxDiff = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } +func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = v } +func (m *Message) SetLastPx(v float64) { m.LastPx = v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } +func (m *Message) SetTrdInstrmtLegGrp(v trdinstrmtleggrp.TrdInstrmtLegGrp) { m.TrdInstrmtLegGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetTrdCapRptSideGrp(v trdcaprptsidegrp.TrdCapRptSideGrp) { m.TrdCapRptSideGrp = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } +func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } +func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } +func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetTierCode(v string) { m.TierCode = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } +func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } +func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } +func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } +func (m *Message) SetTZTransactTime(v string) { m.TZTransactTime = &v } +func (m *Message) SetReportedPxDiff(v bool) { m.ReportedPxDiff = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/tradecapturereportack/TradeCaptureReportAck.go b/fix50/tradecapturereportack/TradeCaptureReportAck.go index fb1aac221..7a85cb3b5 100644 --- a/fix50/tradecapturereportack/TradeCaptureReportAck.go +++ b/fix50/tradecapturereportack/TradeCaptureReportAck.go @@ -55,12 +55,12 @@ type Message struct { ExecID *string `fix:"17"` //SecondaryExecID is a non-required field for TradeCaptureReportAck. SecondaryExecID *string `fix:"527"` - //Instrument Component + //Instrument is a required component for TradeCaptureReportAck. instrument.Instrument //TransactTime is a non-required field for TradeCaptureReportAck. TransactTime *time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReportAck. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //ResponseTransportType is a non-required field for TradeCaptureReportAck. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for TradeCaptureReportAck. @@ -71,8 +71,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for TradeCaptureReportAck. EncodedText *string `fix:"355"` - //TrdInstrmtLegGrp Component - trdinstrmtleggrp.TrdInstrmtLegGrp + //TrdInstrmtLegGrp is a non-required component for TradeCaptureReportAck. + TrdInstrmtLegGrp *trdinstrmtleggrp.TrdInstrmtLegGrp //ClearingFeeIndicator is a non-required field for TradeCaptureReportAck. ClearingFeeIndicator *string `fix:"635"` //OrdStatus is a non-required field for TradeCaptureReportAck. @@ -131,8 +131,8 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for TradeCaptureReportAck. SettlSessSubID *string `fix:"717"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for TradeCaptureReportAck. + PositionAmountData *positionamountdata.PositionAmountData //TierCode is a non-required field for TradeCaptureReportAck. TierCode *string `fix:"994"` //MessageEventSource is a non-required field for TradeCaptureReportAck. @@ -141,8 +141,8 @@ type Message struct { LastUpdateTime *time.Time `fix:"779"` //RndPx is a non-required field for TradeCaptureReportAck. RndPx *float64 `fix:"991"` - //TrdCapRptAckSideGrp Component - trdcaprptacksidegrp.TrdCapRptAckSideGrp + //TrdCapRptAckSideGrp is a non-required component for TradeCaptureReportAck. + TrdCapRptAckSideGrp *trdcaprptacksidegrp.TrdCapRptAckSideGrp //AsOfIndicator is a non-required field for TradeCaptureReportAck. AsOfIndicator *string `fix:"1015"` //TradeID is a non-required field for TradeCaptureReportAck. @@ -159,8 +159,8 @@ type Message struct { LastSwapPoints *float64 `fix:"1071"` //GrossTradeAmt is a non-required field for TradeCaptureReportAck. GrossTradeAmt *float64 `fix:"381"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for TradeCaptureReportAck. + RootParties *rootparties.RootParties //TradeHandlingInstr is a non-required field for TradeCaptureReportAck. TradeHandlingInstr *string `fix:"1123"` //OrigTradeHandlingInstr is a non-required field for TradeCaptureReportAck. @@ -171,8 +171,8 @@ type Message struct { OrigTradeID *string `fix:"1126"` //OrigSecondaryTradeID is a non-required field for TradeCaptureReportAck. OrigSecondaryTradeID *string `fix:"1127"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for TradeCaptureReportAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //RptSys is a non-required field for TradeCaptureReportAck. RptSys *string `fix:"1135"` fixt11.Trailer @@ -181,77 +181,88 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } -func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } -func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTierCode(v string) { m.TierCode = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } -func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } -func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } -func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } -func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } -func (m *Message) SetRptSys(v string) { m.RptSys = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } +func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTrdInstrmtLegGrp(v trdinstrmtleggrp.TrdInstrmtLegGrp) { m.TrdInstrmtLegGrp = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } +func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetTierCode(v string) { m.TierCode = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetTrdCapRptAckSideGrp(v trdcaprptacksidegrp.TrdCapRptAckSideGrp) { + m.TrdCapRptAckSideGrp = &v +} +func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } +func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } +func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } +func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetRptSys(v string) { m.RptSys = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/tradecapturereportrequest/TradeCaptureReportRequest.go b/fix50/tradecapturereportrequest/TradeCaptureReportRequest.go index 9b86ad0a3..536a0ca7b 100644 --- a/fix50/tradecapturereportrequest/TradeCaptureReportRequest.go +++ b/fix50/tradecapturereportrequest/TradeCaptureReportRequest.go @@ -50,20 +50,20 @@ type Message struct { TradeLinkID *string `fix:"820"` //TrdMatchID is a non-required field for TradeCaptureReportRequest. TrdMatchID *string `fix:"880"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //TrdCapDtGrp Component - trdcapdtgrp.TrdCapDtGrp + //Parties is a non-required component for TradeCaptureReportRequest. + Parties *parties.Parties + //Instrument is a non-required component for TradeCaptureReportRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for TradeCaptureReportRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for TradeCaptureReportRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for TradeCaptureReportRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for TradeCaptureReportRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //TrdCapDtGrp is a non-required component for TradeCaptureReportRequest. + TrdCapDtGrp *trdcapdtgrp.TrdCapDtGrp //ClearingBusinessDate is a non-required field for TradeCaptureReportRequest. ClearingBusinessDate *string `fix:"715"` //TradingSessionID is a non-required field for TradeCaptureReportRequest. @@ -108,41 +108,50 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetTrdCapDtGrp(v trdcapdtgrp.TrdCapDtGrp) { m.TrdCapDtGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/tradecapturereportrequestack/TradeCaptureReportRequestAck.go b/fix50/tradecapturereportrequestack/TradeCaptureReportRequestAck.go index 8aa699639..3f3744530 100644 --- a/fix50/tradecapturereportrequestack/TradeCaptureReportRequestAck.go +++ b/fix50/tradecapturereportrequestack/TradeCaptureReportRequestAck.go @@ -26,12 +26,12 @@ type Message struct { TradeRequestResult int `fix:"749"` //TradeRequestStatus is a required field for TradeCaptureReportRequestAck. TradeRequestStatus int `fix:"750"` - //Instrument Component + //Instrument is a required component for TradeCaptureReportRequestAck. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for TradeCaptureReportRequestAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for TradeCaptureReportRequestAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //MultiLegReportingType is a non-required field for TradeCaptureReportRequestAck. MultiLegReportingType *string `fix:"442"` //ResponseTransportType is a non-required field for TradeCaptureReportRequestAck. @@ -60,23 +60,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } -func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } +func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/tradingsessionlist/TradingSessionList.go b/fix50/tradingsessionlist/TradingSessionList.go index 261ceb2d1..c1fda5aed 100644 --- a/fix50/tradingsessionlist/TradingSessionList.go +++ b/fix50/tradingsessionlist/TradingSessionList.go @@ -14,7 +14,7 @@ type Message struct { fixt11.Header //TradSesReqID is a non-required field for TradingSessionList. TradSesReqID *string `fix:"335"` - //TrdSessLstGrp Component + //TrdSessLstGrp is a required component for TradingSessionList. trdsesslstgrp.TrdSessLstGrp fixt11.Trailer } @@ -22,7 +22,8 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTrdSessLstGrp(v trdsesslstgrp.TrdSessLstGrp) { m.TrdSessLstGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/tradingsessionstatus/TradingSessionStatus.go b/fix50/tradingsessionstatus/TradingSessionStatus.go index 2d0f00ace..f0e476330 100644 --- a/fix50/tradingsessionstatus/TradingSessionStatus.go +++ b/fix50/tradingsessionstatus/TradingSessionStatus.go @@ -47,31 +47,32 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for TradingSessionStatus. EncodedText *string `fix:"355"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for TradingSessionStatus. + Instrument *instrument.Instrument fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTradSesMethod(v int) { m.TradSesMethod = &v } -func (m *Message) SetTradSesMode(v int) { m.TradSesMode = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetTradSesStatus(v int) { m.TradSesStatus = v } -func (m *Message) SetTradSesStatusRejReason(v int) { m.TradSesStatusRejReason = &v } -func (m *Message) SetTradSesStartTime(v time.Time) { m.TradSesStartTime = &v } -func (m *Message) SetTradSesOpenTime(v time.Time) { m.TradSesOpenTime = &v } -func (m *Message) SetTradSesPreCloseTime(v time.Time) { m.TradSesPreCloseTime = &v } -func (m *Message) SetTradSesCloseTime(v time.Time) { m.TradSesCloseTime = &v } -func (m *Message) SetTradSesEndTime(v time.Time) { m.TradSesEndTime = &v } -func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTradSesMethod(v int) { m.TradSesMethod = &v } +func (m *Message) SetTradSesMode(v int) { m.TradSesMode = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetTradSesStatus(v int) { m.TradSesStatus = v } +func (m *Message) SetTradSesStatusRejReason(v int) { m.TradSesStatusRejReason = &v } +func (m *Message) SetTradSesStartTime(v time.Time) { m.TradSesStartTime = &v } +func (m *Message) SetTradSesOpenTime(v time.Time) { m.TradSesOpenTime = &v } +func (m *Message) SetTradSesPreCloseTime(v time.Time) { m.TradSesPreCloseTime = &v } +func (m *Message) SetTradSesCloseTime(v time.Time) { m.TradSesCloseTime = &v } +func (m *Message) SetTradSesEndTime(v time.Time) { m.TradSesEndTime = &v } +func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50/trdallocgrp/TrdAllocGrp.go b/fix50/trdallocgrp/TrdAllocGrp.go index a53556a27..4c126e195 100644 --- a/fix50/trdallocgrp/TrdAllocGrp.go +++ b/fix50/trdallocgrp/TrdAllocGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoAllocs. + NestedParties2 *nestedparties2.NestedParties2 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` //AllocCustomerCapacity is a non-required field for NoAllocs. diff --git a/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index 057f71653..bf2c23060 100644 --- a/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -26,8 +26,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoSides. ListID *string `fix:"66"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoSides. @@ -38,8 +38,8 @@ type NoSides struct { ProcessCode *string `fix:"81"` //OddLot is a non-required field for NoSides. OddLot *bool `fix:"575"` - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //ClrInstGrp is a non-required component for NoSides. + ClrInstGrp *clrinstgrp.ClrInstGrp //TradeInputSource is a non-required field for NoSides. TradeInputSource *string `fix:"578"` //TradeInputDevice is a non-required field for NoSides. @@ -70,8 +70,8 @@ type NoSides struct { TradingSessionSubID *string `fix:"625"` //TimeBracket is a non-required field for NoSides. TimeBracket *string `fix:"943"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //NumDaysInterest is a non-required field for NoSides. NumDaysInterest *int `fix:"157"` //ExDate is a non-required field for NoSides. @@ -106,12 +106,12 @@ type NoSides struct { PositionEffect *string `fix:"77"` //SideMultiLegReportingType is a non-required field for NoSides. SideMultiLegReportingType *int `fix:"752"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //ContAmtGrp is a non-required component for NoSides. + ContAmtGrp *contamtgrp.ContAmtGrp + //Stipulations is a non-required component for NoSides. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for NoSides. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //ExchangeRule is a non-required field for NoSides. ExchangeRule *string `fix:"825"` //TradeAllocIndicator is a non-required field for NoSides. @@ -120,8 +120,8 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //TrdAllocGrp Component - trdallocgrp.TrdAllocGrp + //TrdAllocGrp is a non-required component for NoSides. + TrdAllocGrp *trdallocgrp.TrdAllocGrp //LotType is a non-required field for NoSides. LotType *string `fix:"1093"` //SideGrossTradeAmt is a non-required field for NoSides. @@ -140,8 +140,8 @@ type NoSides struct { RptSeq *int `fix:"83"` //SideTrdSubTyp is a non-required field for NoSides. SideTrdSubTyp *int `fix:"1008"` - //SideTrdRegTS Component - sidetrdregts.SideTrdRegTS + //SideTrdRegTS is a non-required component for NoSides. + SideTrdRegTS *sidetrdregts.SideTrdRegTS } //TrdCapRptAckSideGrp is a fix50 Component diff --git a/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go index 7551ea511..541e65457 100644 --- a/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -26,8 +26,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoSides. ListID *string `fix:"66"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoSides. @@ -38,8 +38,8 @@ type NoSides struct { ProcessCode *string `fix:"81"` //OddLot is a non-required field for NoSides. OddLot *bool `fix:"575"` - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //ClrInstGrp is a non-required component for NoSides. + ClrInstGrp *clrinstgrp.ClrInstGrp //TradeInputSource is a non-required field for NoSides. TradeInputSource *string `fix:"578"` //TradeInputDevice is a non-required field for NoSides. @@ -70,8 +70,8 @@ type NoSides struct { TradingSessionSubID *string `fix:"625"` //TimeBracket is a non-required field for NoSides. TimeBracket *string `fix:"943"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //NumDaysInterest is a non-required field for NoSides. NumDaysInterest *int `fix:"157"` //ExDate is a non-required field for NoSides. @@ -112,12 +112,12 @@ type NoSides struct { EncodedText *string `fix:"355"` //SideMultiLegReportingType is a non-required field for NoSides. SideMultiLegReportingType *int `fix:"752"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //ContAmtGrp is a non-required component for NoSides. + ContAmtGrp *contamtgrp.ContAmtGrp + //Stipulations is a non-required component for NoSides. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for NoSides. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //ExchangeRule is a non-required field for NoSides. ExchangeRule *string `fix:"825"` //TradeAllocIndicator is a non-required field for NoSides. @@ -126,8 +126,8 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //TrdAllocGrp Component - trdallocgrp.TrdAllocGrp + //TrdAllocGrp is a non-required component for NoSides. + TrdAllocGrp *trdallocgrp.TrdAllocGrp //SideQty is a non-required field for NoSides. SideQty *int `fix:"1009"` //SideTradeReportID is a non-required field for NoSides. @@ -140,8 +140,8 @@ type NoSides struct { RptSeq *int `fix:"83"` //SideTrdSubTyp is a non-required field for NoSides. SideTrdSubTyp *int `fix:"1008"` - //SideTrdRegTS Component - sidetrdregts.SideTrdRegTS + //SideTrdRegTS is a non-required component for NoSides. + SideTrdRegTS *sidetrdregts.SideTrdRegTS //ExecRefID is a non-required field for NoSides. ExecRefID *string `fix:"19"` //LotType is a non-required field for NoSides. diff --git a/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go index eae532b88..49f9dda2f 100644 --- a/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -8,20 +8,20 @@ import ( //NoLegs is a repeating group in TrdInstrmtLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegPrice is a non-required field for NoLegs. diff --git a/fix50/underlyinginstrument/UnderlyingInstrument.go b/fix50/underlyinginstrument/UnderlyingInstrument.go index 35b195c38..9401f6a48 100644 --- a/fix50/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50/underlyinginstrument/UnderlyingInstrument.go @@ -16,8 +16,8 @@ type UnderlyingInstrument struct { UnderlyingSecurityID *string `fix:"309"` //UnderlyingSecurityIDSource is a non-required field for UnderlyingInstrument. UnderlyingSecurityIDSource *string `fix:"305"` - //UndSecAltIDGrp Component - undsecaltidgrp.UndSecAltIDGrp + //UndSecAltIDGrp is a non-required component for UnderlyingInstrument. + UndSecAltIDGrp *undsecaltidgrp.UndSecAltIDGrp //UnderlyingProduct is a non-required field for UnderlyingInstrument. UnderlyingProduct *int `fix:"462"` //UnderlyingCFICode is a non-required field for UnderlyingInstrument. @@ -98,8 +98,8 @@ type UnderlyingInstrument struct { UnderlyingCurrentValue *float64 `fix:"885"` //UnderlyingEndValue is a non-required field for UnderlyingInstrument. UnderlyingEndValue *float64 `fix:"886"` - //UnderlyingStipulations Component - underlyingstipulations.UnderlyingStipulations + //UnderlyingStipulations is a non-required component for UnderlyingInstrument. + UnderlyingStipulations *underlyingstipulations.UnderlyingStipulations //UnderlyingAllocationPercent is a non-required field for UnderlyingInstrument. UnderlyingAllocationPercent *float64 `fix:"972"` //UnderlyingSettlementType is a non-required field for UnderlyingInstrument. @@ -114,8 +114,8 @@ type UnderlyingInstrument struct { UnderlyingTimeUnit *string `fix:"1000"` //UnderlyingCapValue is a non-required field for UnderlyingInstrument. UnderlyingCapValue *float64 `fix:"1038"` - //UndlyInstrumentParties Component - undlyinstrumentparties.UndlyInstrumentParties + //UndlyInstrumentParties is a non-required component for UnderlyingInstrument. + UndlyInstrumentParties *undlyinstrumentparties.UndlyInstrumentParties //UnderlyingSettlMethod is a non-required field for UnderlyingInstrument. UnderlyingSettlMethod *string `fix:"1039"` //UnderlyingAdjustedQuantity is a non-required field for UnderlyingInstrument. @@ -132,6 +132,9 @@ func (m *UnderlyingInstrument) SetUnderlyingSecurityID(v string) { m.UnderlyingS func (m *UnderlyingInstrument) SetUnderlyingSecurityIDSource(v string) { m.UnderlyingSecurityIDSource = &v } +func (m *UnderlyingInstrument) SetUndSecAltIDGrp(v undsecaltidgrp.UndSecAltIDGrp) { + m.UndSecAltIDGrp = &v +} func (m *UnderlyingInstrument) SetUnderlyingProduct(v int) { m.UnderlyingProduct = &v } func (m *UnderlyingInstrument) SetUnderlyingCFICode(v string) { m.UnderlyingCFICode = &v } func (m *UnderlyingInstrument) SetUnderlyingSecurityType(v string) { m.UnderlyingSecurityType = &v } @@ -190,6 +193,9 @@ func (m *UnderlyingInstrument) SetUnderlyingEndPrice(v float64) { m.Underlyi func (m *UnderlyingInstrument) SetUnderlyingStartValue(v float64) { m.UnderlyingStartValue = &v } func (m *UnderlyingInstrument) SetUnderlyingCurrentValue(v float64) { m.UnderlyingCurrentValue = &v } func (m *UnderlyingInstrument) SetUnderlyingEndValue(v float64) { m.UnderlyingEndValue = &v } +func (m *UnderlyingInstrument) SetUnderlyingStipulations(v underlyingstipulations.UnderlyingStipulations) { + m.UnderlyingStipulations = &v +} func (m *UnderlyingInstrument) SetUnderlyingAllocationPercent(v float64) { m.UnderlyingAllocationPercent = &v } @@ -199,7 +205,10 @@ func (m *UnderlyingInstrument) SetUnderlyingCashType(v string) { m.Underlyi func (m *UnderlyingInstrument) SetUnderlyingUnitOfMeasure(v string) { m.UnderlyingUnitOfMeasure = &v } func (m *UnderlyingInstrument) SetUnderlyingTimeUnit(v string) { m.UnderlyingTimeUnit = &v } func (m *UnderlyingInstrument) SetUnderlyingCapValue(v float64) { m.UnderlyingCapValue = &v } -func (m *UnderlyingInstrument) SetUnderlyingSettlMethod(v string) { m.UnderlyingSettlMethod = &v } +func (m *UnderlyingInstrument) SetUndlyInstrumentParties(v undlyinstrumentparties.UndlyInstrumentParties) { + m.UndlyInstrumentParties = &v +} +func (m *UnderlyingInstrument) SetUnderlyingSettlMethod(v string) { m.UnderlyingSettlMethod = &v } func (m *UnderlyingInstrument) SetUnderlyingAdjustedQuantity(v float64) { m.UnderlyingAdjustedQuantity = &v } diff --git a/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go index ca26d2a61..69afd9461 100644 --- a/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -6,8 +6,8 @@ import ( //NoUnderlyings is a repeating group in UndInstrmtCollGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //CollAction is a non-required field for NoUnderlyings. CollAction *int `fix:"944"` } diff --git a/fix50/undinstrmtgrp/UndInstrmtGrp.go b/fix50/undinstrmtgrp/UndInstrmtGrp.go index 174ec9fe3..d6ff0f529 100644 --- a/fix50/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50/undinstrmtgrp/UndInstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoUnderlyings is a repeating group in UndInstrmtGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } //UndInstrmtGrp is a fix50 Component diff --git a/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go b/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go index 910173a84..0853e9b3c 100644 --- a/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go +++ b/fix50/undinstrmtstrkpxgrp/UndInstrmtStrkPxGrp.go @@ -6,8 +6,8 @@ import ( //NoUnderlyings is a repeating group in UndInstrmtStrkPxGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //PrevClosePx is a non-required field for NoUnderlyings. PrevClosePx *float64 `fix:"140"` //ClOrdID is a non-required field for NoUnderlyings. diff --git a/fix50/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50/undlyinstrumentparties/UndlyInstrumentParties.go index e293f66a9..b227f5e7d 100644 --- a/fix50/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50/undlyinstrumentparties/UndlyInstrumentParties.go @@ -12,8 +12,8 @@ type NoUndlyInstrumentParties struct { UndlyInstrumentPartyIDSource *string `fix:"1060"` //UndlyInstrumentPartyRole is a non-required field for NoUndlyInstrumentParties. UndlyInstrumentPartyRole *int `fix:"1061"` - //UndlyInstrumentPtysSubGrp Component - undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp + //UndlyInstrumentPtysSubGrp is a non-required component for NoUndlyInstrumentParties. + UndlyInstrumentPtysSubGrp *undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp } //UndlyInstrumentParties is a fix50 Component diff --git a/fix50sp1/adjustedpositionreport/AdjustedPositionReport.go b/fix50sp1/adjustedpositionreport/AdjustedPositionReport.go index a50bc353b..ecea83ade 100644 --- a/fix50sp1/adjustedpositionreport/AdjustedPositionReport.go +++ b/fix50sp1/adjustedpositionreport/AdjustedPositionReport.go @@ -22,12 +22,12 @@ type Message struct { ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for AdjustedPositionReport. SettlSessID *string `fix:"716"` - //Parties Component + //Parties is a required component for AdjustedPositionReport. parties.Parties - //PositionQty Component + //PositionQty is a required component for AdjustedPositionReport. positionqty.PositionQty - //InstrmtGrp Component - instrmtgrp.InstrmtGrp + //InstrmtGrp is a non-required component for AdjustedPositionReport. + InstrmtGrp *instrmtgrp.InstrmtGrp //SettlPrice is a non-required field for AdjustedPositionReport. SettlPrice *float64 `fix:"730"` //PriorSettlPrice is a non-required field for AdjustedPositionReport. @@ -40,13 +40,16 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } -func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } -func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } +func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } +func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/advertisement/Advertisement.go b/fix50sp1/advertisement/Advertisement.go index f87908d09..ca1b75a37 100644 --- a/fix50sp1/advertisement/Advertisement.go +++ b/fix50sp1/advertisement/Advertisement.go @@ -21,12 +21,12 @@ type Message struct { AdvTransType string `fix:"5"` //AdvRefID is a non-required field for Advertisement. AdvRefID *string `fix:"3"` - //Instrument Component + //Instrument is a required component for Advertisement. instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for Advertisement. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for Advertisement. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //AdvSide is a required field for Advertisement. AdvSide string `fix:"4"` //Quantity is a required field for Advertisement. @@ -61,23 +61,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAdvId(v string) { m.AdvId = v } -func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } -func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } -func (m *Message) SetAdvSide(v string) { m.AdvSide = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetAdvId(v string) { m.AdvId = v } +func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } +func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetAdvSide(v string) { m.AdvSide = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/allocackgrp/AllocAckGrp.go b/fix50sp1/allocackgrp/AllocAckGrp.go index 85f846a39..407f46eac 100644 --- a/fix50sp1/allocackgrp/AllocAckGrp.go +++ b/fix50sp1/allocackgrp/AllocAckGrp.go @@ -30,8 +30,8 @@ type NoAllocs struct { IndividualAllocType *int `fix:"992"` //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocPositionEffect is a non-required field for NoAllocs. AllocPositionEffect *string `fix:"1047"` } diff --git a/fix50sp1/allocationinstruction/AllocationInstruction.go b/fix50sp1/allocationinstruction/AllocationInstruction.go index 8f8664674..57f79c473 100644 --- a/fix50sp1/allocationinstruction/AllocationInstruction.go +++ b/fix50sp1/allocationinstruction/AllocationInstruction.go @@ -47,10 +47,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationInstruction. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationInstruction. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationInstruction. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationInstruction. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationInstruction. @@ -59,16 +59,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationInstruction. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationInstruction. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationInstruction. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationInstruction. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationInstruction. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationInstruction. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationInstruction. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationInstruction. @@ -87,14 +87,14 @@ type Message struct { AvgPx *float64 `fix:"6"` //AvgParPx is a non-required field for AllocationInstruction. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationInstruction. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationInstruction. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationInstruction. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstruction. + Parties *parties.Parties //TradeDate is a required field for AllocationInstruction. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationInstruction. @@ -141,18 +141,18 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationInstruction. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationInstruction. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationInstruction. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationInstruction. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationInstruction. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp - //PositionAmountData Component - positionamountdata.PositionAmountData + //AllocGrp is a non-required component for AllocationInstruction. + AllocGrp *allocgrp.AllocGrp + //PositionAmountData is a non-required component for AllocationInstruction. + PositionAmountData *positionamountdata.PositionAmountData //AvgPxIndicator is a non-required field for AllocationInstruction. AvgPxIndicator *int `fix:"819"` //ClearingBusinessDate is a non-required field for AllocationInstruction. @@ -177,66 +177,85 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/allocationinstructionack/AllocationInstructionAck.go b/fix50sp1/allocationinstructionack/AllocationInstructionAck.go index 858a17c6a..1c2739433 100644 --- a/fix50sp1/allocationinstructionack/AllocationInstructionAck.go +++ b/fix50sp1/allocationinstructionack/AllocationInstructionAck.go @@ -16,8 +16,8 @@ type Message struct { fixt11.Header //AllocID is a required field for AllocationInstructionAck. AllocID string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstructionAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationInstructionAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationInstructionAck. @@ -44,28 +44,30 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for AllocationInstructionAck. EncodedText *string `fix:"355"` - //AllocAckGrp Component - allocackgrp.AllocAckGrp + //AllocAckGrp is a non-required component for AllocationInstructionAck. + AllocAckGrp *allocackgrp.AllocAckGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetAllocType(v int) { m.AllocType = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetProduct(v int) { m.Product = &v } -func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetAllocType(v int) { m.AllocType = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetProduct(v int) { m.Product = &v } +func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocAckGrp(v allocackgrp.AllocAckGrp) { m.AllocAckGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/allocationinstructionalert/AllocationInstructionAlert.go b/fix50sp1/allocationinstructionalert/AllocationInstructionAlert.go index 69d3d9a1b..0b33305fd 100644 --- a/fix50sp1/allocationinstructionalert/AllocationInstructionAlert.go +++ b/fix50sp1/allocationinstructionalert/AllocationInstructionAlert.go @@ -47,10 +47,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationInstructionAlert. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationInstructionAlert. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationInstructionAlert. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationInstructionAlert. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationInstructionAlert. @@ -59,16 +59,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationInstructionAlert. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationInstructionAlert. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationInstructionAlert. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationInstructionAlert. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationInstructionAlert. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationInstructionAlert. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationInstructionAlert. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationInstructionAlert. @@ -87,14 +87,14 @@ type Message struct { AvgPx *float64 `fix:"6"` //AvgParPx is a non-required field for AllocationInstructionAlert. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationInstructionAlert. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationInstructionAlert. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationInstructionAlert. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstructionAlert. + Parties *parties.Parties //TradeDate is a required field for AllocationInstructionAlert. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationInstructionAlert. @@ -141,18 +141,18 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationInstructionAlert. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData - //PositionAmountData Component - positionamountdata.PositionAmountData + //Stipulations is a non-required component for AllocationInstructionAlert. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationInstructionAlert. + YieldData *yielddata.YieldData + //PositionAmountData is a non-required component for AllocationInstructionAlert. + PositionAmountData *positionamountdata.PositionAmountData //TotNoAllocs is a non-required field for AllocationInstructionAlert. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationInstructionAlert. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp + //AllocGrp is a non-required component for AllocationInstructionAlert. + AllocGrp *allocgrp.AllocGrp //AvgPxIndicator is a non-required field for AllocationInstructionAlert. AvgPxIndicator *int `fix:"819"` //ClearingBusinessDate is a non-required field for AllocationInstructionAlert. @@ -177,66 +177,85 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/allocationreport/AllocationReport.go b/fix50sp1/allocationreport/AllocationReport.go index 966d8ad95..dcc5d3885 100644 --- a/fix50sp1/allocationreport/AllocationReport.go +++ b/fix50sp1/allocationreport/AllocationReport.go @@ -55,10 +55,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationReport. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationReport. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationReport. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationReport. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationReport. @@ -67,16 +67,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationReport. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationReport. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationReport. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationReport. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationReport. @@ -95,14 +95,14 @@ type Message struct { AvgPx float64 `fix:"6"` //AvgParPx is a non-required field for AllocationReport. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationReport. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationReport. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReport. + Parties *parties.Parties //TradeDate is a required field for AllocationReport. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationReport. @@ -149,16 +149,16 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationReport. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationReport. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationReport. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationReport. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationReport. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp + //AllocGrp is a non-required component for AllocationReport. + AllocGrp *allocgrp.AllocGrp //ClearingBusinessDate is a non-required field for AllocationReport. ClearingBusinessDate *string `fix:"715"` //TrdType is a non-required field for AllocationReport. @@ -179,79 +179,98 @@ type Message struct { TradeInputDevice *string `fix:"579"` //AvgPxIndicator is a non-required field for AllocationReport. AvgPxIndicator *int `fix:"819"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for AllocationReport. + PositionAmountData *positionamountdata.PositionAmountData fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/allocationreportack/AllocationReportAck.go b/fix50sp1/allocationreportack/AllocationReportAck.go index 62ec90d7a..47927319a 100644 --- a/fix50sp1/allocationreportack/AllocationReportAck.go +++ b/fix50sp1/allocationreportack/AllocationReportAck.go @@ -18,8 +18,8 @@ type Message struct { AllocReportID string `fix:"755"` //AllocID is a required field for AllocationReportAck. AllocID string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReportAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationReportAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationReportAck. @@ -46,8 +46,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for AllocationReportAck. EncodedText *string `fix:"355"` - //AllocAckGrp Component - allocackgrp.AllocAckGrp + //AllocAckGrp is a non-required component for AllocationReportAck. + AllocAckGrp *allocackgrp.AllocAckGrp //ClearingBusinessDate is a non-required field for AllocationReportAck. ClearingBusinessDate *string `fix:"715"` //AvgPxIndicator is a non-required field for AllocationReportAck. @@ -62,25 +62,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = &v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetAllocReportType(v int) { m.AllocReportType = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetProduct(v int) { m.Product = &v } -func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = &v } +func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = &v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetAllocReportType(v int) { m.AllocReportType = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetProduct(v int) { m.Product = &v } +func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocAckGrp(v allocackgrp.AllocAckGrp) { m.AllocAckGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/allocgrp/AllocGrp.go b/fix50sp1/allocgrp/AllocGrp.go index 00aa8d6ac..c1f3c9965 100644 --- a/fix50sp1/allocgrp/AllocGrp.go +++ b/fix50sp1/allocgrp/AllocGrp.go @@ -24,8 +24,8 @@ type NoAllocs struct { IndividualAllocID *string `fix:"467"` //ProcessCode is a non-required field for NoAllocs. ProcessCode *string `fix:"81"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //NotifyBrokerOfCredit is a non-required field for NoAllocs. NotifyBrokerOfCredit *bool `fix:"208"` //AllocHandlInst is a non-required field for NoAllocs. @@ -36,8 +36,8 @@ type NoAllocs struct { EncodedAllocTextLen *int `fix:"360"` //EncodedAllocText is a non-required field for NoAllocs. EncodedAllocText *string `fix:"361"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoAllocs. + CommissionData *commissiondata.CommissionData //AllocAvgPx is a non-required field for NoAllocs. AllocAvgPx *float64 `fix:"153"` //AllocNetMoney is a non-required field for NoAllocs. @@ -58,14 +58,14 @@ type NoAllocs struct { AllocAccruedInterestAmt *float64 `fix:"742"` //AllocInterestAtMaturity is a non-required field for NoAllocs. AllocInterestAtMaturity *float64 `fix:"741"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //MiscFeesGrp is a non-required component for NoAllocs. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp + //ClrInstGrp is a non-required component for NoAllocs. + ClrInstGrp *clrinstgrp.ClrInstGrp //AllocSettlInstType is a non-required field for NoAllocs. AllocSettlInstType *int `fix:"780"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoAllocs. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //SecondaryIndividualAllocID is a non-required field for NoAllocs. SecondaryIndividualAllocID *string `fix:"989"` //AllocMethod is a non-required field for NoAllocs. diff --git a/fix50sp1/applicationmessagereport/ApplicationMessageReport.go b/fix50sp1/applicationmessagereport/ApplicationMessageReport.go index 904e0d2bd..cd43061c8 100644 --- a/fix50sp1/applicationmessagereport/ApplicationMessageReport.go +++ b/fix50sp1/applicationmessagereport/ApplicationMessageReport.go @@ -16,8 +16,8 @@ type Message struct { ApplReportID string `fix:"1356"` //ApplReportType is a required field for ApplicationMessageReport. ApplReportType int `fix:"1426"` - //ApplIDReportGrp Component - applidreportgrp.ApplIDReportGrp + //ApplIDReportGrp is a non-required component for ApplicationMessageReport. + ApplIDReportGrp *applidreportgrp.ApplIDReportGrp //Text is a non-required field for ApplicationMessageReport. Text *string `fix:"58"` //EncodedTextLen is a non-required field for ApplicationMessageReport. @@ -30,11 +30,12 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetApplReportID(v string) { m.ApplReportID = v } -func (m *Message) SetApplReportType(v int) { m.ApplReportType = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplReportID(v string) { m.ApplReportID = v } +func (m *Message) SetApplReportType(v int) { m.ApplReportType = v } +func (m *Message) SetApplIDReportGrp(v applidreportgrp.ApplIDReportGrp) { m.ApplIDReportGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/applicationmessagerequest/ApplicationMessageRequest.go b/fix50sp1/applicationmessagerequest/ApplicationMessageRequest.go index 7d95c09a1..86261af60 100644 --- a/fix50sp1/applicationmessagerequest/ApplicationMessageRequest.go +++ b/fix50sp1/applicationmessagerequest/ApplicationMessageRequest.go @@ -16,8 +16,8 @@ type Message struct { ApplReqID string `fix:"1346"` //ApplReqType is a required field for ApplicationMessageRequest. ApplReqType int `fix:"1347"` - //ApplIDRequestGrp Component - applidrequestgrp.ApplIDRequestGrp + //ApplIDRequestGrp is a non-required component for ApplicationMessageRequest. + ApplIDRequestGrp *applidrequestgrp.ApplIDRequestGrp //Text is a non-required field for ApplicationMessageRequest. Text *string `fix:"58"` //EncodedTextLen is a non-required field for ApplicationMessageRequest. @@ -30,11 +30,12 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetApplReqID(v string) { m.ApplReqID = v } -func (m *Message) SetApplReqType(v int) { m.ApplReqType = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplReqID(v string) { m.ApplReqID = v } +func (m *Message) SetApplReqType(v int) { m.ApplReqType = v } +func (m *Message) SetApplIDRequestGrp(v applidrequestgrp.ApplIDRequestGrp) { m.ApplIDRequestGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/applicationmessagerequestack/ApplicationMessageRequestAck.go b/fix50sp1/applicationmessagerequestack/ApplicationMessageRequestAck.go index 41e978629..4b548af08 100644 --- a/fix50sp1/applicationmessagerequestack/ApplicationMessageRequestAck.go +++ b/fix50sp1/applicationmessagerequestack/ApplicationMessageRequestAck.go @@ -22,8 +22,8 @@ type Message struct { ApplResponseType *int `fix:"1348"` //ApplTotalMessageCount is a non-required field for ApplicationMessageRequestAck. ApplTotalMessageCount *int `fix:"1349"` - //ApplIDRequestAckGrp Component - applidrequestackgrp.ApplIDRequestAckGrp + //ApplIDRequestAckGrp is a non-required component for ApplicationMessageRequestAck. + ApplIDRequestAckGrp *applidrequestackgrp.ApplIDRequestAckGrp //Text is a non-required field for ApplicationMessageRequestAck. Text *string `fix:"58"` //EncodedTextLen is a non-required field for ApplicationMessageRequestAck. @@ -41,9 +41,12 @@ func (m *Message) SetApplReqID(v string) { m.ApplReqID = &v } func (m *Message) SetApplReqType(v int) { m.ApplReqType = &v } func (m *Message) SetApplResponseType(v int) { m.ApplResponseType = &v } func (m *Message) SetApplTotalMessageCount(v int) { m.ApplTotalMessageCount = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplIDRequestAckGrp(v applidrequestackgrp.ApplIDRequestAckGrp) { + m.ApplIDRequestAckGrp = &v +} +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/assignmentreport/AssignmentReport.go b/fix50sp1/assignmentreport/AssignmentReport.go index 1bbbb6f6f..9313f29b3 100644 --- a/fix50sp1/assignmentreport/AssignmentReport.go +++ b/fix50sp1/assignmentreport/AssignmentReport.go @@ -24,24 +24,24 @@ type Message struct { TotNumAssignmentReports *int `fix:"832"` //LastRptRequested is a non-required field for AssignmentReport. LastRptRequested *bool `fix:"912"` - //Parties Component + //Parties is a required component for AssignmentReport. parties.Parties //Account is a non-required field for AssignmentReport. Account *string `fix:"1"` //AccountType is a non-required field for AssignmentReport. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for AssignmentReport. + Instrument *instrument.Instrument //Currency is a non-required field for AssignmentReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //PositionQty Component - positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //InstrmtLegGrp is a non-required component for AssignmentReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for AssignmentReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //PositionQty is a non-required component for AssignmentReport. + PositionQty *positionqty.PositionQty + //PositionAmountData is a non-required component for AssignmentReport. + PositionAmountData *positionamountdata.PositionAmountData //ThresholdAmount is a non-required field for AssignmentReport. ThresholdAmount *float64 `fix:"834"` //SettlPrice is a non-required field for AssignmentReport. @@ -74,20 +74,28 @@ type Message struct { EncodedText *string `fix:"355"` //PriorSettlPrice is a non-required field for AssignmentReport. PriorSettlPrice *float64 `fix:"734"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for AssignmentReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } -func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } +func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } @@ -104,6 +112,9 @@ func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/basetradingrules/BaseTradingRules.go b/fix50sp1/basetradingrules/BaseTradingRules.go index 4437998c9..94b016480 100644 --- a/fix50sp1/basetradingrules/BaseTradingRules.go +++ b/fix50sp1/basetradingrules/BaseTradingRules.go @@ -8,12 +8,12 @@ import ( //BaseTradingRules is a fix50sp1 Component type BaseTradingRules struct { - //TickRules Component - tickrules.TickRules - //LotTypeRules Component - lottyperules.LotTypeRules - //PriceLimits Component - pricelimits.PriceLimits + //TickRules is a non-required component for BaseTradingRules. + TickRules *tickrules.TickRules + //LotTypeRules is a non-required component for BaseTradingRules. + LotTypeRules *lottyperules.LotTypeRules + //PriceLimits is a non-required component for BaseTradingRules. + PriceLimits *pricelimits.PriceLimits //ExpirationCycle is a non-required field for BaseTradingRules. ExpirationCycle *int `fix:"827"` //MinTradeVol is a non-required field for BaseTradingRules. @@ -36,13 +36,16 @@ type BaseTradingRules struct { PriceType *int `fix:"423"` } -func (m *BaseTradingRules) SetExpirationCycle(v int) { m.ExpirationCycle = &v } -func (m *BaseTradingRules) SetMinTradeVol(v float64) { m.MinTradeVol = &v } -func (m *BaseTradingRules) SetMaxTradeVol(v float64) { m.MaxTradeVol = &v } -func (m *BaseTradingRules) SetMaxPriceVariation(v float64) { m.MaxPriceVariation = &v } -func (m *BaseTradingRules) SetImpliedMarketIndicator(v int) { m.ImpliedMarketIndicator = &v } -func (m *BaseTradingRules) SetTradingCurrency(v string) { m.TradingCurrency = &v } -func (m *BaseTradingRules) SetRoundLot(v float64) { m.RoundLot = &v } -func (m *BaseTradingRules) SetMultilegModel(v int) { m.MultilegModel = &v } -func (m *BaseTradingRules) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } -func (m *BaseTradingRules) SetPriceType(v int) { m.PriceType = &v } +func (m *BaseTradingRules) SetTickRules(v tickrules.TickRules) { m.TickRules = &v } +func (m *BaseTradingRules) SetLotTypeRules(v lottyperules.LotTypeRules) { m.LotTypeRules = &v } +func (m *BaseTradingRules) SetPriceLimits(v pricelimits.PriceLimits) { m.PriceLimits = &v } +func (m *BaseTradingRules) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *BaseTradingRules) SetMinTradeVol(v float64) { m.MinTradeVol = &v } +func (m *BaseTradingRules) SetMaxTradeVol(v float64) { m.MaxTradeVol = &v } +func (m *BaseTradingRules) SetMaxPriceVariation(v float64) { m.MaxPriceVariation = &v } +func (m *BaseTradingRules) SetImpliedMarketIndicator(v int) { m.ImpliedMarketIndicator = &v } +func (m *BaseTradingRules) SetTradingCurrency(v string) { m.TradingCurrency = &v } +func (m *BaseTradingRules) SetRoundLot(v float64) { m.RoundLot = &v } +func (m *BaseTradingRules) SetMultilegModel(v int) { m.MultilegModel = &v } +func (m *BaseTradingRules) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } +func (m *BaseTradingRules) SetPriceType(v int) { m.PriceType = &v } diff --git a/fix50sp1/bidcomprspgrp/BidCompRspGrp.go b/fix50sp1/bidcomprspgrp/BidCompRspGrp.go index ba5b0a9be..a2f9f4e63 100644 --- a/fix50sp1/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50sp1/bidcomprspgrp/BidCompRspGrp.go @@ -6,7 +6,7 @@ import ( //NoBidComponents is a repeating group in BidCompRspGrp type NoBidComponents struct { - //CommissionData Component + //CommissionData is a required component for NoBidComponents. commissiondata.CommissionData //ListID is a non-required field for NoBidComponents. ListID *string `fix:"66"` diff --git a/fix50sp1/bidrequest/BidRequest.go b/fix50sp1/bidrequest/BidRequest.go index df5b5fe92..de78fdb04 100644 --- a/fix50sp1/bidrequest/BidRequest.go +++ b/fix50sp1/bidrequest/BidRequest.go @@ -34,10 +34,10 @@ type Message struct { SideValue1 *float64 `fix:"396"` //SideValue2 is a non-required field for BidRequest. SideValue2 *float64 `fix:"397"` - //BidDescReqGrp Component - biddescreqgrp.BidDescReqGrp - //BidCompReqGrp Component - bidcompreqgrp.BidCompReqGrp + //BidDescReqGrp is a non-required component for BidRequest. + BidDescReqGrp *biddescreqgrp.BidDescReqGrp + //BidCompReqGrp is a non-required component for BidRequest. + BidCompReqGrp *bidcompreqgrp.BidCompReqGrp //LiquidityIndType is a non-required field for BidRequest. LiquidityIndType *int `fix:"409"` //WtAverageLiquidity is a non-required field for BidRequest. @@ -78,33 +78,35 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = v } -func (m *Message) SetBidRequestTransType(v string) { m.BidRequestTransType = v } -func (m *Message) SetListName(v string) { m.ListName = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = v } -func (m *Message) SetBidType(v int) { m.BidType = v } -func (m *Message) SetNumTickets(v int) { m.NumTickets = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSideValue1(v float64) { m.SideValue1 = &v } -func (m *Message) SetSideValue2(v float64) { m.SideValue2 = &v } -func (m *Message) SetLiquidityIndType(v int) { m.LiquidityIndType = &v } -func (m *Message) SetWtAverageLiquidity(v float64) { m.WtAverageLiquidity = &v } -func (m *Message) SetExchangeForPhysical(v bool) { m.ExchangeForPhysical = &v } -func (m *Message) SetOutMainCntryUIndex(v float64) { m.OutMainCntryUIndex = &v } -func (m *Message) SetCrossPercent(v float64) { m.CrossPercent = &v } -func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } -func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } -func (m *Message) SetIncTaxInd(v int) { m.IncTaxInd = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetNumBidders(v int) { m.NumBidders = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetBidTradeType(v string) { m.BidTradeType = v } -func (m *Message) SetBasisPxType(v string) { m.BasisPxType = v } -func (m *Message) SetStrikeTime(v time.Time) { m.StrikeTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = v } +func (m *Message) SetBidRequestTransType(v string) { m.BidRequestTransType = v } +func (m *Message) SetListName(v string) { m.ListName = &v } +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = v } +func (m *Message) SetBidType(v int) { m.BidType = v } +func (m *Message) SetNumTickets(v int) { m.NumTickets = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSideValue1(v float64) { m.SideValue1 = &v } +func (m *Message) SetSideValue2(v float64) { m.SideValue2 = &v } +func (m *Message) SetBidDescReqGrp(v biddescreqgrp.BidDescReqGrp) { m.BidDescReqGrp = &v } +func (m *Message) SetBidCompReqGrp(v bidcompreqgrp.BidCompReqGrp) { m.BidCompReqGrp = &v } +func (m *Message) SetLiquidityIndType(v int) { m.LiquidityIndType = &v } +func (m *Message) SetWtAverageLiquidity(v float64) { m.WtAverageLiquidity = &v } +func (m *Message) SetExchangeForPhysical(v bool) { m.ExchangeForPhysical = &v } +func (m *Message) SetOutMainCntryUIndex(v float64) { m.OutMainCntryUIndex = &v } +func (m *Message) SetCrossPercent(v float64) { m.CrossPercent = &v } +func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } +func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } +func (m *Message) SetIncTaxInd(v int) { m.IncTaxInd = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetNumBidders(v int) { m.NumBidders = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetBidTradeType(v string) { m.BidTradeType = v } +func (m *Message) SetBasisPxType(v string) { m.BasisPxType = v } +func (m *Message) SetStrikeTime(v time.Time) { m.StrikeTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/bidresponse/BidResponse.go b/fix50sp1/bidresponse/BidResponse.go index 8b75355ae..733ea8126 100644 --- a/fix50sp1/bidresponse/BidResponse.go +++ b/fix50sp1/bidresponse/BidResponse.go @@ -16,7 +16,7 @@ type Message struct { BidID *string `fix:"390"` //ClientBidID is a non-required field for BidResponse. ClientBidID *string `fix:"391"` - //BidCompRspGrp Component + //BidCompRspGrp is a required component for BidResponse. bidcomprspgrp.BidCompRspGrp fixt11.Trailer } @@ -24,8 +24,9 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetBidCompRspGrp(v bidcomprspgrp.BidCompRspGrp) { m.BidCompRspGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/collateralassignment/CollateralAssignment.go b/fix50sp1/collateralassignment/CollateralAssignment.go index 68ca3ad9d..4d357f97a 100644 --- a/fix50sp1/collateralassignment/CollateralAssignment.go +++ b/fix50sp1/collateralassignment/CollateralAssignment.go @@ -38,8 +38,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralAssignment. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralAssignment. + Parties *parties.Parties //Account is a non-required field for CollateralAssignment. Account *string `fix:"1"` //AccountType is a non-required field for CollateralAssignment. @@ -52,14 +52,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralAssignment. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralAssignment. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralAssignment. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralAssignment. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralAssignment. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralAssignment. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralAssignment. @@ -68,22 +68,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralAssignment. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralAssignment. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralAssignment. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralAssignment. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralAssignment. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralAssignment. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralAssignment. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralAssignment. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralAssignment. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralAssignment. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralAssignment. @@ -96,12 +96,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralAssignment. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralAssignment. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralAssignment. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralAssignment. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralAssignment. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralAssignment. @@ -124,41 +124,59 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } -func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } +func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/collateralinquiry/CollateralInquiry.go b/fix50sp1/collateralinquiry/CollateralInquiry.go index 004eaa137..b0d1597cb 100644 --- a/fix50sp1/collateralinquiry/CollateralInquiry.go +++ b/fix50sp1/collateralinquiry/CollateralInquiry.go @@ -25,16 +25,16 @@ type Message struct { fixt11.Header //CollInquiryID is a non-required field for CollateralInquiry. CollInquiryID *string `fix:"909"` - //CollInqQualGrp Component - collinqqualgrp.CollInqQualGrp + //CollInqQualGrp is a non-required component for CollateralInquiry. + CollInqQualGrp *collinqqualgrp.CollInqQualGrp //SubscriptionRequestType is a non-required field for CollateralInquiry. SubscriptionRequestType *string `fix:"263"` //ResponseTransportType is a non-required field for CollateralInquiry. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for CollateralInquiry. ResponseDestination *string `fix:"726"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiry. + Parties *parties.Parties //Account is a non-required field for CollateralInquiry. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiry. @@ -47,14 +47,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralInquiry. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralInquiry. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralInquiry. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralInquiry. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiry. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiry. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiry. @@ -63,18 +63,18 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralInquiry. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralInquiry. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralInquiry. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //MarginExcess is a non-required field for CollateralInquiry. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralInquiry. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralInquiry. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralInquiry. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralInquiry. Side *string `fix:"54"` //Price is a non-required field for CollateralInquiry. @@ -89,12 +89,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralInquiry. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralInquiry. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralInquiry. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralInquiry. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralInquiry. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralInquiry. @@ -117,38 +117,54 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } +func (m *Message) SetCollInqQualGrp(v collinqqualgrp.CollInqQualGrp) { m.CollInqQualGrp = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/collateralinquiryack/CollateralInquiryAck.go b/fix50sp1/collateralinquiryack/CollateralInquiryAck.go index ed56fb84a..b2933a954 100644 --- a/fix50sp1/collateralinquiryack/CollateralInquiryAck.go +++ b/fix50sp1/collateralinquiryack/CollateralInquiryAck.go @@ -25,12 +25,12 @@ type Message struct { CollInquiryStatus int `fix:"945"` //CollInquiryResult is a non-required field for CollateralInquiryAck. CollInquiryResult *int `fix:"946"` - //CollInqQualGrp Component - collinqqualgrp.CollInqQualGrp + //CollInqQualGrp is a non-required component for CollateralInquiryAck. + CollInqQualGrp *collinqqualgrp.CollInqQualGrp //TotNumReports is a non-required field for CollateralInquiryAck. TotNumReports *int `fix:"911"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiryAck. + Parties *parties.Parties //Account is a non-required field for CollateralInquiryAck. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiryAck. @@ -43,14 +43,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralInquiryAck. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralInquiryAck. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralInquiryAck. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralInquiryAck. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiryAck. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiryAck. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiryAck. @@ -59,10 +59,10 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralInquiryAck. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralInquiryAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralInquiryAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //TradingSessionID is a non-required field for CollateralInquiryAck. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralInquiryAck. @@ -89,30 +89,38 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } -func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } -func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } +func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } +func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } +func (m *Message) SetCollInqQualGrp(v collinqqualgrp.CollInqQualGrp) { m.CollInqQualGrp = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/collateralreport/CollateralReport.go b/fix50sp1/collateralreport/CollateralReport.go index 090ab9a82..43f9058af 100644 --- a/fix50sp1/collateralreport/CollateralReport.go +++ b/fix50sp1/collateralreport/CollateralReport.go @@ -34,8 +34,8 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for CollateralReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralReport. + Parties *parties.Parties //Account is a non-required field for CollateralReport. Account *string `fix:"1"` //AccountType is a non-required field for CollateralReport. @@ -48,14 +48,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralReport. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralReport. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralReport. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralReport. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralReport. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralReport. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralReport. @@ -64,22 +64,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //MarginExcess is a non-required field for CollateralReport. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralReport. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralReport. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralReport. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralReport. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralReport. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralReport. @@ -92,12 +92,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralReport. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralReport. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralReport. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralReport. @@ -126,42 +126,58 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRptID(v string) { m.CollRptID = v } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } -func (m *Message) SetCollStatus(v int) { m.CollStatus = v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCollRptID(v string) { m.CollRptID = v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } +func (m *Message) SetCollStatus(v int) { m.CollStatus = v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/collateralrequest/CollateralRequest.go b/fix50sp1/collateralrequest/CollateralRequest.go index e992a6745..5a6264bfb 100644 --- a/fix50sp1/collateralrequest/CollateralRequest.go +++ b/fix50sp1/collateralrequest/CollateralRequest.go @@ -31,8 +31,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralRequest. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralRequest. + Parties *parties.Parties //Account is a non-required field for CollateralRequest. Account *string `fix:"1"` //AccountType is a non-required field for CollateralRequest. @@ -45,14 +45,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralRequest. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralRequest. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralRequest. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralRequest. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralRequest. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralRequest. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralRequest. @@ -61,22 +61,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralRequest. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralRequest. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralRequest. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralRequest. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralRequest. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralRequest. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralRequest. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralRequest. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralRequest. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralRequest. @@ -89,10 +89,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralRequest. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralRequest. + Stipulations *stipulations.Stipulations //TradingSessionID is a non-required field for CollateralRequest. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralRequest. @@ -115,38 +115,53 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollReqID(v string) { m.CollReqID = v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/collateralresponse/CollateralResponse.go b/fix50sp1/collateralresponse/CollateralResponse.go index f19d659d9..4c6e68100 100644 --- a/fix50sp1/collateralresponse/CollateralResponse.go +++ b/fix50sp1/collateralresponse/CollateralResponse.go @@ -39,8 +39,8 @@ type Message struct { CollAsgnRejectReason *int `fix:"906"` //TransactTime is a required field for CollateralResponse. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralResponse. + Parties *parties.Parties //Account is a non-required field for CollateralResponse. Account *string `fix:"1"` //AccountType is a non-required field for CollateralResponse. @@ -53,14 +53,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralResponse. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralResponse. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralResponse. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralResponse. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralResponse. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralResponse. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralResponse. @@ -69,22 +69,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralResponse. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralResponse. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralResponse. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralResponse. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralResponse. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralResponse. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralResponse. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralResponse. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralResponse. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralResponse. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralResponse. @@ -97,10 +97,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralResponse. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralResponse. + Stipulations *stipulations.Stipulations //Text is a non-required field for CollateralResponse. Text *string `fix:"58"` //EncodedTextLen is a non-required field for CollateralResponse. @@ -119,40 +119,55 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRespID(v string) { m.CollRespID = v } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = &v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = &v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } -func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } -func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetCollRespID(v string) { m.CollRespID = v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = &v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = &v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } +func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } +func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/confirmation/Confirmation.go b/fix50sp1/confirmation/Confirmation.go index d100284d0..7a582bb7e 100644 --- a/fix50sp1/confirmation/Confirmation.go +++ b/fix50sp1/confirmation/Confirmation.go @@ -43,10 +43,10 @@ type Message struct { LegalConfirm *bool `fix:"650"` //ConfirmStatus is a required field for Confirmation. ConfirmStatus int `fix:"665"` - //Parties Component - parties.Parties - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp + //Parties is a non-required component for Confirmation. + Parties *parties.Parties + //OrdAllocGrp is a non-required component for Confirmation. + OrdAllocGrp *ordallocgrp.OrdAllocGrp //AllocID is a non-required field for Confirmation. AllocID *string `fix:"70"` //SecondaryAllocID is a non-required field for Confirmation. @@ -57,20 +57,20 @@ type Message struct { TransactTime time.Time `fix:"60"` //TradeDate is a required field for Confirmation. TradeDate string `fix:"75"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps - //Instrument Component + //TrdRegTimestamps is a non-required component for Confirmation. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps + //Instrument is a required component for Confirmation. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component + //InstrumentExtension is a non-required component for Confirmation. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for Confirmation. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a required component for Confirmation. undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component + //InstrmtLegGrp is a required component for Confirmation. instrmtleggrp.InstrmtLegGrp - //YieldData Component - yielddata.YieldData + //YieldData is a non-required component for Confirmation. + YieldData *yielddata.YieldData //AllocQty is a required field for Confirmation. AllocQty float64 `fix:"80"` //QtyType is a non-required field for Confirmation. @@ -81,7 +81,7 @@ type Message struct { Currency *string `fix:"15"` //LastMkt is a non-required field for Confirmation. LastMkt *string `fix:"30"` - //CpctyConfGrp Component + //CpctyConfGrp is a required component for Confirmation. cpctyconfgrp.CpctyConfGrp //AllocAccount is a required field for Confirmation. AllocAccount string `fix:"79"` @@ -97,8 +97,8 @@ type Message struct { PriceType *int `fix:"423"` //AvgParPx is a non-required field for Confirmation. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for Confirmation. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //ReportedPx is a non-required field for Confirmation. ReportedPx *float64 `fix:"861"` //Text is a non-required field for Confirmation. @@ -147,47 +147,62 @@ type Message struct { SettlType *string `fix:"63"` //SettlDate is a non-required field for Confirmation. SettlDate *string `fix:"64"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData - //CommissionData Component - commissiondata.CommissionData + //SettlInstructionsData is a non-required component for Confirmation. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData + //CommissionData is a non-required component for Confirmation. + CommissionData *commissiondata.CommissionData //SharedCommission is a non-required field for Confirmation. SharedCommission *float64 `fix:"858"` - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //Stipulations is a non-required component for Confirmation. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for Confirmation. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } -func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } -func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } -func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } -func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } -func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } +func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } +func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } +func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } +func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetCpctyConfGrp(v cpctyconfgrp.CpctyConfGrp) { m.CpctyConfGrp = v } +func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } +func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} func (m *Message) SetReportedPx(v float64) { m.ReportedPx = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } @@ -212,7 +227,13 @@ func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } func (m *Message) SetSettlType(v string) { m.SettlType = &v } func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/confirmationrequest/ConfirmationRequest.go b/fix50sp1/confirmationrequest/ConfirmationRequest.go index 4036ee2d7..0fdd97cdc 100644 --- a/fix50sp1/confirmationrequest/ConfirmationRequest.go +++ b/fix50sp1/confirmationrequest/ConfirmationRequest.go @@ -17,8 +17,8 @@ type Message struct { ConfirmReqID string `fix:"859"` //ConfirmType is a required field for ConfirmationRequest. ConfirmType int `fix:"773"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp + //OrdAllocGrp is a non-required component for ConfirmationRequest. + OrdAllocGrp *ordallocgrp.OrdAllocGrp //AllocID is a non-required field for ConfirmationRequest. AllocID *string `fix:"70"` //SecondaryAllocID is a non-required field for ConfirmationRequest. @@ -45,18 +45,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = v } -func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = v } +func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/contraryintentionreport/ContraryIntentionReport.go b/fix50sp1/contraryintentionreport/ContraryIntentionReport.go index b9ed62417..023433ad2 100644 --- a/fix50sp1/contraryintentionreport/ContraryIntentionReport.go +++ b/fix50sp1/contraryintentionreport/ContraryIntentionReport.go @@ -27,11 +27,11 @@ type Message struct { InputSource *string `fix:"979"` //ClearingBusinessDate is a required field for ContraryIntentionReport. ClearingBusinessDate string `fix:"715"` - //Parties Component + //Parties is a required component for ContraryIntentionReport. parties.Parties - //ExpirationQty Component + //ExpirationQty is a required component for ContraryIntentionReport. expirationqty.ExpirationQty - //Instrument Component + //Instrument is a required component for ContraryIntentionReport. instrument.Instrument //Text is a non-required field for ContraryIntentionReport. Text *string `fix:"58"` @@ -39,24 +39,31 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ContraryIntentionReport. EncodedText *string `fix:"355"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //UndInstrmtGrp is a non-required component for ContraryIntentionReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //ApplicationSequenceControl is a non-required component for ContraryIntentionReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetContIntRptID(v string) { m.ContIntRptID = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetLateIndicator(v bool) { m.LateIndicator = &v } -func (m *Message) SetInputSource(v string) { m.InputSource = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetContIntRptID(v string) { m.ContIntRptID = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetLateIndicator(v bool) { m.LateIndicator = &v } +func (m *Message) SetInputSource(v string) { m.InputSource = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetExpirationQty(v expirationqty.ExpirationQty) { m.ExpirationQty = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go b/fix50sp1/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go index 15d5372f1..8347c7787 100644 --- a/fix50sp1/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go +++ b/fix50sp1/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go @@ -36,14 +36,14 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for CrossOrderCancelReplaceRequest. CrossPrioritization int `fix:"550"` - //SideCrossOrdModGrp Component + //SideCrossOrdModGrp is a required component for CrossOrderCancelReplaceRequest. sidecrossordmodgrp.SideCrossOrdModGrp - //Instrument Component + //Instrument is a required component for CrossOrderCancelReplaceRequest. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CrossOrderCancelReplaceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CrossOrderCancelReplaceRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SettlType is a non-required field for CrossOrderCancelReplaceRequest. SettlType *string `fix:"63"` //SettlDate is a non-required field for CrossOrderCancelReplaceRequest. @@ -58,8 +58,8 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for CrossOrderCancelReplaceRequest. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for CrossOrderCancelReplaceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for CrossOrderCancelReplaceRequest. ProcessCode *string `fix:"81"` //PrevClosePx is a non-required field for CrossOrderCancelReplaceRequest. @@ -68,8 +68,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for CrossOrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for CrossOrderCancelReplaceRequest. + Stipulations *stipulations.Stipulations //OrdType is a required field for CrossOrderCancelReplaceRequest. OrdType string `fix:"40"` //PriceType is a non-required field for CrossOrderCancelReplaceRequest. @@ -78,10 +78,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for CrossOrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for CrossOrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for CrossOrderCancelReplaceRequest. + YieldData *yielddata.YieldData //Currency is a non-required field for CrossOrderCancelReplaceRequest. Currency *string `fix:"15"` //ComplianceID is a non-required field for CrossOrderCancelReplaceRequest. @@ -102,10 +102,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for CrossOrderCancelReplaceRequest. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for CrossOrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for CrossOrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for CrossOrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for CrossOrderCancelReplaceRequest. @@ -120,24 +120,24 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for CrossOrderCancelReplaceRequest. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for CrossOrderCancelReplaceRequest. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //HostCrossID is a non-required field for CrossOrderCancelReplaceRequest. HostCrossID *string `fix:"961"` //TransBkdTime is a non-required field for CrossOrderCancelReplaceRequest. TransBkdTime *time.Time `fix:"483"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for CrossOrderCancelReplaceRequest. + RootParties *rootparties.RootParties //MatchIncrement is a non-required field for CrossOrderCancelReplaceRequest. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for CrossOrderCancelReplaceRequest. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for CrossOrderCancelReplaceRequest. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for CrossOrderCancelReplaceRequest. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for CrossOrderCancelReplaceRequest. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //ExDestinationIDSource is a non-required field for CrossOrderCancelReplaceRequest. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer @@ -146,36 +146,52 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetSideCrossOrdModGrp(v sidecrossordmodgrp.SideCrossOrdModGrp) { + m.SideCrossOrdModGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -183,12 +199,22 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/crossordercancelrequest/CrossOrderCancelRequest.go b/fix50sp1/crossordercancelrequest/CrossOrderCancelRequest.go index 5dfbe7bcd..1f5fecc40 100644 --- a/fix50sp1/crossordercancelrequest/CrossOrderCancelRequest.go +++ b/fix50sp1/crossordercancelrequest/CrossOrderCancelRequest.go @@ -27,20 +27,20 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for CrossOrderCancelRequest. CrossPrioritization int `fix:"550"` - //SideCrossOrdCxlGrp Component + //SideCrossOrdCxlGrp is a required component for CrossOrderCancelRequest. sidecrossordcxlgrp.SideCrossOrdCxlGrp - //Instrument Component + //Instrument is a required component for CrossOrderCancelRequest. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CrossOrderCancelRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CrossOrderCancelRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //TransactTime is a required field for CrossOrderCancelRequest. TransactTime time.Time `fix:"60"` //HostCrossID is a non-required field for CrossOrderCancelRequest. HostCrossID *string `fix:"961"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for CrossOrderCancelRequest. + RootParties *rootparties.RootParties fixt11.Trailer } @@ -52,8 +52,15 @@ func (m *Message) SetCrossID(v string) { m.CrossID = v } func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } func (m *Message) SetCrossType(v int) { m.CrossType = v } func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetSideCrossOrdCxlGrp(v sidecrossordcxlgrp.SideCrossOrdCxlGrp) { + m.SideCrossOrdCxlGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/derivativeinstrument/DerivativeInstrument.go b/fix50sp1/derivativeinstrument/DerivativeInstrument.go index 7cec467e5..05c42047b 100644 --- a/fix50sp1/derivativeinstrument/DerivativeInstrument.go +++ b/fix50sp1/derivativeinstrument/DerivativeInstrument.go @@ -17,8 +17,8 @@ type DerivativeInstrument struct { DerivativeSecurityID *string `fix:"1216"` //DerivativeSecurityIDSource is a non-required field for DerivativeInstrument. DerivativeSecurityIDSource *string `fix:"1217"` - //DerivativeSecurityAltIDGrp Component - derivativesecurityaltidgrp.DerivativeSecurityAltIDGrp + //DerivativeSecurityAltIDGrp is a non-required component for DerivativeInstrument. + DerivativeSecurityAltIDGrp *derivativesecurityaltidgrp.DerivativeSecurityAltIDGrp //DerivativeProduct is a non-required field for DerivativeInstrument. DerivativeProduct *int `fix:"1246"` //DerivativeProductComplex is a non-required field for DerivativeInstrument. @@ -105,10 +105,10 @@ type DerivativeInstrument struct { DerivativeEncodedSecurityDesc *string `fix:"1281"` //DerivativeContractSettlMonth is a non-required field for DerivativeInstrument. DerivativeContractSettlMonth *string `fix:"1285"` - //DerivativeEventsGrp Component - derivativeeventsgrp.DerivativeEventsGrp - //DerivativeInstrumentParties Component - derivativeinstrumentparties.DerivativeInstrumentParties + //DerivativeEventsGrp is a non-required component for DerivativeInstrument. + DerivativeEventsGrp *derivativeeventsgrp.DerivativeEventsGrp + //DerivativeInstrumentParties is a non-required component for DerivativeInstrument. + DerivativeInstrumentParties *derivativeinstrumentparties.DerivativeInstrumentParties //DerivativeSettlMethod is a non-required field for DerivativeInstrument. DerivativeSettlMethod *string `fix:"1317"` //DerivativePriceQuoteMethod is a non-required field for DerivativeInstrument. @@ -123,8 +123,8 @@ type DerivativeInstrument struct { DerivativeFloorPrice *float64 `fix:"1322"` //DerivativePutOrCall is a non-required field for DerivativeInstrument. DerivativePutOrCall *int `fix:"1323"` - //DerivativeSecurityXML Component - derivativesecurityxml.DerivativeSecurityXML + //DerivativeSecurityXML is a non-required component for DerivativeInstrument. + DerivativeSecurityXML *derivativesecurityxml.DerivativeSecurityXML } func (m *DerivativeInstrument) SetDerivativeSymbol(v string) { m.DerivativeSymbol = &v } @@ -133,6 +133,9 @@ func (m *DerivativeInstrument) SetDerivativeSecurityID(v string) { m.DerivativeS func (m *DerivativeInstrument) SetDerivativeSecurityIDSource(v string) { m.DerivativeSecurityIDSource = &v } +func (m *DerivativeInstrument) SetDerivativeSecurityAltIDGrp(v derivativesecurityaltidgrp.DerivativeSecurityAltIDGrp) { + m.DerivativeSecurityAltIDGrp = &v +} func (m *DerivativeInstrument) SetDerivativeProduct(v int) { m.DerivativeProduct = &v } func (m *DerivativeInstrument) SetDerivativeProductComplex(v string) { m.DerivativeProductComplex = &v } func (m *DerivativeInstrument) SetDerivFlexProductEligibilityIndicator(v bool) { @@ -210,6 +213,12 @@ func (m *DerivativeInstrument) SetDerivativeEncodedSecurityDesc(v string) { func (m *DerivativeInstrument) SetDerivativeContractSettlMonth(v string) { m.DerivativeContractSettlMonth = &v } +func (m *DerivativeInstrument) SetDerivativeEventsGrp(v derivativeeventsgrp.DerivativeEventsGrp) { + m.DerivativeEventsGrp = &v +} +func (m *DerivativeInstrument) SetDerivativeInstrumentParties(v derivativeinstrumentparties.DerivativeInstrumentParties) { + m.DerivativeInstrumentParties = &v +} func (m *DerivativeInstrument) SetDerivativeSettlMethod(v string) { m.DerivativeSettlMethod = &v } func (m *DerivativeInstrument) SetDerivativePriceQuoteMethod(v string) { m.DerivativePriceQuoteMethod = &v @@ -221,3 +230,6 @@ func (m *DerivativeInstrument) SetDerivativeListMethod(v int) { m.Derivative func (m *DerivativeInstrument) SetDerivativeCapPrice(v float64) { m.DerivativeCapPrice = &v } func (m *DerivativeInstrument) SetDerivativeFloorPrice(v float64) { m.DerivativeFloorPrice = &v } func (m *DerivativeInstrument) SetDerivativePutOrCall(v int) { m.DerivativePutOrCall = &v } +func (m *DerivativeInstrument) SetDerivativeSecurityXML(v derivativesecurityxml.DerivativeSecurityXML) { + m.DerivativeSecurityXML = &v +} diff --git a/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go b/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go index 6d6164881..fdfc011e0 100644 --- a/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go +++ b/fix50sp1/derivativeinstrumentparties/DerivativeInstrumentParties.go @@ -12,8 +12,8 @@ type NoDerivativeInstrumentParties struct { DerivativeInstrumentPartyIDSource *string `fix:"1294"` //DerivativeInstrumentPartyRole is a non-required field for NoDerivativeInstrumentParties. DerivativeInstrumentPartyRole *int `fix:"1295"` - //DerivativeInstrumentPartySubIDsGrp Component - derivativeinstrumentpartysubidsgrp.DerivativeInstrumentPartySubIDsGrp + //DerivativeInstrumentPartySubIDsGrp is a non-required component for NoDerivativeInstrumentParties. + DerivativeInstrumentPartySubIDsGrp *derivativeinstrumentpartysubidsgrp.DerivativeInstrumentPartySubIDsGrp } //DerivativeInstrumentParties is a fix50sp1 Component diff --git a/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go b/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go index b45d347fb..1455772c2 100644 --- a/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go +++ b/fix50sp1/derivativesecuritydefinition/DerivativeSecurityDefinition.go @@ -8,10 +8,20 @@ import ( //DerivativeSecurityDefinition is a fix50sp1 Component type DerivativeSecurityDefinition struct { - //DerivativeInstrument Component - derivativeinstrument.DerivativeInstrument - //DerivativeInstrumentAttribute Component - derivativeinstrumentattribute.DerivativeInstrumentAttribute - //MarketSegmentGrp Component - marketsegmentgrp.MarketSegmentGrp + //DerivativeInstrument is a non-required component for DerivativeSecurityDefinition. + DerivativeInstrument *derivativeinstrument.DerivativeInstrument + //DerivativeInstrumentAttribute is a non-required component for DerivativeSecurityDefinition. + DerivativeInstrumentAttribute *derivativeinstrumentattribute.DerivativeInstrumentAttribute + //MarketSegmentGrp is a non-required component for DerivativeSecurityDefinition. + MarketSegmentGrp *marketsegmentgrp.MarketSegmentGrp +} + +func (m *DerivativeSecurityDefinition) SetDerivativeInstrument(v derivativeinstrument.DerivativeInstrument) { + m.DerivativeInstrument = &v +} +func (m *DerivativeSecurityDefinition) SetDerivativeInstrumentAttribute(v derivativeinstrumentattribute.DerivativeInstrumentAttribute) { + m.DerivativeInstrumentAttribute = &v +} +func (m *DerivativeSecurityDefinition) SetMarketSegmentGrp(v marketsegmentgrp.MarketSegmentGrp) { + m.MarketSegmentGrp = &v } diff --git a/fix50sp1/derivativesecuritylist/DerivativeSecurityList.go b/fix50sp1/derivativesecuritylist/DerivativeSecurityList.go index 6ec988eb3..179ac224b 100644 --- a/fix50sp1/derivativesecuritylist/DerivativeSecurityList.go +++ b/fix50sp1/derivativesecuritylist/DerivativeSecurityList.go @@ -21,18 +21,18 @@ type Message struct { SecurityResponseID string `fix:"322"` //SecurityRequestResult is a non-required field for DerivativeSecurityList. SecurityRequestResult *int `fix:"560"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityList. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoRelatedSym is a non-required field for DerivativeSecurityList. TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for DerivativeSecurityList. LastFragment *bool `fix:"893"` - //RelSymDerivSecGrp Component - relsymderivsecgrp.RelSymDerivSecGrp - //DerivativeSecurityDefinition Component - derivativesecuritydefinition.DerivativeSecurityDefinition - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RelSymDerivSecGrp is a non-required component for DerivativeSecurityList. + RelSymDerivSecGrp *relsymderivsecgrp.RelSymDerivSecGrp + //DerivativeSecurityDefinition is a non-required component for DerivativeSecurityList. + DerivativeSecurityDefinition *derivativesecuritydefinition.DerivativeSecurityDefinition + //ApplicationSequenceControl is a non-required component for DerivativeSecurityList. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } @@ -42,8 +42,20 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetRelSymDerivSecGrp(v relsymderivsecgrp.RelSymDerivSecGrp) { + m.RelSymDerivSecGrp = &v +} +func (m *Message) SetDerivativeSecurityDefinition(v derivativesecuritydefinition.DerivativeSecurityDefinition) { + m.DerivativeSecurityDefinition = &v +} +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/derivativesecuritylistrequest/DerivativeSecurityListRequest.go b/fix50sp1/derivativesecuritylistrequest/DerivativeSecurityListRequest.go index de3304f80..779605ffa 100644 --- a/fix50sp1/derivativesecuritylistrequest/DerivativeSecurityListRequest.go +++ b/fix50sp1/derivativesecuritylistrequest/DerivativeSecurityListRequest.go @@ -17,8 +17,8 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for DerivativeSecurityListRequest. SecurityListRequestType int `fix:"559"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityListRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //SecuritySubType is a non-required field for DerivativeSecurityListRequest. SecuritySubType *string `fix:"762"` //Currency is a non-required field for DerivativeSecurityListRequest. @@ -39,16 +39,19 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for DerivativeSecurityListRequest. MarketSegmentID *string `fix:"1300"` - //DerivativeInstrument Component - derivativeinstrument.DerivativeInstrument + //DerivativeInstrument is a non-required component for DerivativeSecurityListRequest. + DerivativeInstrument *derivativeinstrument.DerivativeInstrument fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *Message) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetText(v string) { m.Text = &v } @@ -59,6 +62,9 @@ func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } func (m *Message) SetMarketID(v string) { m.MarketID = &v } func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetDerivativeInstrument(v derivativeinstrument.DerivativeInstrument) { + m.DerivativeInstrument = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go b/fix50sp1/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go index fd0f76405..ebb87f39f 100644 --- a/fix50sp1/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go +++ b/fix50sp1/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go @@ -23,18 +23,18 @@ type Message struct { SecurityRequestResult *int `fix:"560"` //SecurityUpdateAction is a non-required field for DerivativeSecurityListUpdateReport. SecurityUpdateAction *string `fix:"980"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument - //DerivativeSecurityDefinition Component - derivativesecuritydefinition.DerivativeSecurityDefinition + //UnderlyingInstrument is a non-required component for DerivativeSecurityListUpdateReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument + //DerivativeSecurityDefinition is a non-required component for DerivativeSecurityListUpdateReport. + DerivativeSecurityDefinition *derivativesecuritydefinition.DerivativeSecurityDefinition //TotNoRelatedSym is a non-required field for DerivativeSecurityListUpdateReport. TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for DerivativeSecurityListUpdateReport. LastFragment *bool `fix:"893"` - //RelSymDerivSecUpdGrp Component - relsymderivsecupdgrp.RelSymDerivSecUpdGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RelSymDerivSecUpdGrp is a non-required component for DerivativeSecurityListUpdateReport. + RelSymDerivSecUpdGrp *relsymderivsecupdgrp.RelSymDerivSecUpdGrp + //ApplicationSequenceControl is a non-required component for DerivativeSecurityListUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } @@ -45,8 +45,20 @@ func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetDerivativeSecurityDefinition(v derivativesecuritydefinition.DerivativeSecurityDefinition) { + m.DerivativeSecurityDefinition = &v +} +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetRelSymDerivSecUpdGrp(v relsymderivsecupdgrp.RelSymDerivSecUpdGrp) { + m.RelSymDerivSecUpdGrp = &v +} +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/dlvyinstgrp/DlvyInstGrp.go b/fix50sp1/dlvyinstgrp/DlvyInstGrp.go index ff31d2198..666397ef7 100644 --- a/fix50sp1/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50sp1/dlvyinstgrp/DlvyInstGrp.go @@ -10,8 +10,8 @@ type NoDlvyInst struct { SettlInstSource *string `fix:"165"` //DlvyInstType is a non-required field for NoDlvyInst. DlvyInstType *string `fix:"787"` - //SettlParties Component - settlparties.SettlParties + //SettlParties is a non-required component for NoDlvyInst. + SettlParties *settlparties.SettlParties } //DlvyInstGrp is a fix50sp1 Component diff --git a/fix50sp1/dontknowtrade/DontKnowTrade.go b/fix50sp1/dontknowtrade/DontKnowTrade.go index 6399c09f1..cc678bc5e 100644 --- a/fix50sp1/dontknowtrade/DontKnowTrade.go +++ b/fix50sp1/dontknowtrade/DontKnowTrade.go @@ -23,15 +23,15 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a required field for DontKnowTrade. DKReason string `fix:"127"` - //Instrument Component + //Instrument is a required component for DontKnowTrade. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for DontKnowTrade. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for DontKnowTrade. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Side is a required field for DontKnowTrade. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for DontKnowTrade. orderqtydata.OrderQtyData //LastQty is a non-required field for DontKnowTrade. LastQty *float64 `fix:"32"` @@ -49,16 +49,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/email/Email.go b/fix50sp1/email/Email.go index cb58b4f07..b53d4183e 100644 --- a/fix50sp1/email/Email.go +++ b/fix50sp1/email/Email.go @@ -29,19 +29,19 @@ type Message struct { EncodedSubjectLen *int `fix:"356"` //EncodedSubject is a non-required field for Email. EncodedSubject *string `fix:"357"` - //RoutingGrp Component - routinggrp.RoutingGrp - //InstrmtGrp Component - instrmtgrp.InstrmtGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //RoutingGrp is a non-required component for Email. + RoutingGrp *routinggrp.RoutingGrp + //InstrmtGrp is a non-required component for Email. + InstrmtGrp *instrmtgrp.InstrmtGrp + //UndInstrmtGrp is a non-required component for Email. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for Email. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //OrderID is a non-required field for Email. OrderID *string `fix:"37"` //ClOrdID is a non-required field for Email. ClOrdID *string `fix:"11"` - //LinesOfTextGrp Component + //LinesOfTextGrp is a required component for Email. linesoftextgrp.LinesOfTextGrp //RawDataLength is a non-required field for Email. RawDataLength *int `fix:"95"` @@ -53,16 +53,21 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetEmailThreadID(v string) { m.EmailThreadID = v } -func (m *Message) SetEmailType(v string) { m.EmailType = v } -func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } -func (m *Message) SetSubject(v string) { m.Subject = v } -func (m *Message) SetEncodedSubjectLen(v int) { m.EncodedSubjectLen = &v } -func (m *Message) SetEncodedSubject(v string) { m.EncodedSubject = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } -func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetEmailThreadID(v string) { m.EmailThreadID = v } +func (m *Message) SetEmailType(v string) { m.EmailType = v } +func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } +func (m *Message) SetSubject(v string) { m.Subject = v } +func (m *Message) SetEncodedSubjectLen(v int) { m.EncodedSubjectLen = &v } +func (m *Message) SetEncodedSubject(v string) { m.EncodedSubject = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetLinesOfTextGrp(v linesoftextgrp.LinesOfTextGrp) { m.LinesOfTextGrp = v } +func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } +func (m *Message) SetRawData(v string) { m.RawData = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/executionacknowledgement/ExecutionAcknowledgement.go b/fix50sp1/executionacknowledgement/ExecutionAcknowledgement.go index 4121faec3..3c7a3ee44 100644 --- a/fix50sp1/executionacknowledgement/ExecutionAcknowledgement.go +++ b/fix50sp1/executionacknowledgement/ExecutionAcknowledgement.go @@ -27,15 +27,15 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a non-required field for ExecutionAcknowledgement. DKReason *string `fix:"127"` - //Instrument Component + //Instrument is a required component for ExecutionAcknowledgement. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for ExecutionAcknowledgement. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for ExecutionAcknowledgement. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Side is a required field for ExecutionAcknowledgement. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for ExecutionAcknowledgement. orderqtydata.OrderQtyData //LastQty is a non-required field for ExecutionAcknowledgement. LastQty *float64 `fix:"32"` @@ -61,22 +61,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetExecAckStatus(v string) { m.ExecAckStatus = v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetCumQty(v float64) { m.CumQty = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetExecAckStatus(v string) { m.ExecAckStatus = v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetCumQty(v float64) { m.CumQty = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/executionreport/ExecutionReport.go b/fix50sp1/executionreport/ExecutionReport.go index 7227e81b9..226d418c2 100644 --- a/fix50sp1/executionreport/ExecutionReport.go +++ b/fix50sp1/executionreport/ExecutionReport.go @@ -58,12 +58,12 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for ExecutionReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for ExecutionReport. + Parties *parties.Parties //TradeOriginationDate is a non-required field for ExecutionReport. TradeOriginationDate *string `fix:"229"` - //ContraGrp Component - contragrp.ContraGrp + //ContraGrp is a non-required component for ExecutionReport. + ContraGrp *contragrp.ContraGrp //ListID is a non-required field for ExecutionReport. ListID *string `fix:"66"` //CrossID is a non-required field for ExecutionReport. @@ -106,20 +106,20 @@ type Message struct { CashMargin *string `fix:"544"` //ClearingFeeIndicator is a non-required field for ExecutionReport. ClearingFeeIndicator *string `fix:"635"` - //Instrument Component + //Instrument is a required component for ExecutionReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for ExecutionReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for ExecutionReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for ExecutionReport. Side string `fix:"54"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for ExecutionReport. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for ExecutionReport. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for ExecutionReport. + OrderQtyData *orderqtydata.OrderQtyData //OrdType is a non-required field for ExecutionReport. OrdType *string `fix:"40"` //PriceType is a non-required field for ExecutionReport. @@ -128,10 +128,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for ExecutionReport. StopPx *float64 `fix:"99"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for ExecutionReport. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for ExecutionReport. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //PeggedPrice is a non-required field for ExecutionReport. PeggedPrice *float64 `fix:"839"` //DiscretionPrice is a non-required field for ExecutionReport. @@ -210,12 +210,12 @@ type Message struct { TransactTime *time.Time `fix:"60"` //ReportToExch is a non-required field for ExecutionReport. ReportToExch *bool `fix:"113"` - //CommissionData Component - commissiondata.CommissionData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //CommissionData is a non-required component for ExecutionReport. + CommissionData *commissiondata.CommissionData + //SpreadOrBenchmarkCurveData is a non-required component for ExecutionReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for ExecutionReport. + YieldData *yielddata.YieldData //GrossTradeAmt is a non-required field for ExecutionReport. GrossTradeAmt *float64 `fix:"381"` //NumDaysInterest is a non-required field for ExecutionReport. @@ -302,16 +302,16 @@ type Message struct { PriceImprovement *float64 `fix:"639"` //LastLiquidityInd is a non-required field for ExecutionReport. LastLiquidityInd *int `fix:"851"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //InstrmtLegExecGrp Component - instrmtlegexecgrp.InstrmtLegExecGrp + //ContAmtGrp is a non-required component for ExecutionReport. + ContAmtGrp *contamtgrp.ContAmtGrp + //InstrmtLegExecGrp is a non-required component for ExecutionReport. + InstrmtLegExecGrp *instrmtlegexecgrp.InstrmtLegExecGrp //CopyMsgIndicator is a non-required field for ExecutionReport. CopyMsgIndicator *bool `fix:"797"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //MiscFeesGrp is a non-required component for ExecutionReport. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp + //StrategyParametersGrp is a non-required component for ExecutionReport. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //HostCrossID is a non-required field for ExecutionReport. HostCrossID *string `fix:"961"` //ManualOrderIndicator is a non-required field for ExecutionReport. @@ -324,8 +324,8 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for ExecutionReport. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for ExecutionReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //AggressorIndicator is a non-required field for ExecutionReport. AggressorIndicator *bool `fix:"1057"` //CalculatedCcyLastQty is a non-required field for ExecutionReport. @@ -340,8 +340,8 @@ type Message struct { LotType *string `fix:"1093"` //PriceProtectionScope is a non-required field for ExecutionReport. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for ExecutionReport. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PeggedRefPrice is a non-required field for ExecutionReport. PeggedRefPrice *float64 `fix:"1095"` //PreTradeAnonymity is a non-required field for ExecutionReport. @@ -350,8 +350,8 @@ type Message struct { MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for ExecutionReport. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for ExecutionReport. + DisplayInstruction *displayinstruction.DisplayInstruction //Volatility is a non-required field for ExecutionReport. Volatility *float64 `fix:"1188"` //TimeToExpiration is a non-required field for ExecutionReport. @@ -364,173 +364,209 @@ type Message struct { TrdMatchID *string `fix:"880"` //AllocID is a non-required field for ExecutionReport. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for ExecutionReport. + PreAllocGrp *preallocgrp.PreAllocGrp //TotNoFills is a non-required field for ExecutionReport. TotNoFills *int `fix:"1361"` //LastFragment is a non-required field for ExecutionReport. LastFragment *bool `fix:"893"` - //FillsGrp Component - fillsgrp.FillsGrp + //FillsGrp is a non-required component for ExecutionReport. + FillsGrp *fillsgrp.FillsGrp //DividendYield is a non-required field for ExecutionReport. DividendYield *float64 `fix:"1380"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for ExecutionReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = &v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } -func (m *Message) SetCrossType(v int) { m.CrossType = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } -func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } -func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } -func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } -func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } -func (m *Message) SetCumQty(v float64) { m.CumQty = v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } -func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } -func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetExDate(v string) { m.ExDate = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } -func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } -func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } -func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } -func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } -func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } -func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } -func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetAggressorIndicator(v bool) { m.AggressorIndicator = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } -func (m *Message) SetLotType(v string) { m.LotType = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPeggedRefPrice(v float64) { m.PeggedRefPrice = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetVolatility(v float64) { m.Volatility = &v } -func (m *Message) SetTimeToExpiration(v float64) { m.TimeToExpiration = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } -func (m *Message) SetPriceDelta(v float64) { m.PriceDelta = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetTotNoFills(v int) { m.TotNoFills = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetContraGrp(v contragrp.ContraGrp) { m.ContraGrp = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = &v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } +func (m *Message) SetCrossType(v int) { m.CrossType = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } +func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } +func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } +func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } +func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } +func (m *Message) SetCumQty(v float64) { m.CumQty = v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } +func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } +func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetExDate(v string) { m.ExDate = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } +func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } +func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } +func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } +func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } +func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } +func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } +func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } +func (m *Message) SetContAmtGrp(v contamtgrp.ContAmtGrp) { m.ContAmtGrp = &v } +func (m *Message) SetInstrmtLegExecGrp(v instrmtlegexecgrp.InstrmtLegExecGrp) { + m.InstrmtLegExecGrp = &v +} +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetAggressorIndicator(v bool) { m.AggressorIndicator = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } +func (m *Message) SetLotType(v string) { m.LotType = &v } +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPeggedRefPrice(v float64) { m.PeggedRefPrice = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetVolatility(v float64) { m.Volatility = &v } +func (m *Message) SetTimeToExpiration(v float64) { m.TimeToExpiration = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetPriceDelta(v float64) { m.PriceDelta = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetTotNoFills(v int) { m.TotNoFills = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetFillsGrp(v fillsgrp.FillsGrp) { m.FillsGrp = &v } +func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/fillsgrp/FillsGrp.go b/fix50sp1/fillsgrp/FillsGrp.go index 5a2286450..329fe1549 100644 --- a/fix50sp1/fillsgrp/FillsGrp.go +++ b/fix50sp1/fillsgrp/FillsGrp.go @@ -12,8 +12,8 @@ type NoFills struct { FillPx *float64 `fix:"1364"` //FillQty is a non-required field for NoFills. FillQty *float64 `fix:"1365"` - //NestedParties4 Component - nestedparties4.NestedParties4 + //NestedParties4 is a non-required component for NoFills. + NestedParties4 *nestedparties4.NestedParties4 } //FillsGrp is a fix50sp1 Component diff --git a/fix50sp1/instrmtgrp/InstrmtGrp.go b/fix50sp1/instrmtgrp/InstrmtGrp.go index f956790fa..42441cacc 100644 --- a/fix50sp1/instrmtgrp/InstrmtGrp.go +++ b/fix50sp1/instrmtgrp/InstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoRelatedSym is a repeating group in InstrmtGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument } //InstrmtGrp is a fix50sp1 Component diff --git a/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go index b70eca716..de8ed3eef 100644 --- a/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50sp1/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -9,14 +9,14 @@ import ( //NoLegs is a repeating group in InstrmtLegExecGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. @@ -39,12 +39,12 @@ type NoLegs struct { LegCalculatedCcyLastQty *float64 `fix:"1074"` //LegGrossTradeAmt is a non-required field for NoLegs. LegGrossTradeAmt *float64 `fix:"1075"` - //NestedParties3 Component - nestedparties3.NestedParties3 + //NestedParties3 is a non-required component for NoLegs. + NestedParties3 *nestedparties3.NestedParties3 //LegAllocID is a non-required field for NoLegs. LegAllocID *string `fix:"1366"` - //LegPreAllocGrp Component - legpreallocgrp.LegPreAllocGrp + //LegPreAllocGrp is a non-required component for NoLegs. + LegPreAllocGrp *legpreallocgrp.LegPreAllocGrp //LegVolatility is a non-required field for NoLegs. LegVolatility *float64 `fix:"1379"` //LegDividendYield is a non-required field for NoLegs. diff --git a/fix50sp1/instrmtleggrp/InstrmtLegGrp.go b/fix50sp1/instrmtleggrp/InstrmtLegGrp.go index dea38c40f..3f67b4d77 100644 --- a/fix50sp1/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50sp1/instrmtleggrp/InstrmtLegGrp.go @@ -6,8 +6,8 @@ import ( //NoLegs is a repeating group in InstrmtLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } //InstrmtLegGrp is a fix50sp1 Component diff --git a/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go index dbf58828c..457951ad9 100644 --- a/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50sp1/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -7,12 +7,12 @@ import ( //NoLegs is a repeating group in InstrmtLegIOIGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegIOIQty is a non-required field for NoLegs. LegIOIQty *string `fix:"682"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations } //InstrmtLegIOIGrp is a fix50sp1 Component diff --git a/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index ae7685dc9..b2e62b202 100644 --- a/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50sp1/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -8,16 +8,16 @@ import ( //NoLegs is a repeating group in InstrmtLegSecListGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` //LegSettlType is a non-required field for NoLegs. LegSettlType *string `fix:"587"` - //LegStipulations Component - legstipulations.LegStipulations - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } //InstrmtLegSecListGrp is a fix50sp1 Component diff --git a/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go index e2a1c7908..7cff60c3b 100644 --- a/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50sp1/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -8,12 +8,12 @@ import ( //NoRelatedSym is a repeating group in InstrmtMDReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` //QuoteType is a non-required field for NoRelatedSym. diff --git a/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index 9a2f2f62e..0da50e015 100644 --- a/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50sp1/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -7,10 +7,10 @@ import ( //NoStrikes is a repeating group in InstrmtStrkPxGrp type NoStrikes struct { - //Instrument Component + //Instrument is a required component for NoStrikes. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NoStrikes. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoStrikes. PrevClosePx *float64 `fix:"140"` //ClOrdID is a non-required field for NoStrikes. diff --git a/fix50sp1/instrument/Instrument.go b/fix50sp1/instrument/Instrument.go index 7c14d11aa..4c091d559 100644 --- a/fix50sp1/instrument/Instrument.go +++ b/fix50sp1/instrument/Instrument.go @@ -17,8 +17,8 @@ type Instrument struct { SecurityID *string `fix:"48"` //SecurityIDSource is a non-required field for Instrument. SecurityIDSource *string `fix:"22"` - //SecAltIDGrp Component - secaltidgrp.SecAltIDGrp + //SecAltIDGrp is a non-required component for Instrument. + SecAltIDGrp *secaltidgrp.SecAltIDGrp //Product is a non-required field for Instrument. Product *int `fix:"460"` //CFICode is a non-required field for Instrument. @@ -87,8 +87,8 @@ type Instrument struct { CPProgram *int `fix:"875"` //CPRegType is a non-required field for Instrument. CPRegType *string `fix:"876"` - //EvntGrp Component - evntgrp.EvntGrp + //EvntGrp is a non-required component for Instrument. + EvntGrp *evntgrp.EvntGrp //DatedDate is a non-required field for Instrument. DatedDate *string `fix:"873"` //InterestAccrualDate is a non-required field for Instrument. @@ -109,8 +109,8 @@ type Instrument struct { PositionLimit *int `fix:"970"` //NTPositionLimit is a non-required field for Instrument. NTPositionLimit *int `fix:"971"` - //InstrumentParties Component - instrumentparties.InstrumentParties + //InstrumentParties is a non-required component for Instrument. + InstrumentParties *instrumentparties.InstrumentParties //UnitOfMeasure is a non-required field for Instrument. UnitOfMeasure *string `fix:"996"` //TimeUnit is a non-required field for Instrument. @@ -123,8 +123,8 @@ type Instrument struct { MinPriceIncrementAmount *float64 `fix:"1146"` //UnitOfMeasureQty is a non-required field for Instrument. UnitOfMeasureQty *float64 `fix:"1147"` - //SecurityXML Component - securityxml.SecurityXML + //SecurityXML is a non-required component for Instrument. + SecurityXML *securityxml.SecurityXML //ProductComplex is a non-required field for Instrument. ProductComplex *string `fix:"1227"` //PriceUnitOfMeasure is a non-required field for Instrument. @@ -155,72 +155,78 @@ type Instrument struct { FuturesValuationMethod *string `fix:"1197"` } -func (m *Instrument) SetSymbol(v string) { m.Symbol = &v } -func (m *Instrument) SetSymbolSfx(v string) { m.SymbolSfx = &v } -func (m *Instrument) SetSecurityID(v string) { m.SecurityID = &v } -func (m *Instrument) SetSecurityIDSource(v string) { m.SecurityIDSource = &v } -func (m *Instrument) SetProduct(v int) { m.Product = &v } -func (m *Instrument) SetCFICode(v string) { m.CFICode = &v } -func (m *Instrument) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Instrument) SetSecuritySubType(v string) { m.SecuritySubType = &v } -func (m *Instrument) SetMaturityMonthYear(v string) { m.MaturityMonthYear = &v } -func (m *Instrument) SetMaturityDate(v string) { m.MaturityDate = &v } -func (m *Instrument) SetCouponPaymentDate(v string) { m.CouponPaymentDate = &v } -func (m *Instrument) SetIssueDate(v string) { m.IssueDate = &v } -func (m *Instrument) SetRepoCollateralSecurityType(v int) { m.RepoCollateralSecurityType = &v } -func (m *Instrument) SetRepurchaseTerm(v int) { m.RepurchaseTerm = &v } -func (m *Instrument) SetRepurchaseRate(v float64) { m.RepurchaseRate = &v } -func (m *Instrument) SetFactor(v float64) { m.Factor = &v } -func (m *Instrument) SetCreditRating(v string) { m.CreditRating = &v } -func (m *Instrument) SetInstrRegistry(v string) { m.InstrRegistry = &v } -func (m *Instrument) SetCountryOfIssue(v string) { m.CountryOfIssue = &v } -func (m *Instrument) SetStateOrProvinceOfIssue(v string) { m.StateOrProvinceOfIssue = &v } -func (m *Instrument) SetLocaleOfIssue(v string) { m.LocaleOfIssue = &v } -func (m *Instrument) SetRedemptionDate(v string) { m.RedemptionDate = &v } -func (m *Instrument) SetStrikePrice(v float64) { m.StrikePrice = &v } -func (m *Instrument) SetStrikeCurrency(v string) { m.StrikeCurrency = &v } -func (m *Instrument) SetOptAttribute(v string) { m.OptAttribute = &v } -func (m *Instrument) SetContractMultiplier(v float64) { m.ContractMultiplier = &v } -func (m *Instrument) SetCouponRate(v float64) { m.CouponRate = &v } -func (m *Instrument) SetSecurityExchange(v string) { m.SecurityExchange = &v } -func (m *Instrument) SetIssuer(v string) { m.Issuer = &v } -func (m *Instrument) SetEncodedIssuerLen(v int) { m.EncodedIssuerLen = &v } -func (m *Instrument) SetEncodedIssuer(v string) { m.EncodedIssuer = &v } -func (m *Instrument) SetSecurityDesc(v string) { m.SecurityDesc = &v } -func (m *Instrument) SetEncodedSecurityDescLen(v int) { m.EncodedSecurityDescLen = &v } -func (m *Instrument) SetEncodedSecurityDesc(v string) { m.EncodedSecurityDesc = &v } -func (m *Instrument) SetPool(v string) { m.Pool = &v } -func (m *Instrument) SetContractSettlMonth(v string) { m.ContractSettlMonth = &v } -func (m *Instrument) SetCPProgram(v int) { m.CPProgram = &v } -func (m *Instrument) SetCPRegType(v string) { m.CPRegType = &v } -func (m *Instrument) SetDatedDate(v string) { m.DatedDate = &v } -func (m *Instrument) SetInterestAccrualDate(v string) { m.InterestAccrualDate = &v } -func (m *Instrument) SetSecurityStatus(v string) { m.SecurityStatus = &v } -func (m *Instrument) SetSettleOnOpenFlag(v string) { m.SettleOnOpenFlag = &v } -func (m *Instrument) SetInstrmtAssignmentMethod(v string) { m.InstrmtAssignmentMethod = &v } -func (m *Instrument) SetStrikeMultiplier(v float64) { m.StrikeMultiplier = &v } -func (m *Instrument) SetStrikeValue(v float64) { m.StrikeValue = &v } -func (m *Instrument) SetMinPriceIncrement(v float64) { m.MinPriceIncrement = &v } -func (m *Instrument) SetPositionLimit(v int) { m.PositionLimit = &v } -func (m *Instrument) SetNTPositionLimit(v int) { m.NTPositionLimit = &v } -func (m *Instrument) SetUnitOfMeasure(v string) { m.UnitOfMeasure = &v } -func (m *Instrument) SetTimeUnit(v string) { m.TimeUnit = &v } -func (m *Instrument) SetMaturityTime(v string) { m.MaturityTime = &v } -func (m *Instrument) SetSecurityGroup(v string) { m.SecurityGroup = &v } -func (m *Instrument) SetMinPriceIncrementAmount(v float64) { m.MinPriceIncrementAmount = &v } -func (m *Instrument) SetUnitOfMeasureQty(v float64) { m.UnitOfMeasureQty = &v } -func (m *Instrument) SetProductComplex(v string) { m.ProductComplex = &v } -func (m *Instrument) SetPriceUnitOfMeasure(v string) { m.PriceUnitOfMeasure = &v } -func (m *Instrument) SetPriceUnitOfMeasureQty(v float64) { m.PriceUnitOfMeasureQty = &v } -func (m *Instrument) SetSettlMethod(v string) { m.SettlMethod = &v } -func (m *Instrument) SetExerciseStyle(v int) { m.ExerciseStyle = &v } -func (m *Instrument) SetOptPayAmount(v float64) { m.OptPayAmount = &v } -func (m *Instrument) SetPriceQuoteMethod(v string) { m.PriceQuoteMethod = &v } -func (m *Instrument) SetListMethod(v int) { m.ListMethod = &v } -func (m *Instrument) SetCapPrice(v float64) { m.CapPrice = &v } -func (m *Instrument) SetFloorPrice(v float64) { m.FloorPrice = &v } -func (m *Instrument) SetPutOrCall(v int) { m.PutOrCall = &v } -func (m *Instrument) SetFlexibleIndicator(v bool) { m.FlexibleIndicator = &v } +func (m *Instrument) SetSymbol(v string) { m.Symbol = &v } +func (m *Instrument) SetSymbolSfx(v string) { m.SymbolSfx = &v } +func (m *Instrument) SetSecurityID(v string) { m.SecurityID = &v } +func (m *Instrument) SetSecurityIDSource(v string) { m.SecurityIDSource = &v } +func (m *Instrument) SetSecAltIDGrp(v secaltidgrp.SecAltIDGrp) { m.SecAltIDGrp = &v } +func (m *Instrument) SetProduct(v int) { m.Product = &v } +func (m *Instrument) SetCFICode(v string) { m.CFICode = &v } +func (m *Instrument) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Instrument) SetSecuritySubType(v string) { m.SecuritySubType = &v } +func (m *Instrument) SetMaturityMonthYear(v string) { m.MaturityMonthYear = &v } +func (m *Instrument) SetMaturityDate(v string) { m.MaturityDate = &v } +func (m *Instrument) SetCouponPaymentDate(v string) { m.CouponPaymentDate = &v } +func (m *Instrument) SetIssueDate(v string) { m.IssueDate = &v } +func (m *Instrument) SetRepoCollateralSecurityType(v int) { m.RepoCollateralSecurityType = &v } +func (m *Instrument) SetRepurchaseTerm(v int) { m.RepurchaseTerm = &v } +func (m *Instrument) SetRepurchaseRate(v float64) { m.RepurchaseRate = &v } +func (m *Instrument) SetFactor(v float64) { m.Factor = &v } +func (m *Instrument) SetCreditRating(v string) { m.CreditRating = &v } +func (m *Instrument) SetInstrRegistry(v string) { m.InstrRegistry = &v } +func (m *Instrument) SetCountryOfIssue(v string) { m.CountryOfIssue = &v } +func (m *Instrument) SetStateOrProvinceOfIssue(v string) { m.StateOrProvinceOfIssue = &v } +func (m *Instrument) SetLocaleOfIssue(v string) { m.LocaleOfIssue = &v } +func (m *Instrument) SetRedemptionDate(v string) { m.RedemptionDate = &v } +func (m *Instrument) SetStrikePrice(v float64) { m.StrikePrice = &v } +func (m *Instrument) SetStrikeCurrency(v string) { m.StrikeCurrency = &v } +func (m *Instrument) SetOptAttribute(v string) { m.OptAttribute = &v } +func (m *Instrument) SetContractMultiplier(v float64) { m.ContractMultiplier = &v } +func (m *Instrument) SetCouponRate(v float64) { m.CouponRate = &v } +func (m *Instrument) SetSecurityExchange(v string) { m.SecurityExchange = &v } +func (m *Instrument) SetIssuer(v string) { m.Issuer = &v } +func (m *Instrument) SetEncodedIssuerLen(v int) { m.EncodedIssuerLen = &v } +func (m *Instrument) SetEncodedIssuer(v string) { m.EncodedIssuer = &v } +func (m *Instrument) SetSecurityDesc(v string) { m.SecurityDesc = &v } +func (m *Instrument) SetEncodedSecurityDescLen(v int) { m.EncodedSecurityDescLen = &v } +func (m *Instrument) SetEncodedSecurityDesc(v string) { m.EncodedSecurityDesc = &v } +func (m *Instrument) SetPool(v string) { m.Pool = &v } +func (m *Instrument) SetContractSettlMonth(v string) { m.ContractSettlMonth = &v } +func (m *Instrument) SetCPProgram(v int) { m.CPProgram = &v } +func (m *Instrument) SetCPRegType(v string) { m.CPRegType = &v } +func (m *Instrument) SetEvntGrp(v evntgrp.EvntGrp) { m.EvntGrp = &v } +func (m *Instrument) SetDatedDate(v string) { m.DatedDate = &v } +func (m *Instrument) SetInterestAccrualDate(v string) { m.InterestAccrualDate = &v } +func (m *Instrument) SetSecurityStatus(v string) { m.SecurityStatus = &v } +func (m *Instrument) SetSettleOnOpenFlag(v string) { m.SettleOnOpenFlag = &v } +func (m *Instrument) SetInstrmtAssignmentMethod(v string) { m.InstrmtAssignmentMethod = &v } +func (m *Instrument) SetStrikeMultiplier(v float64) { m.StrikeMultiplier = &v } +func (m *Instrument) SetStrikeValue(v float64) { m.StrikeValue = &v } +func (m *Instrument) SetMinPriceIncrement(v float64) { m.MinPriceIncrement = &v } +func (m *Instrument) SetPositionLimit(v int) { m.PositionLimit = &v } +func (m *Instrument) SetNTPositionLimit(v int) { m.NTPositionLimit = &v } +func (m *Instrument) SetInstrumentParties(v instrumentparties.InstrumentParties) { + m.InstrumentParties = &v +} +func (m *Instrument) SetUnitOfMeasure(v string) { m.UnitOfMeasure = &v } +func (m *Instrument) SetTimeUnit(v string) { m.TimeUnit = &v } +func (m *Instrument) SetMaturityTime(v string) { m.MaturityTime = &v } +func (m *Instrument) SetSecurityGroup(v string) { m.SecurityGroup = &v } +func (m *Instrument) SetMinPriceIncrementAmount(v float64) { m.MinPriceIncrementAmount = &v } +func (m *Instrument) SetUnitOfMeasureQty(v float64) { m.UnitOfMeasureQty = &v } +func (m *Instrument) SetSecurityXML(v securityxml.SecurityXML) { m.SecurityXML = &v } +func (m *Instrument) SetProductComplex(v string) { m.ProductComplex = &v } +func (m *Instrument) SetPriceUnitOfMeasure(v string) { m.PriceUnitOfMeasure = &v } +func (m *Instrument) SetPriceUnitOfMeasureQty(v float64) { m.PriceUnitOfMeasureQty = &v } +func (m *Instrument) SetSettlMethod(v string) { m.SettlMethod = &v } +func (m *Instrument) SetExerciseStyle(v int) { m.ExerciseStyle = &v } +func (m *Instrument) SetOptPayAmount(v float64) { m.OptPayAmount = &v } +func (m *Instrument) SetPriceQuoteMethod(v string) { m.PriceQuoteMethod = &v } +func (m *Instrument) SetListMethod(v int) { m.ListMethod = &v } +func (m *Instrument) SetCapPrice(v float64) { m.CapPrice = &v } +func (m *Instrument) SetFloorPrice(v float64) { m.FloorPrice = &v } +func (m *Instrument) SetPutOrCall(v int) { m.PutOrCall = &v } +func (m *Instrument) SetFlexibleIndicator(v bool) { m.FlexibleIndicator = &v } func (m *Instrument) SetFlexProductEligibilityIndicator(v bool) { m.FlexProductEligibilityIndicator = &v } diff --git a/fix50sp1/instrumentextension/InstrumentExtension.go b/fix50sp1/instrumentextension/InstrumentExtension.go index 31155ac47..ef26a0ea9 100644 --- a/fix50sp1/instrumentextension/InstrumentExtension.go +++ b/fix50sp1/instrumentextension/InstrumentExtension.go @@ -10,9 +10,10 @@ type InstrumentExtension struct { DeliveryForm *int `fix:"668"` //PctAtRisk is a non-required field for InstrumentExtension. PctAtRisk *float64 `fix:"869"` - //AttrbGrp Component - attrbgrp.AttrbGrp + //AttrbGrp is a non-required component for InstrumentExtension. + AttrbGrp *attrbgrp.AttrbGrp } -func (m *InstrumentExtension) SetDeliveryForm(v int) { m.DeliveryForm = &v } -func (m *InstrumentExtension) SetPctAtRisk(v float64) { m.PctAtRisk = &v } +func (m *InstrumentExtension) SetDeliveryForm(v int) { m.DeliveryForm = &v } +func (m *InstrumentExtension) SetPctAtRisk(v float64) { m.PctAtRisk = &v } +func (m *InstrumentExtension) SetAttrbGrp(v attrbgrp.AttrbGrp) { m.AttrbGrp = &v } diff --git a/fix50sp1/instrumentleg/InstrumentLeg.go b/fix50sp1/instrumentleg/InstrumentLeg.go index 6f5e58cae..d80fb4016 100644 --- a/fix50sp1/instrumentleg/InstrumentLeg.go +++ b/fix50sp1/instrumentleg/InstrumentLeg.go @@ -14,8 +14,8 @@ type InstrumentLeg struct { LegSecurityID *string `fix:"602"` //LegSecurityIDSource is a non-required field for InstrumentLeg. LegSecurityIDSource *string `fix:"603"` - //LegSecAltIDGrp Component - legsecaltidgrp.LegSecAltIDGrp + //LegSecAltIDGrp is a non-required component for InstrumentLeg. + LegSecAltIDGrp *legsecaltidgrp.LegSecAltIDGrp //LegProduct is a non-required field for InstrumentLeg. LegProduct *int `fix:"607"` //LegCFICode is a non-required field for InstrumentLeg. @@ -112,54 +112,55 @@ type InstrumentLeg struct { LegPriceUnitOfMeasureQty *float64 `fix:"1422"` } -func (m *InstrumentLeg) SetLegSymbol(v string) { m.LegSymbol = &v } -func (m *InstrumentLeg) SetLegSymbolSfx(v string) { m.LegSymbolSfx = &v } -func (m *InstrumentLeg) SetLegSecurityID(v string) { m.LegSecurityID = &v } -func (m *InstrumentLeg) SetLegSecurityIDSource(v string) { m.LegSecurityIDSource = &v } -func (m *InstrumentLeg) SetLegProduct(v int) { m.LegProduct = &v } -func (m *InstrumentLeg) SetLegCFICode(v string) { m.LegCFICode = &v } -func (m *InstrumentLeg) SetLegSecurityType(v string) { m.LegSecurityType = &v } -func (m *InstrumentLeg) SetLegSecuritySubType(v string) { m.LegSecuritySubType = &v } -func (m *InstrumentLeg) SetLegMaturityMonthYear(v string) { m.LegMaturityMonthYear = &v } -func (m *InstrumentLeg) SetLegMaturityDate(v string) { m.LegMaturityDate = &v } -func (m *InstrumentLeg) SetLegCouponPaymentDate(v string) { m.LegCouponPaymentDate = &v } -func (m *InstrumentLeg) SetLegIssueDate(v string) { m.LegIssueDate = &v } -func (m *InstrumentLeg) SetLegRepoCollateralSecurityType(v int) { m.LegRepoCollateralSecurityType = &v } -func (m *InstrumentLeg) SetLegRepurchaseTerm(v int) { m.LegRepurchaseTerm = &v } -func (m *InstrumentLeg) SetLegRepurchaseRate(v float64) { m.LegRepurchaseRate = &v } -func (m *InstrumentLeg) SetLegFactor(v float64) { m.LegFactor = &v } -func (m *InstrumentLeg) SetLegCreditRating(v string) { m.LegCreditRating = &v } -func (m *InstrumentLeg) SetLegInstrRegistry(v string) { m.LegInstrRegistry = &v } -func (m *InstrumentLeg) SetLegCountryOfIssue(v string) { m.LegCountryOfIssue = &v } -func (m *InstrumentLeg) SetLegStateOrProvinceOfIssue(v string) { m.LegStateOrProvinceOfIssue = &v } -func (m *InstrumentLeg) SetLegLocaleOfIssue(v string) { m.LegLocaleOfIssue = &v } -func (m *InstrumentLeg) SetLegRedemptionDate(v string) { m.LegRedemptionDate = &v } -func (m *InstrumentLeg) SetLegStrikePrice(v float64) { m.LegStrikePrice = &v } -func (m *InstrumentLeg) SetLegStrikeCurrency(v string) { m.LegStrikeCurrency = &v } -func (m *InstrumentLeg) SetLegOptAttribute(v string) { m.LegOptAttribute = &v } -func (m *InstrumentLeg) SetLegContractMultiplier(v float64) { m.LegContractMultiplier = &v } -func (m *InstrumentLeg) SetLegCouponRate(v float64) { m.LegCouponRate = &v } -func (m *InstrumentLeg) SetLegSecurityExchange(v string) { m.LegSecurityExchange = &v } -func (m *InstrumentLeg) SetLegIssuer(v string) { m.LegIssuer = &v } -func (m *InstrumentLeg) SetEncodedLegIssuerLen(v int) { m.EncodedLegIssuerLen = &v } -func (m *InstrumentLeg) SetEncodedLegIssuer(v string) { m.EncodedLegIssuer = &v } -func (m *InstrumentLeg) SetLegSecurityDesc(v string) { m.LegSecurityDesc = &v } -func (m *InstrumentLeg) SetEncodedLegSecurityDescLen(v int) { m.EncodedLegSecurityDescLen = &v } -func (m *InstrumentLeg) SetEncodedLegSecurityDesc(v string) { m.EncodedLegSecurityDesc = &v } -func (m *InstrumentLeg) SetLegRatioQty(v float64) { m.LegRatioQty = &v } -func (m *InstrumentLeg) SetLegSide(v string) { m.LegSide = &v } -func (m *InstrumentLeg) SetLegCurrency(v string) { m.LegCurrency = &v } -func (m *InstrumentLeg) SetLegPool(v string) { m.LegPool = &v } -func (m *InstrumentLeg) SetLegDatedDate(v string) { m.LegDatedDate = &v } -func (m *InstrumentLeg) SetLegContractSettlMonth(v string) { m.LegContractSettlMonth = &v } -func (m *InstrumentLeg) SetLegInterestAccrualDate(v string) { m.LegInterestAccrualDate = &v } -func (m *InstrumentLeg) SetLegUnitOfMeasure(v string) { m.LegUnitOfMeasure = &v } -func (m *InstrumentLeg) SetLegTimeUnit(v string) { m.LegTimeUnit = &v } -func (m *InstrumentLeg) SetLegOptionRatio(v float64) { m.LegOptionRatio = &v } -func (m *InstrumentLeg) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *InstrumentLeg) SetLegMaturityTime(v string) { m.LegMaturityTime = &v } -func (m *InstrumentLeg) SetLegPutOrCall(v int) { m.LegPutOrCall = &v } -func (m *InstrumentLeg) SetLegExerciseStyle(v int) { m.LegExerciseStyle = &v } -func (m *InstrumentLeg) SetLegUnitOfMeasureQty(v float64) { m.LegUnitOfMeasureQty = &v } -func (m *InstrumentLeg) SetLegPriceUnitOfMeasure(v string) { m.LegPriceUnitOfMeasure = &v } -func (m *InstrumentLeg) SetLegPriceUnitOfMeasureQty(v float64) { m.LegPriceUnitOfMeasureQty = &v } +func (m *InstrumentLeg) SetLegSymbol(v string) { m.LegSymbol = &v } +func (m *InstrumentLeg) SetLegSymbolSfx(v string) { m.LegSymbolSfx = &v } +func (m *InstrumentLeg) SetLegSecurityID(v string) { m.LegSecurityID = &v } +func (m *InstrumentLeg) SetLegSecurityIDSource(v string) { m.LegSecurityIDSource = &v } +func (m *InstrumentLeg) SetLegSecAltIDGrp(v legsecaltidgrp.LegSecAltIDGrp) { m.LegSecAltIDGrp = &v } +func (m *InstrumentLeg) SetLegProduct(v int) { m.LegProduct = &v } +func (m *InstrumentLeg) SetLegCFICode(v string) { m.LegCFICode = &v } +func (m *InstrumentLeg) SetLegSecurityType(v string) { m.LegSecurityType = &v } +func (m *InstrumentLeg) SetLegSecuritySubType(v string) { m.LegSecuritySubType = &v } +func (m *InstrumentLeg) SetLegMaturityMonthYear(v string) { m.LegMaturityMonthYear = &v } +func (m *InstrumentLeg) SetLegMaturityDate(v string) { m.LegMaturityDate = &v } +func (m *InstrumentLeg) SetLegCouponPaymentDate(v string) { m.LegCouponPaymentDate = &v } +func (m *InstrumentLeg) SetLegIssueDate(v string) { m.LegIssueDate = &v } +func (m *InstrumentLeg) SetLegRepoCollateralSecurityType(v int) { m.LegRepoCollateralSecurityType = &v } +func (m *InstrumentLeg) SetLegRepurchaseTerm(v int) { m.LegRepurchaseTerm = &v } +func (m *InstrumentLeg) SetLegRepurchaseRate(v float64) { m.LegRepurchaseRate = &v } +func (m *InstrumentLeg) SetLegFactor(v float64) { m.LegFactor = &v } +func (m *InstrumentLeg) SetLegCreditRating(v string) { m.LegCreditRating = &v } +func (m *InstrumentLeg) SetLegInstrRegistry(v string) { m.LegInstrRegistry = &v } +func (m *InstrumentLeg) SetLegCountryOfIssue(v string) { m.LegCountryOfIssue = &v } +func (m *InstrumentLeg) SetLegStateOrProvinceOfIssue(v string) { m.LegStateOrProvinceOfIssue = &v } +func (m *InstrumentLeg) SetLegLocaleOfIssue(v string) { m.LegLocaleOfIssue = &v } +func (m *InstrumentLeg) SetLegRedemptionDate(v string) { m.LegRedemptionDate = &v } +func (m *InstrumentLeg) SetLegStrikePrice(v float64) { m.LegStrikePrice = &v } +func (m *InstrumentLeg) SetLegStrikeCurrency(v string) { m.LegStrikeCurrency = &v } +func (m *InstrumentLeg) SetLegOptAttribute(v string) { m.LegOptAttribute = &v } +func (m *InstrumentLeg) SetLegContractMultiplier(v float64) { m.LegContractMultiplier = &v } +func (m *InstrumentLeg) SetLegCouponRate(v float64) { m.LegCouponRate = &v } +func (m *InstrumentLeg) SetLegSecurityExchange(v string) { m.LegSecurityExchange = &v } +func (m *InstrumentLeg) SetLegIssuer(v string) { m.LegIssuer = &v } +func (m *InstrumentLeg) SetEncodedLegIssuerLen(v int) { m.EncodedLegIssuerLen = &v } +func (m *InstrumentLeg) SetEncodedLegIssuer(v string) { m.EncodedLegIssuer = &v } +func (m *InstrumentLeg) SetLegSecurityDesc(v string) { m.LegSecurityDesc = &v } +func (m *InstrumentLeg) SetEncodedLegSecurityDescLen(v int) { m.EncodedLegSecurityDescLen = &v } +func (m *InstrumentLeg) SetEncodedLegSecurityDesc(v string) { m.EncodedLegSecurityDesc = &v } +func (m *InstrumentLeg) SetLegRatioQty(v float64) { m.LegRatioQty = &v } +func (m *InstrumentLeg) SetLegSide(v string) { m.LegSide = &v } +func (m *InstrumentLeg) SetLegCurrency(v string) { m.LegCurrency = &v } +func (m *InstrumentLeg) SetLegPool(v string) { m.LegPool = &v } +func (m *InstrumentLeg) SetLegDatedDate(v string) { m.LegDatedDate = &v } +func (m *InstrumentLeg) SetLegContractSettlMonth(v string) { m.LegContractSettlMonth = &v } +func (m *InstrumentLeg) SetLegInterestAccrualDate(v string) { m.LegInterestAccrualDate = &v } +func (m *InstrumentLeg) SetLegUnitOfMeasure(v string) { m.LegUnitOfMeasure = &v } +func (m *InstrumentLeg) SetLegTimeUnit(v string) { m.LegTimeUnit = &v } +func (m *InstrumentLeg) SetLegOptionRatio(v float64) { m.LegOptionRatio = &v } +func (m *InstrumentLeg) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *InstrumentLeg) SetLegMaturityTime(v string) { m.LegMaturityTime = &v } +func (m *InstrumentLeg) SetLegPutOrCall(v int) { m.LegPutOrCall = &v } +func (m *InstrumentLeg) SetLegExerciseStyle(v int) { m.LegExerciseStyle = &v } +func (m *InstrumentLeg) SetLegUnitOfMeasureQty(v float64) { m.LegUnitOfMeasureQty = &v } +func (m *InstrumentLeg) SetLegPriceUnitOfMeasure(v string) { m.LegPriceUnitOfMeasure = &v } +func (m *InstrumentLeg) SetLegPriceUnitOfMeasureQty(v float64) { m.LegPriceUnitOfMeasureQty = &v } diff --git a/fix50sp1/instrumentparties/InstrumentParties.go b/fix50sp1/instrumentparties/InstrumentParties.go index ddf017637..387c054fa 100644 --- a/fix50sp1/instrumentparties/InstrumentParties.go +++ b/fix50sp1/instrumentparties/InstrumentParties.go @@ -12,8 +12,8 @@ type NoInstrumentParties struct { InstrumentPartyIDSource *string `fix:"1050"` //InstrumentPartyRole is a non-required field for NoInstrumentParties. InstrumentPartyRole *int `fix:"1051"` - //InstrumentPtysSubGrp Component - instrumentptyssubgrp.InstrumentPtysSubGrp + //InstrumentPtysSubGrp is a non-required component for NoInstrumentParties. + InstrumentPtysSubGrp *instrumentptyssubgrp.InstrumentPtysSubGrp } //InstrumentParties is a fix50sp1 Component diff --git a/fix50sp1/ioi/IOI.go b/fix50sp1/ioi/IOI.go index e9210e5cd..a2f2048cf 100644 --- a/fix50sp1/ioi/IOI.go +++ b/fix50sp1/ioi/IOI.go @@ -30,26 +30,26 @@ type Message struct { IOITransType string `fix:"28"` //IOIRefID is a non-required field for IOI. IOIRefID *string `fix:"26"` - //Instrument Component + //Instrument is a required component for IOI. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for IOI. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for IOI. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for IOI. Side string `fix:"54"` //QtyType is a non-required field for IOI. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for IOI. + OrderQtyData *orderqtydata.OrderQtyData //IOIQty is a required field for IOI. IOIQty string `fix:"27"` //Currency is a non-required field for IOI. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations - //InstrmtLegIOIGrp Component - instrmtlegioigrp.InstrmtLegIOIGrp + //Stipulations is a non-required component for IOI. + Stipulations *stipulations.Stipulations + //InstrmtLegIOIGrp is a non-required component for IOI. + InstrmtLegIOIGrp *instrmtlegioigrp.InstrmtLegIOIGrp //PriceType is a non-required field for IOI. PriceType *int `fix:"423"` //Price is a non-required field for IOI. @@ -60,8 +60,8 @@ type Message struct { IOIQltyInd *string `fix:"25"` //IOINaturalFlag is a non-required field for IOI. IOINaturalFlag *bool `fix:"130"` - //IOIQualGrp Component - ioiqualgrp.IOIQualGrp + //IOIQualGrp is a non-required component for IOI. + IOIQualGrp *ioiqualgrp.IOIQualGrp //Text is a non-required field for IOI. Text *string `fix:"58"` //EncodedTextLen is a non-required field for IOI. @@ -72,39 +72,55 @@ type Message struct { TransactTime *time.Time `fix:"60"` //URLLink is a non-required field for IOI. URLLink *string `fix:"149"` - //RoutingGrp Component - routinggrp.RoutingGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RoutingGrp is a non-required component for IOI. + RoutingGrp *routinggrp.RoutingGrp + //SpreadOrBenchmarkCurveData is a non-required component for IOI. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for IOI. + YieldData *yielddata.YieldData + //Parties is a non-required component for IOI. + Parties *parties.Parties + //ApplicationSequenceControl is a non-required component for IOI. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetIOIID(v string) { m.IOIID = v } -func (m *Message) SetIOITransType(v string) { m.IOITransType = v } -func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetIOIQty(v string) { m.IOIQty = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } -func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = v } +func (m *Message) SetIOITransType(v string) { m.IOITransType = v } +func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetIOIQty(v string) { m.IOIQty = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetInstrmtLegIOIGrp(v instrmtlegioigrp.InstrmtLegIOIGrp) { m.InstrmtLegIOIGrp = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } +func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } +func (m *Message) SetIOIQualGrp(v ioiqualgrp.IOIQualGrp) { m.IOIQualGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/legordgrp/LegOrdGrp.go b/fix50sp1/legordgrp/LegOrdGrp.go index 4f5a100bf..fbe56d4b2 100644 --- a/fix50sp1/legordgrp/LegOrdGrp.go +++ b/fix50sp1/legordgrp/LegOrdGrp.go @@ -9,22 +9,22 @@ import ( //NoLegs is a repeating group in LegOrdGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations - //LegPreAllocGrp Component - legpreallocgrp.LegPreAllocGrp + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegPreAllocGrp is a non-required component for NoLegs. + LegPreAllocGrp *legpreallocgrp.LegPreAllocGrp //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegSettlType is a non-required field for NoLegs. diff --git a/fix50sp1/legpreallocgrp/LegPreAllocGrp.go b/fix50sp1/legpreallocgrp/LegPreAllocGrp.go index 3f0c51908..82506b2e5 100644 --- a/fix50sp1/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50sp1/legpreallocgrp/LegPreAllocGrp.go @@ -16,8 +16,8 @@ type NoLegAllocs struct { LegAllocAcctIDSource *string `fix:"674"` //LegAllocSettlCurrency is a non-required field for NoLegAllocs. LegAllocSettlCurrency *string `fix:"1367"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoLegAllocs. + NestedParties2 *nestedparties2.NestedParties2 } //LegPreAllocGrp is a fix50sp1 Component diff --git a/fix50sp1/legquotgrp/LegQuotGrp.go b/fix50sp1/legquotgrp/LegQuotGrp.go index 9267631c7..d049a9a42 100644 --- a/fix50sp1/legquotgrp/LegQuotGrp.go +++ b/fix50sp1/legquotgrp/LegQuotGrp.go @@ -9,8 +9,8 @@ import ( //NoLegs is a repeating group in LegQuotGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -19,18 +19,18 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegPriceType is a non-required field for NoLegs. LegPriceType *int `fix:"686"` //LegBidPx is a non-required field for NoLegs. LegBidPx *float64 `fix:"681"` //LegOfferPx is a non-required field for NoLegs. LegOfferPx *float64 `fix:"684"` - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` //LegRefID is a non-required field for NoLegs. diff --git a/fix50sp1/legquotstatgrp/LegQuotStatGrp.go b/fix50sp1/legquotstatgrp/LegQuotStatGrp.go index 8e46c535b..86f255c3a 100644 --- a/fix50sp1/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50sp1/legquotstatgrp/LegQuotStatGrp.go @@ -8,8 +8,8 @@ import ( //NoLegs is a repeating group in LegQuotStatGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -18,10 +18,10 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` } diff --git a/fix50sp1/listcancelrequest/ListCancelRequest.go b/fix50sp1/listcancelrequest/ListCancelRequest.go index 82af576ce..729e50a6a 100644 --- a/fix50sp1/listcancelrequest/ListCancelRequest.go +++ b/fix50sp1/listcancelrequest/ListCancelRequest.go @@ -27,8 +27,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ListCancelRequest. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for ListCancelRequest. + Parties *parties.Parties fixt11.Trailer } @@ -42,6 +42,7 @@ func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/listordgrp/ListOrdGrp.go b/fix50sp1/listordgrp/ListOrdGrp.go index 18a280925..27028d6d8 100644 --- a/fix50sp1/listordgrp/ListOrdGrp.go +++ b/fix50sp1/listordgrp/ListOrdGrp.go @@ -31,8 +31,8 @@ type NoOrders struct { ClOrdLinkID *string `fix:"583"` //SettlInstMode is a non-required field for NoOrders. SettlInstMode *string `fix:"160"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoOrders. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoOrders. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoOrders. @@ -51,8 +51,8 @@ type NoOrders struct { AllocID *string `fix:"70"` //PreallocMethod is a non-required field for NoOrders. PreallocMethod *string `fix:"591"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NoOrders. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for NoOrders. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoOrders. @@ -71,14 +71,14 @@ type NoOrders struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NoOrders. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NoOrders. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NoOrders. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NoOrders. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NoOrders. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoOrders. PrevClosePx *float64 `fix:"140"` //Side is a required field for NoOrders. @@ -89,11 +89,11 @@ type NoOrders struct { LocateReqd *bool `fix:"114"` //TransactTime is a non-required field for NoOrders. TransactTime *time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoOrders. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NoOrders. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoOrders. orderqtydata.OrderQtyData //OrdType is a non-required field for NoOrders. OrdType *string `fix:"40"` @@ -103,10 +103,10 @@ type NoOrders struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NoOrders. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoOrders. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoOrders. + YieldData *yielddata.YieldData //Currency is a non-required field for NoOrders. Currency *string `fix:"15"` //ComplianceID is a non-required field for NoOrders. @@ -127,8 +127,8 @@ type NoOrders struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NoOrders. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoOrders. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoOrders. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoOrders. @@ -159,10 +159,10 @@ type NoOrders struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NoOrders. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NoOrders. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NoOrders. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NoOrders. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NoOrders. @@ -171,18 +171,18 @@ type NoOrders struct { ParticipationRate *float64 `fix:"849"` //Designation is a non-required field for NoOrders. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NoOrders. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //MatchIncrement is a non-required field for NoOrders. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NoOrders. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NoOrders. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NoOrders. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NoOrders. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //RefOrderID is a non-required field for NoOrders. RefOrderID *string `fix:"1080"` //RefOrderIDSource is a non-required field for NoOrders. diff --git a/fix50sp1/liststatus/ListStatus.go b/fix50sp1/liststatus/ListStatus.go index c296e9d34..ce4a896b7 100644 --- a/fix50sp1/liststatus/ListStatus.go +++ b/fix50sp1/liststatus/ListStatus.go @@ -35,7 +35,7 @@ type Message struct { TotNoOrders int `fix:"68"` //LastFragment is a non-required field for ListStatus. LastFragment *bool `fix:"893"` - //OrdListStatGrp Component + //OrdListStatGrp is a required component for ListStatus. ordliststatgrp.OrdListStatGrp //ContingencyType is a non-required field for ListStatus. ContingencyType *int `fix:"1385"` @@ -47,19 +47,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetListStatusType(v int) { m.ListStatusType = v } -func (m *Message) SetNoRpts(v int) { m.NoRpts = v } -func (m *Message) SetListOrderStatus(v int) { m.ListOrderStatus = v } -func (m *Message) SetRptSeq(v int) { m.RptSeq = v } -func (m *Message) SetListStatusText(v string) { m.ListStatusText = &v } -func (m *Message) SetEncodedListStatusTextLen(v int) { m.EncodedListStatusTextLen = &v } -func (m *Message) SetEncodedListStatusText(v string) { m.EncodedListStatusText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } -func (m *Message) SetListRejectReason(v int) { m.ListRejectReason = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetListStatusType(v int) { m.ListStatusType = v } +func (m *Message) SetNoRpts(v int) { m.NoRpts = v } +func (m *Message) SetListOrderStatus(v int) { m.ListOrderStatus = v } +func (m *Message) SetRptSeq(v int) { m.RptSeq = v } +func (m *Message) SetListStatusText(v string) { m.ListStatusText = &v } +func (m *Message) SetEncodedListStatusTextLen(v int) { m.EncodedListStatusTextLen = &v } +func (m *Message) SetEncodedListStatusText(v string) { m.EncodedListStatusText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetOrdListStatGrp(v ordliststatgrp.OrdListStatGrp) { m.OrdListStatGrp = v } +func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } +func (m *Message) SetListRejectReason(v int) { m.ListRejectReason = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/liststrikeprice/ListStrikePrice.go b/fix50sp1/liststrikeprice/ListStrikePrice.go index ae786bd81..740052937 100644 --- a/fix50sp1/liststrikeprice/ListStrikePrice.go +++ b/fix50sp1/liststrikeprice/ListStrikePrice.go @@ -18,7 +18,7 @@ type Message struct { TotNoStrikes int `fix:"422"` //LastFragment is a non-required field for ListStrikePrice. LastFragment *bool `fix:"893"` - //InstrmtStrkPxGrp Component + //InstrmtStrkPxGrp is a required component for ListStrikePrice. instrmtstrkpxgrp.InstrmtStrkPxGrp fixt11.Trailer } @@ -26,9 +26,10 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetTotNoStrikes(v int) { m.TotNoStrikes = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetTotNoStrikes(v int) { m.TotNoStrikes = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetInstrmtStrkPxGrp(v instrmtstrkpxgrp.InstrmtStrkPxGrp) { m.InstrmtStrkPxGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix50sp1/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index 2c87827e1..12b3d2522 100644 --- a/fix50sp1/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix50sp1/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -16,7 +16,7 @@ type Message struct { fixt11.Header //MDReqID is a non-required field for MarketDataIncrementalRefresh. MDReqID *string `fix:"262"` - //MDIncGrp Component + //MDIncGrp is a required component for MarketDataIncrementalRefresh. mdincgrp.MDIncGrp //ApplQueueDepth is a non-required field for MarketDataIncrementalRefresh. ApplQueueDepth *int `fix:"813"` @@ -28,22 +28,27 @@ type Message struct { MDFeedType *string `fix:"1022"` //TradeDate is a non-required field for MarketDataIncrementalRefresh. TradeDate *string `fix:"75"` - //RoutingGrp Component - routinggrp.RoutingGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RoutingGrp is a non-required component for MarketDataIncrementalRefresh. + RoutingGrp *routinggrp.RoutingGrp + //ApplicationSequenceControl is a non-required component for MarketDataIncrementalRefresh. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } -func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetMDIncGrp(v mdincgrp.MDIncGrp) { m.MDIncGrp = v } +func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } +func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/marketdatarequest/MarketDataRequest.go b/fix50sp1/marketdatarequest/MarketDataRequest.go index d7c8e2149..3c423900d 100644 --- a/fix50sp1/marketdatarequest/MarketDataRequest.go +++ b/fix50sp1/marketdatarequest/MarketDataRequest.go @@ -31,37 +31,41 @@ type Message struct { Scope *string `fix:"546"` //MDImplicitDelete is a non-required field for MarketDataRequest. MDImplicitDelete *bool `fix:"547"` - //MDReqGrp Component + //MDReqGrp is a required component for MarketDataRequest. mdreqgrp.MDReqGrp - //InstrmtMDReqGrp Component + //InstrmtMDReqGrp is a required component for MarketDataRequest. instrmtmdreqgrp.InstrmtMDReqGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for MarketDataRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ApplQueueAction is a non-required field for MarketDataRequest. ApplQueueAction *int `fix:"815"` //ApplQueueMax is a non-required field for MarketDataRequest. ApplQueueMax *int `fix:"812"` //MDQuoteType is a non-required field for MarketDataRequest. MDQuoteType *int `fix:"1070"` - //Parties Component - parties.Parties + //Parties is a non-required component for MarketDataRequest. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } -func (m *Message) SetMarketDepth(v int) { m.MarketDepth = v } -func (m *Message) SetMDUpdateType(v int) { m.MDUpdateType = &v } -func (m *Message) SetAggregatedBook(v bool) { m.AggregatedBook = &v } -func (m *Message) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } -func (m *Message) SetScope(v string) { m.Scope = &v } -func (m *Message) SetMDImplicitDelete(v bool) { m.MDImplicitDelete = &v } -func (m *Message) SetApplQueueAction(v int) { m.ApplQueueAction = &v } -func (m *Message) SetApplQueueMax(v int) { m.ApplQueueMax = &v } -func (m *Message) SetMDQuoteType(v int) { m.MDQuoteType = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } +func (m *Message) SetMarketDepth(v int) { m.MarketDepth = v } +func (m *Message) SetMDUpdateType(v int) { m.MDUpdateType = &v } +func (m *Message) SetAggregatedBook(v bool) { m.AggregatedBook = &v } +func (m *Message) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } +func (m *Message) SetScope(v string) { m.Scope = &v } +func (m *Message) SetMDImplicitDelete(v bool) { m.MDImplicitDelete = &v } +func (m *Message) SetMDReqGrp(v mdreqgrp.MDReqGrp) { m.MDReqGrp = v } +func (m *Message) SetInstrmtMDReqGrp(v instrmtmdreqgrp.InstrmtMDReqGrp) { m.InstrmtMDReqGrp = v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetApplQueueAction(v int) { m.ApplQueueAction = &v } +func (m *Message) SetApplQueueMax(v int) { m.ApplQueueMax = &v } +func (m *Message) SetMDQuoteType(v int) { m.MDQuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/marketdatarequestreject/MarketDataRequestReject.go b/fix50sp1/marketdatarequestreject/MarketDataRequestReject.go index 07482686d..30bb0c78c 100644 --- a/fix50sp1/marketdatarequestreject/MarketDataRequestReject.go +++ b/fix50sp1/marketdatarequestreject/MarketDataRequestReject.go @@ -17,27 +17,29 @@ type Message struct { MDReqID string `fix:"262"` //MDReqRejReason is a non-required field for MarketDataRequestReject. MDReqRejReason *string `fix:"281"` - //MDRjctGrp Component - mdrjctgrp.MDRjctGrp + //MDRjctGrp is a non-required component for MarketDataRequestReject. + MDRjctGrp *mdrjctgrp.MDRjctGrp //Text is a non-required field for MarketDataRequestReject. Text *string `fix:"58"` //EncodedTextLen is a non-required field for MarketDataRequestReject. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MarketDataRequestReject. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for MarketDataRequestReject. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = v } -func (m *Message) SetMDReqRejReason(v string) { m.MDReqRejReason = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = v } +func (m *Message) SetMDReqRejReason(v string) { m.MDReqRejReason = &v } +func (m *Message) SetMDRjctGrp(v mdrjctgrp.MDRjctGrp) { m.MDRjctGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix50sp1/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index a089a68c2..a1fc6ed87 100644 --- a/fix50sp1/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix50sp1/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -19,19 +19,19 @@ type Message struct { fixt11.Header //MDReqID is a non-required field for MarketDataSnapshotFullRefresh. MDReqID *string `fix:"262"` - //Instrument Component + //Instrument is a required component for MarketDataSnapshotFullRefresh. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for MarketDataSnapshotFullRefresh. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for MarketDataSnapshotFullRefresh. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //FinancialStatus is a non-required field for MarketDataSnapshotFullRefresh. FinancialStatus *string `fix:"291"` //CorporateAction is a non-required field for MarketDataSnapshotFullRefresh. CorporateAction *string `fix:"292"` //NetChgPrevDay is a non-required field for MarketDataSnapshotFullRefresh. NetChgPrevDay *float64 `fix:"451"` - //MDFullGrp Component + //MDFullGrp is a required component for MarketDataSnapshotFullRefresh. mdfullgrp.MDFullGrp //ApplQueueDepth is a non-required field for MarketDataSnapshotFullRefresh. ApplQueueDepth *int `fix:"813"` @@ -47,8 +47,8 @@ type Message struct { MDFeedType *string `fix:"1022"` //TradeDate is a non-required field for MarketDataSnapshotFullRefresh. TradeDate *string `fix:"75"` - //RoutingGrp Component - routinggrp.RoutingGrp + //RoutingGrp is a non-required component for MarketDataSnapshotFullRefresh. + RoutingGrp *routinggrp.RoutingGrp //MDSubBookType is a non-required field for MarketDataSnapshotFullRefresh. MDSubBookType *int `fix:"1173"` //MarketDepth is a non-required field for MarketDataSnapshotFullRefresh. @@ -57,29 +57,37 @@ type Message struct { TotNumReports *int `fix:"911"` //RefreshIndicator is a non-required field for MarketDataSnapshotFullRefresh. RefreshIndicator *bool `fix:"1187"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for MarketDataSnapshotFullRefresh. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } -func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } -func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } -func (m *Message) SetMDReportID(v int) { m.MDReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetMDSubBookType(v int) { m.MDSubBookType = &v } -func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetRefreshIndicator(v bool) { m.RefreshIndicator = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } +func (m *Message) SetMDFullGrp(v mdfullgrp.MDFullGrp) { m.MDFullGrp = v } +func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } +func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } +func (m *Message) SetMDReportID(v int) { m.MDReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetMDSubBookType(v int) { m.MDSubBookType = &v } +func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetRefreshIndicator(v bool) { m.RefreshIndicator = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/marketdefinition/MarketDefinition.go b/fix50sp1/marketdefinition/MarketDefinition.go index 4836a6439..0c9863362 100644 --- a/fix50sp1/marketdefinition/MarketDefinition.go +++ b/fix50sp1/marketdefinition/MarketDefinition.go @@ -35,14 +35,14 @@ type Message struct { ParentMktSegmID *string `fix:"1325"` //Currency is a non-required field for MarketDefinition. Currency *string `fix:"15"` - //BaseTradingRules Component - basetradingrules.BaseTradingRules - //OrdTypeRules Component - ordtyperules.OrdTypeRules - //TimeInForceRules Component - timeinforcerules.TimeInForceRules - //ExecInstRules Component - execinstrules.ExecInstRules + //BaseTradingRules is a non-required component for MarketDefinition. + BaseTradingRules *basetradingrules.BaseTradingRules + //OrdTypeRules is a non-required component for MarketDefinition. + OrdTypeRules *ordtyperules.OrdTypeRules + //TimeInForceRules is a non-required component for MarketDefinition. + TimeInForceRules *timeinforcerules.TimeInForceRules + //ExecInstRules is a non-required component for MarketDefinition. + ExecInstRules *execinstrules.ExecInstRules //TransactTime is a non-required field for MarketDefinition. TransactTime *time.Time `fix:"60"` //Text is a non-required field for MarketDefinition. @@ -51,27 +51,34 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MarketDefinition. EncodedText *string `fix:"355"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for MarketDefinition. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } -func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } -func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } -func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } -func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } +func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } +func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } +func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } +func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetBaseTradingRules(v basetradingrules.BaseTradingRules) { m.BaseTradingRules = &v } +func (m *Message) SetOrdTypeRules(v ordtyperules.OrdTypeRules) { m.OrdTypeRules = &v } +func (m *Message) SetTimeInForceRules(v timeinforcerules.TimeInForceRules) { m.TimeInForceRules = &v } +func (m *Message) SetExecInstRules(v execinstrules.ExecInstRules) { m.ExecInstRules = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go b/fix50sp1/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go index 360d31754..8ad5944a5 100644 --- a/fix50sp1/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go +++ b/fix50sp1/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go @@ -37,14 +37,14 @@ type Message struct { ParentMktSegmID *string `fix:"1325"` //Currency is a non-required field for MarketDefinitionUpdateReport. Currency *string `fix:"15"` - //BaseTradingRules Component - basetradingrules.BaseTradingRules - //OrdTypeRules Component - ordtyperules.OrdTypeRules - //TimeInForceRules Component - timeinforcerules.TimeInForceRules - //ExecInstRules Component - execinstrules.ExecInstRules + //BaseTradingRules is a non-required component for MarketDefinitionUpdateReport. + BaseTradingRules *basetradingrules.BaseTradingRules + //OrdTypeRules is a non-required component for MarketDefinitionUpdateReport. + OrdTypeRules *ordtyperules.OrdTypeRules + //TimeInForceRules is a non-required component for MarketDefinitionUpdateReport. + TimeInForceRules *timeinforcerules.TimeInForceRules + //ExecInstRules is a non-required component for MarketDefinitionUpdateReport. + ExecInstRules *execinstrules.ExecInstRules //TransactTime is a non-required field for MarketDefinitionUpdateReport. TransactTime *time.Time `fix:"60"` //Text is a non-required field for MarketDefinitionUpdateReport. @@ -53,28 +53,35 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MarketDefinitionUpdateReport. EncodedText *string `fix:"355"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for MarketDefinitionUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } -func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } -func (m *Message) SetMarketUpdateAction(v string) { m.MarketUpdateAction = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } -func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } -func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } -func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } +func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } +func (m *Message) SetMarketUpdateAction(v string) { m.MarketUpdateAction = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } +func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } +func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } +func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetBaseTradingRules(v basetradingrules.BaseTradingRules) { m.BaseTradingRules = &v } +func (m *Message) SetOrdTypeRules(v ordtyperules.OrdTypeRules) { m.OrdTypeRules = &v } +func (m *Message) SetTimeInForceRules(v timeinforcerules.TimeInForceRules) { m.TimeInForceRules = &v } +func (m *Message) SetExecInstRules(v execinstrules.ExecInstRules) { m.ExecInstRules = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go b/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go index 87d023704..612b07f2f 100644 --- a/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go +++ b/fix50sp1/marketsegmentgrp/MarketSegmentGrp.go @@ -11,10 +11,10 @@ type NoMarketSegments struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for NoMarketSegments. MarketSegmentID *string `fix:"1300"` - //SecurityTradingRules Component - securitytradingrules.SecurityTradingRules - //StrikeRules Component - strikerules.StrikeRules + //SecurityTradingRules is a non-required component for NoMarketSegments. + SecurityTradingRules *securitytradingrules.SecurityTradingRules + //StrikeRules is a non-required component for NoMarketSegments. + StrikeRules *strikerules.StrikeRules } //MarketSegmentGrp is a fix50sp1 Component diff --git a/fix50sp1/massquote/MassQuote.go b/fix50sp1/massquote/MassQuote.go index 2aa0953a8..f4e08900f 100644 --- a/fix50sp1/massquote/MassQuote.go +++ b/fix50sp1/massquote/MassQuote.go @@ -21,8 +21,8 @@ type Message struct { QuoteType *int `fix:"537"` //QuoteResponseLevel is a non-required field for MassQuote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuote. + Parties *parties.Parties //Account is a non-required field for MassQuote. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuote. @@ -33,7 +33,7 @@ type Message struct { DefBidSize *float64 `fix:"293"` //DefOfferSize is a non-required field for MassQuote. DefOfferSize *float64 `fix:"294"` - //QuotSetGrp Component + //QuotSetGrp is a required component for MassQuote. quotsetgrp.QuotSetGrp fixt11.Trailer } @@ -41,15 +41,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDefBidSize(v float64) { m.DefBidSize = &v } -func (m *Message) SetDefOfferSize(v float64) { m.DefOfferSize = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDefBidSize(v float64) { m.DefBidSize = &v } +func (m *Message) SetDefOfferSize(v float64) { m.DefOfferSize = &v } +func (m *Message) SetQuotSetGrp(v quotsetgrp.QuotSetGrp) { m.QuotSetGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/massquoteacknowledgement/MassQuoteAcknowledgement.go b/fix50sp1/massquoteacknowledgement/MassQuoteAcknowledgement.go index bc873e947..4e8ca6d0c 100644 --- a/fix50sp1/massquoteacknowledgement/MassQuoteAcknowledgement.go +++ b/fix50sp1/massquoteacknowledgement/MassQuoteAcknowledgement.go @@ -25,8 +25,8 @@ type Message struct { QuoteResponseLevel *int `fix:"301"` //QuoteType is a non-required field for MassQuoteAcknowledgement. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuoteAcknowledgement. + Parties *parties.Parties //Account is a non-required field for MassQuoteAcknowledgement. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuoteAcknowledgement. @@ -39,8 +39,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MassQuoteAcknowledgement. EncodedText *string `fix:"355"` - //QuotSetAckGrp Component - quotsetackgrp.QuotSetAckGrp + //QuotSetAckGrp is a non-required component for MassQuoteAcknowledgement. + QuotSetAckGrp *quotsetackgrp.QuotSetAckGrp //QuoteCancelType is a non-required field for MassQuoteAcknowledgement. QuoteCancelType *int `fix:"298"` fixt11.Trailer @@ -49,19 +49,21 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } -func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } +func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuotSetAckGrp(v quotsetackgrp.QuotSetAckGrp) { m.QuotSetAckGrp = &v } +func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/mdfullgrp/MDFullGrp.go b/fix50sp1/mdfullgrp/MDFullGrp.go index 458932d79..2663f5dde 100644 --- a/fix50sp1/mdfullgrp/MDFullGrp.go +++ b/fix50sp1/mdfullgrp/MDFullGrp.go @@ -104,20 +104,20 @@ type NoMDEntries struct { MDEntryForwardPoints *float64 `fix:"1027"` //MDEntryID is a non-required field for NoMDEntries. MDEntryID *string `fix:"278"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoMDEntries. + Parties *parties.Parties //SecondaryOrderID is a non-required field for NoMDEntries. SecondaryOrderID *string `fix:"198"` //OrdType is a non-required field for NoMDEntries. OrdType *string `fix:"40"` //PriceType is a non-required field for NoMDEntries. PriceType *int `fix:"423"` - //YieldData Component - yielddata.YieldData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //SecSizesGrp Component - secsizesgrp.SecSizesGrp + //YieldData is a non-required component for NoMDEntries. + YieldData *yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoMDEntries. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SecSizesGrp is a non-required component for NoMDEntries. + SecSizesGrp *secsizesgrp.SecSizesGrp //LotType is a non-required field for NoMDEntries. LotType *string `fix:"1093"` //SecurityTradingStatus is a non-required field for NoMDEntries. diff --git a/fix50sp1/mdincgrp/MDIncGrp.go b/fix50sp1/mdincgrp/MDIncGrp.go index 076fa5f9b..9b38ef698 100644 --- a/fix50sp1/mdincgrp/MDIncGrp.go +++ b/fix50sp1/mdincgrp/MDIncGrp.go @@ -24,12 +24,12 @@ type NoMDEntries struct { MDEntryID *string `fix:"278"` //MDEntryRefID is a non-required field for NoMDEntries. MDEntryRefID *string `fix:"280"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoMDEntries. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for NoMDEntries. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoMDEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //FinancialStatus is a non-required field for NoMDEntries. FinancialStatus *string `fix:"291"` //CorporateAction is a non-required field for NoMDEntries. @@ -126,8 +126,8 @@ type NoMDEntries struct { MDEntryForwardPoints *float64 `fix:"1027"` //MDPriceLevel is a non-required field for NoMDEntries. MDPriceLevel *int `fix:"1023"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoMDEntries. + Parties *parties.Parties //SecondaryOrderID is a non-required field for NoMDEntries. SecondaryOrderID *string `fix:"198"` //OrdType is a non-required field for NoMDEntries. @@ -138,12 +138,12 @@ type NoMDEntries struct { MarketDepth *int `fix:"264"` //PriceType is a non-required field for NoMDEntries. PriceType *int `fix:"423"` - //YieldData Component - yielddata.YieldData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //SecSizesGrp Component - secsizesgrp.SecSizesGrp + //YieldData is a non-required component for NoMDEntries. + YieldData *yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoMDEntries. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SecSizesGrp is a non-required component for NoMDEntries. + SecSizesGrp *secsizesgrp.SecSizesGrp //LotType is a non-required field for NoMDEntries. LotType *string `fix:"1093"` //SecurityTradingStatus is a non-required field for NoMDEntries. @@ -160,8 +160,8 @@ type NoMDEntries struct { TransBkdTime *time.Time `fix:"483"` //TransactTime is a non-required field for NoMDEntries. TransactTime *time.Time `fix:"60"` - //StatsIndGrp Component - statsindgrp.StatsIndGrp + //StatsIndGrp is a non-required component for NoMDEntries. + StatsIndGrp *statsindgrp.StatsIndGrp } //MDIncGrp is a fix50sp1 Component diff --git a/fix50sp1/multilegordercancelreplace/MultilegOrderCancelReplace.go b/fix50sp1/multilegordercancelreplace/MultilegOrderCancelReplace.go index 57334b129..a7f646c69 100644 --- a/fix50sp1/multilegordercancelreplace/MultilegOrderCancelReplace.go +++ b/fix50sp1/multilegordercancelreplace/MultilegOrderCancelReplace.go @@ -37,8 +37,8 @@ type Message struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for MultilegOrderCancelReplace. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for MultilegOrderCancelReplace. + Parties *parties.Parties //TradeOriginationDate is a non-required field for MultilegOrderCancelReplace. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for MultilegOrderCancelReplace. @@ -57,8 +57,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for MultilegOrderCancelReplace. AllocID *string `fix:"70"` - //PreAllocMlegGrp Component - preallocmleggrp.PreAllocMlegGrp + //PreAllocMlegGrp is a non-required component for MultilegOrderCancelReplace. + PreAllocMlegGrp *preallocmleggrp.PreAllocMlegGrp //SettlType is a non-required field for MultilegOrderCancelReplace. SettlType *string `fix:"63"` //SettlDate is a non-required field for MultilegOrderCancelReplace. @@ -77,27 +77,27 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for MultilegOrderCancelReplace. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for MultilegOrderCancelReplace. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for MultilegOrderCancelReplace. ProcessCode *string `fix:"81"` //Side is a required field for MultilegOrderCancelReplace. Side string `fix:"54"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for MultilegOrderCancelReplace. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for MultilegOrderCancelReplace. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for MultilegOrderCancelReplace. PrevClosePx *float64 `fix:"140"` - //LegOrdGrp Component - legordgrp.LegOrdGrp + //LegOrdGrp is a non-required component for MultilegOrderCancelReplace. + LegOrdGrp *legordgrp.LegOrdGrp //LocateReqd is a non-required field for MultilegOrderCancelReplace. LocateReqd *bool `fix:"114"` //TransactTime is a required field for MultilegOrderCancelReplace. TransactTime time.Time `fix:"60"` //QtyType is a non-required field for MultilegOrderCancelReplace. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for MultilegOrderCancelReplace. orderqtydata.OrderQtyData //OrdType is a required field for MultilegOrderCancelReplace. OrdType string `fix:"40"` @@ -127,8 +127,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for MultilegOrderCancelReplace. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for MultilegOrderCancelReplace. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for MultilegOrderCancelReplace. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for MultilegOrderCancelReplace. @@ -153,10 +153,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for MultilegOrderCancelReplace. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for MultilegOrderCancelReplace. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for MultilegOrderCancelReplace. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for MultilegOrderCancelReplace. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for MultilegOrderCancelReplace. @@ -173,18 +173,18 @@ type Message struct { Designation *string `fix:"494"` //MultiLegRptTypeReq is a non-required field for MultilegOrderCancelReplace. MultiLegRptTypeReq *int `fix:"563"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for MultilegOrderCancelReplace. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //MatchIncrement is a non-required field for MultilegOrderCancelReplace. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for MultilegOrderCancelReplace. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for MultilegOrderCancelReplace. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for MultilegOrderCancelReplace. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for MultilegOrderCancelReplace. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for MultilegOrderCancelReplace. PreTradeAnonymity *bool `fix:"1091"` //ExDestinationIDSource is a non-required field for MultilegOrderCancelReplace. @@ -203,62 +203,74 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocMlegGrp(v preallocmleggrp.PreAllocMlegGrp) { m.PreAllocMlegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLegOrdGrp(v legordgrp.LegOrdGrp) { m.LegOrdGrp = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -267,15 +279,24 @@ func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatu func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } -func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } -func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } +func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } +func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/nestedparties/NestedParties.go b/fix50sp1/nestedparties/NestedParties.go index b33f2695c..cdc355c5b 100644 --- a/fix50sp1/nestedparties/NestedParties.go +++ b/fix50sp1/nestedparties/NestedParties.go @@ -12,8 +12,8 @@ type NoNestedPartyIDs struct { NestedPartyIDSource *string `fix:"525"` //NestedPartyRole is a non-required field for NoNestedPartyIDs. NestedPartyRole *int `fix:"538"` - //NstdPtysSubGrp Component - nstdptyssubgrp.NstdPtysSubGrp + //NstdPtysSubGrp is a non-required component for NoNestedPartyIDs. + NstdPtysSubGrp *nstdptyssubgrp.NstdPtysSubGrp } //NestedParties is a fix50sp1 Component diff --git a/fix50sp1/nestedparties2/NestedParties2.go b/fix50sp1/nestedparties2/NestedParties2.go index 9cab41c15..9789db43b 100644 --- a/fix50sp1/nestedparties2/NestedParties2.go +++ b/fix50sp1/nestedparties2/NestedParties2.go @@ -12,8 +12,8 @@ type NoNested2PartyIDs struct { Nested2PartyIDSource *string `fix:"758"` //Nested2PartyRole is a non-required field for NoNested2PartyIDs. Nested2PartyRole *int `fix:"759"` - //NstdPtys2SubGrp Component - nstdptys2subgrp.NstdPtys2SubGrp + //NstdPtys2SubGrp is a non-required component for NoNested2PartyIDs. + NstdPtys2SubGrp *nstdptys2subgrp.NstdPtys2SubGrp } //NestedParties2 is a fix50sp1 Component diff --git a/fix50sp1/nestedparties3/NestedParties3.go b/fix50sp1/nestedparties3/NestedParties3.go index 776996ea3..9538abff0 100644 --- a/fix50sp1/nestedparties3/NestedParties3.go +++ b/fix50sp1/nestedparties3/NestedParties3.go @@ -12,8 +12,8 @@ type NoNested3PartyIDs struct { Nested3PartyIDSource *string `fix:"950"` //Nested3PartyRole is a non-required field for NoNested3PartyIDs. Nested3PartyRole *int `fix:"951"` - //NstdPtys3SubGrp Component - nstdptys3subgrp.NstdPtys3SubGrp + //NstdPtys3SubGrp is a non-required component for NoNested3PartyIDs. + NstdPtys3SubGrp *nstdptys3subgrp.NstdPtys3SubGrp } //NestedParties3 is a fix50sp1 Component diff --git a/fix50sp1/nestedparties4/NestedParties4.go b/fix50sp1/nestedparties4/NestedParties4.go index 6c18487fe..ae0f7f512 100644 --- a/fix50sp1/nestedparties4/NestedParties4.go +++ b/fix50sp1/nestedparties4/NestedParties4.go @@ -12,8 +12,8 @@ type NoNested4PartyIDs struct { Nested4PartyIDSource *string `fix:"1416"` //Nested4PartyRole is a non-required field for NoNested4PartyIDs. Nested4PartyRole *int `fix:"1417"` - //NstdPtys4SubGrp Component - nstdptys4subgrp.NstdPtys4SubGrp + //NstdPtys4SubGrp is a non-required component for NoNested4PartyIDs. + NstdPtys4SubGrp *nstdptys4subgrp.NstdPtys4SubGrp } //NestedParties4 is a fix50sp1 Component diff --git a/fix50sp1/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go b/fix50sp1/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go index e92811b38..365b39669 100644 --- a/fix50sp1/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go +++ b/fix50sp1/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go @@ -16,16 +16,17 @@ type Message struct { NetworkRequestType int `fix:"935"` //NetworkRequestID is a required field for NetworkCounterpartySystemStatusRequest. NetworkRequestID string `fix:"933"` - //CompIDReqGrp Component - compidreqgrp.CompIDReqGrp + //CompIDReqGrp is a non-required component for NetworkCounterpartySystemStatusRequest. + CompIDReqGrp *compidreqgrp.CompIDReqGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetNetworkRequestType(v int) { m.NetworkRequestType = v } -func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = v } +func (m *Message) SetNetworkRequestType(v int) { m.NetworkRequestType = v } +func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = v } +func (m *Message) SetCompIDReqGrp(v compidreqgrp.CompIDReqGrp) { m.CompIDReqGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go b/fix50sp1/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go index 39b535144..38cf6f494 100644 --- a/fix50sp1/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go +++ b/fix50sp1/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go @@ -20,7 +20,7 @@ type Message struct { NetworkResponseID string `fix:"932"` //LastNetworkResponseID is a non-required field for NetworkCounterpartySystemStatusResponse. LastNetworkResponseID *string `fix:"934"` - //CompIDStatGrp Component + //CompIDStatGrp is a required component for NetworkCounterpartySystemStatusResponse. compidstatgrp.CompIDStatGrp fixt11.Trailer } @@ -28,10 +28,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetNetworkStatusResponseType(v int) { m.NetworkStatusResponseType = v } -func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = &v } -func (m *Message) SetNetworkResponseID(v string) { m.NetworkResponseID = v } -func (m *Message) SetLastNetworkResponseID(v string) { m.LastNetworkResponseID = &v } +func (m *Message) SetNetworkStatusResponseType(v int) { m.NetworkStatusResponseType = v } +func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = &v } +func (m *Message) SetNetworkResponseID(v string) { m.NetworkResponseID = v } +func (m *Message) SetLastNetworkResponseID(v string) { m.LastNetworkResponseID = &v } +func (m *Message) SetCompIDStatGrp(v compidstatgrp.CompIDStatGrp) { m.CompIDStatGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/newordercross/NewOrderCross.go b/fix50sp1/newordercross/NewOrderCross.go index 72e3de7f7..726f849bc 100644 --- a/fix50sp1/newordercross/NewOrderCross.go +++ b/fix50sp1/newordercross/NewOrderCross.go @@ -32,14 +32,14 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for NewOrderCross. CrossPrioritization int `fix:"550"` - //SideCrossOrdModGrp Component + //SideCrossOrdModGrp is a required component for NewOrderCross. sidecrossordmodgrp.SideCrossOrdModGrp - //Instrument Component + //Instrument is a required component for NewOrderCross. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NewOrderCross. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NewOrderCross. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SettlType is a non-required field for NewOrderCross. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderCross. @@ -54,8 +54,8 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderCross. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderCross. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderCross. ProcessCode *string `fix:"81"` //PrevClosePx is a non-required field for NewOrderCross. @@ -64,8 +64,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderCross. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderCross. + Stipulations *stipulations.Stipulations //OrdType is a required field for NewOrderCross. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderCross. @@ -74,10 +74,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderCross. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderCross. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderCross. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderCross. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderCross. @@ -98,10 +98,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for NewOrderCross. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderCross. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderCross. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderCross. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderCross. @@ -116,22 +116,22 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for NewOrderCross. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderCross. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //TransBkdTime is a non-required field for NewOrderCross. TransBkdTime *time.Time `fix:"483"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for NewOrderCross. + RootParties *rootparties.RootParties //MatchIncrement is a non-required field for NewOrderCross. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderCross. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderCross. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderCross. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderCross. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //ExDestinationIDSource is a non-required field for NewOrderCross. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer @@ -140,34 +140,50 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetSideCrossOrdModGrp(v sidecrossordmodgrp.SideCrossOrdModGrp) { + m.SideCrossOrdModGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -175,11 +191,21 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/neworderlist/NewOrderList.go b/fix50sp1/neworderlist/NewOrderList.go index d9623dbce..f31d8ff75 100644 --- a/fix50sp1/neworderlist/NewOrderList.go +++ b/fix50sp1/neworderlist/NewOrderList.go @@ -49,10 +49,10 @@ type Message struct { TotNoOrders int `fix:"68"` //LastFragment is a non-required field for NewOrderList. LastFragment *bool `fix:"893"` - //ListOrdGrp Component + //ListOrdGrp is a required component for NewOrderList. listordgrp.ListOrdGrp - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for NewOrderList. + RootParties *rootparties.RootParties //ContingencyType is a non-required field for NewOrderList. ContingencyType *int `fix:"1385"` fixt11.Trailer @@ -61,25 +61,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } -func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } -func (m *Message) SetBidType(v int) { m.BidType = v } -func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetListExecInstType(v string) { m.ListExecInstType = &v } -func (m *Message) SetListExecInst(v string) { m.ListExecInst = &v } -func (m *Message) SetEncodedListExecInstLen(v int) { m.EncodedListExecInstLen = &v } -func (m *Message) SetEncodedListExecInst(v string) { m.EncodedListExecInst = &v } -func (m *Message) SetAllowableOneSidednessPct(v float64) { m.AllowableOneSidednessPct = &v } -func (m *Message) SetAllowableOneSidednessValue(v float64) { m.AllowableOneSidednessValue = &v } -func (m *Message) SetAllowableOneSidednessCurr(v string) { m.AllowableOneSidednessCurr = &v } -func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } +func (m *Message) SetBidType(v int) { m.BidType = v } +func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetListExecInstType(v string) { m.ListExecInstType = &v } +func (m *Message) SetListExecInst(v string) { m.ListExecInst = &v } +func (m *Message) SetEncodedListExecInstLen(v int) { m.EncodedListExecInstLen = &v } +func (m *Message) SetEncodedListExecInst(v string) { m.EncodedListExecInst = &v } +func (m *Message) SetAllowableOneSidednessPct(v float64) { m.AllowableOneSidednessPct = &v } +func (m *Message) SetAllowableOneSidednessValue(v float64) { m.AllowableOneSidednessValue = &v } +func (m *Message) SetAllowableOneSidednessCurr(v string) { m.AllowableOneSidednessCurr = &v } +func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListOrdGrp(v listordgrp.ListOrdGrp) { m.ListOrdGrp = v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/newordermultileg/NewOrderMultileg.go b/fix50sp1/newordermultileg/NewOrderMultileg.go index a3dc262e3..b7e301002 100644 --- a/fix50sp1/newordermultileg/NewOrderMultileg.go +++ b/fix50sp1/newordermultileg/NewOrderMultileg.go @@ -31,8 +31,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderMultileg. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderMultileg. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderMultileg. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderMultileg. @@ -51,8 +51,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NewOrderMultileg. AllocID *string `fix:"70"` - //PreAllocMlegGrp Component - preallocmleggrp.PreAllocMlegGrp + //PreAllocMlegGrp is a non-required component for NewOrderMultileg. + PreAllocMlegGrp *preallocmleggrp.PreAllocMlegGrp //SettlType is a non-required field for NewOrderMultileg. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderMultileg. @@ -71,28 +71,28 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderMultileg. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderMultileg. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderMultileg. ProcessCode *string `fix:"81"` //Side is a required field for NewOrderMultileg. Side string `fix:"54"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for NewOrderMultileg. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for NewOrderMultileg. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NewOrderMultileg. PrevClosePx *float64 `fix:"140"` - //LegOrdGrp Component - legordgrp.LegOrdGrp + //LegOrdGrp is a non-required component for NewOrderMultileg. + LegOrdGrp *legordgrp.LegOrdGrp //LocateReqd is a non-required field for NewOrderMultileg. LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderMultileg. TransactTime time.Time `fix:"60"` //QtyType is a non-required field for NewOrderMultileg. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NewOrderMultileg. + OrderQtyData *orderqtydata.OrderQtyData //OrdType is a required field for NewOrderMultileg. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderMultileg. @@ -121,8 +121,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderMultileg. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderMultileg. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderMultileg. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderMultileg. @@ -147,10 +147,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderMultileg. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderMultileg. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderMultileg. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderMultileg. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderMultileg. @@ -167,20 +167,20 @@ type Message struct { Designation *string `fix:"494"` //MultiLegRptTypeReq is a non-required field for NewOrderMultileg. MultiLegRptTypeReq *int `fix:"563"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderMultileg. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //SwapPoints is a non-required field for NewOrderMultileg. SwapPoints *float64 `fix:"1069"` //MatchIncrement is a non-required field for NewOrderMultileg. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderMultileg. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderMultileg. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderMultileg. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderMultileg. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //RefOrderID is a non-required field for NewOrderMultileg. RefOrderID *string `fix:"1080"` //RefOrderIDSource is a non-required field for NewOrderMultileg. @@ -201,59 +201,71 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocMlegGrp(v preallocmleggrp.PreAllocMlegGrp) { m.PreAllocMlegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLegOrdGrp(v legordgrp.LegOrdGrp) { m.LegOrdGrp = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -262,17 +274,26 @@ func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatu func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } -func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } -func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } +func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } +func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/newordersingle/NewOrderSingle.go b/fix50sp1/newordersingle/NewOrderSingle.go index fcbf1c9c3..12ad4e546 100644 --- a/fix50sp1/newordersingle/NewOrderSingle.go +++ b/fix50sp1/newordersingle/NewOrderSingle.go @@ -35,8 +35,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderSingle. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderSingle. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderSingle. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderSingle. @@ -55,8 +55,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NewOrderSingle. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NewOrderSingle. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for NewOrderSingle. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderSingle. @@ -75,16 +75,16 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderSingle. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderSingle. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderSingle. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NewOrderSingle. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NewOrderSingle. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NewOrderSingle. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NewOrderSingle. PrevClosePx *float64 `fix:"140"` //Side is a required field for NewOrderSingle. @@ -93,11 +93,11 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderSingle. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderSingle. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NewOrderSingle. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NewOrderSingle. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderSingle. OrdType string `fix:"40"` @@ -107,10 +107,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderSingle. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderSingle. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderSingle. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderSingle. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderSingle. @@ -131,8 +131,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderSingle. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderSingle. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderSingle. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderSingle. @@ -163,10 +163,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderSingle. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderSingle. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderSingle. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderSingle. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderSingle. @@ -181,8 +181,8 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for NewOrderSingle. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderSingle. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //ManualOrderIndicator is a non-required field for NewOrderSingle. ManualOrderIndicator *bool `fix:"1028"` //CustDirectedOrder is a non-required field for NewOrderSingle. @@ -193,18 +193,18 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for NewOrderSingle. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for NewOrderSingle. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //MatchIncrement is a non-required field for NewOrderSingle. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderSingle. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderSingle. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderSingle. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderSingle. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for NewOrderSingle. PreTradeAnonymity *bool `fix:"1091"` //RefOrderID is a non-required field for NewOrderSingle. @@ -219,62 +219,79 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -282,18 +299,28 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } -func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } +func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/news/News.go b/fix50sp1/news/News.go index f221e70ea..a80da152f 100644 --- a/fix50sp1/news/News.go +++ b/fix50sp1/news/News.go @@ -28,15 +28,15 @@ type Message struct { EncodedHeadlineLen *int `fix:"358"` //EncodedHeadline is a non-required field for News. EncodedHeadline *string `fix:"359"` - //RoutingGrp Component - routinggrp.RoutingGrp - //InstrmtGrp Component - instrmtgrp.InstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //LinesOfTextGrp Component + //RoutingGrp is a non-required component for News. + RoutingGrp *routinggrp.RoutingGrp + //InstrmtGrp is a non-required component for News. + InstrmtGrp *instrmtgrp.InstrmtGrp + //InstrmtLegGrp is a non-required component for News. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for News. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //LinesOfTextGrp is a required component for News. linesoftextgrp.LinesOfTextGrp //URLLink is a non-required field for News. URLLink *string `fix:"149"` @@ -44,22 +44,30 @@ type Message struct { RawDataLength *int `fix:"95"` //RawData is a non-required field for News. RawData *string `fix:"96"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for News. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } -func (m *Message) SetUrgency(v string) { m.Urgency = &v } -func (m *Message) SetHeadline(v string) { m.Headline = v } -func (m *Message) SetEncodedHeadlineLen(v int) { m.EncodedHeadlineLen = &v } -func (m *Message) SetEncodedHeadline(v string) { m.EncodedHeadline = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } -func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } +func (m *Message) SetUrgency(v string) { m.Urgency = &v } +func (m *Message) SetHeadline(v string) { m.Headline = v } +func (m *Message) SetEncodedHeadlineLen(v int) { m.EncodedHeadlineLen = &v } +func (m *Message) SetEncodedHeadline(v string) { m.EncodedHeadline = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetLinesOfTextGrp(v linesoftextgrp.LinesOfTextGrp) { m.LinesOfTextGrp = v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } +func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/ordallocgrp/OrdAllocGrp.go b/fix50sp1/ordallocgrp/OrdAllocGrp.go index 63697d480..ae8e04df4 100644 --- a/fix50sp1/ordallocgrp/OrdAllocGrp.go +++ b/fix50sp1/ordallocgrp/OrdAllocGrp.go @@ -16,8 +16,8 @@ type NoOrders struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoOrders. + NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. diff --git a/fix50sp1/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix50sp1/ordercancelreplacerequest/OrderCancelReplaceRequest.go index 38e15b675..e6cf1f856 100644 --- a/fix50sp1/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix50sp1/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -30,8 +30,8 @@ type Message struct { fixt11.Header //OrderID is a non-required field for OrderCancelReplaceRequest. OrderID *string `fix:"37"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderCancelReplaceRequest. + Parties *parties.Parties //TradeOriginationDate is a non-required field for OrderCancelReplaceRequest. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for OrderCancelReplaceRequest. @@ -62,8 +62,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for OrderCancelReplaceRequest. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for OrderCancelReplaceRequest. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for OrderCancelReplaceRequest. SettlType *string `fix:"63"` //SettlDate is a non-required field for OrderCancelReplaceRequest. @@ -82,21 +82,21 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for OrderCancelReplaceRequest. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp - //Instrument Component + //TrdgSesGrp is a non-required component for OrderCancelReplaceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp + //Instrument is a required component for OrderCancelReplaceRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderCancelReplaceRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderCancelReplaceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderCancelReplaceRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` //QtyType is a non-required field for OrderCancelReplaceRequest. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelReplaceRequest. orderqtydata.OrderQtyData //OrdType is a required field for OrderCancelReplaceRequest. OrdType string `fix:"40"` @@ -106,14 +106,14 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for OrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //SpreadOrBenchmarkCurveData is a non-required component for OrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for OrderCancelReplaceRequest. + YieldData *yielddata.YieldData + //PegInstructions is a non-required component for OrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for OrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for OrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for OrderCancelReplaceRequest. @@ -136,8 +136,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for OrderCancelReplaceRequest. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for OrderCancelReplaceRequest. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for OrderCancelReplaceRequest. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for OrderCancelReplaceRequest. @@ -178,8 +178,8 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for OrderCancelReplaceRequest. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for OrderCancelReplaceRequest. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //ManualOrderIndicator is a non-required field for OrderCancelReplaceRequest. ManualOrderIndicator *bool `fix:"1028"` //CustDirectedOrder is a non-required field for OrderCancelReplaceRequest. @@ -190,18 +190,18 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for OrderCancelReplaceRequest. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for OrderCancelReplaceRequest. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //MatchIncrement is a non-required field for OrderCancelReplaceRequest. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for OrderCancelReplaceRequest. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for OrderCancelReplaceRequest. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for OrderCancelReplaceRequest. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for OrderCancelReplaceRequest. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for OrderCancelReplaceRequest. PreTradeAnonymity *bool `fix:"1091"` //ExDestinationIDSource is a non-required field for OrderCancelReplaceRequest. @@ -212,79 +212,105 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/ordercancelrequest/OrderCancelRequest.go b/fix50sp1/ordercancelrequest/OrderCancelRequest.go index 4a1b67e41..848ac81ff 100644 --- a/fix50sp1/ordercancelrequest/OrderCancelRequest.go +++ b/fix50sp1/ordercancelrequest/OrderCancelRequest.go @@ -37,19 +37,19 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for OrderCancelRequest. AccountType *int `fix:"581"` - //Parties Component - parties.Parties - //Instrument Component + //Parties is a non-required component for OrderCancelRequest. + Parties *parties.Parties + //Instrument is a required component for OrderCancelRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderCancelRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderCancelRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderCancelRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelRequest. TransactTime time.Time `fix:"60"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelRequest. orderqtydata.OrderQtyData //ComplianceID is a non-required field for OrderCancelRequest. ComplianceID *string `fix:"376"` @@ -65,22 +65,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/ordermassactionreport/OrderMassActionReport.go b/fix50sp1/ordermassactionreport/OrderMassActionReport.go index f6f34ca16..9efd22e59 100644 --- a/fix50sp1/ordermassactionreport/OrderMassActionReport.go +++ b/fix50sp1/ordermassactionreport/OrderMassActionReport.go @@ -33,8 +33,8 @@ type Message struct { MassActionRejectReason *int `fix:"1376"` //TotalAffectedOrders is a non-required field for OrderMassActionReport. TotalAffectedOrders *int `fix:"533"` - //AffectedOrdGrp Component - affectedordgrp.AffectedOrdGrp + //AffectedOrdGrp is a non-required component for OrderMassActionReport. + AffectedOrdGrp *affectedordgrp.AffectedOrdGrp //MarketID is a non-required field for OrderMassActionReport. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for OrderMassActionReport. @@ -43,12 +43,12 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassActionReport. TradingSessionSubID *string `fix:"625"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Parties is a non-required component for OrderMassActionReport. + Parties *parties.Parties + //Instrument is a non-required component for OrderMassActionReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassActionReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassActionReport. Side *string `fix:"54"` //TransactTime is a non-required field for OrderMassActionReport. @@ -59,31 +59,40 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassActionReport. EncodedText *string `fix:"355"` - //NotAffectedOrdersGrp Component - notaffectedordersgrp.NotAffectedOrdersGrp + //NotAffectedOrdersGrp is a non-required component for OrderMassActionReport. + NotAffectedOrdersGrp *notaffectedordersgrp.NotAffectedOrdersGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } -func (m *Message) SetMassActionType(v int) { m.MassActionType = v } -func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } -func (m *Message) SetMassActionResponse(v int) { m.MassActionResponse = v } -func (m *Message) SetMassActionRejectReason(v int) { m.MassActionRejectReason = &v } -func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } +func (m *Message) SetMassActionType(v int) { m.MassActionType = v } +func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } +func (m *Message) SetMassActionResponse(v int) { m.MassActionResponse = v } +func (m *Message) SetMassActionRejectReason(v int) { m.MassActionRejectReason = &v } +func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } +func (m *Message) SetAffectedOrdGrp(v affectedordgrp.AffectedOrdGrp) { m.AffectedOrdGrp = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNotAffectedOrdersGrp(v notaffectedordersgrp.NotAffectedOrdersGrp) { + m.NotAffectedOrdersGrp = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/ordermassactionrequest/OrderMassActionRequest.go b/fix50sp1/ordermassactionrequest/OrderMassActionRequest.go index ac17675f1..d7a2abf92 100644 --- a/fix50sp1/ordermassactionrequest/OrderMassActionRequest.go +++ b/fix50sp1/ordermassactionrequest/OrderMassActionRequest.go @@ -31,12 +31,12 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassActionRequest. TradingSessionSubID *string `fix:"625"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Parties is a non-required component for OrderMassActionRequest. + Parties *parties.Parties + //Instrument is a non-required component for OrderMassActionRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassActionRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassActionRequest. Side *string `fix:"54"` //TransactTime is a required field for OrderMassActionRequest. @@ -53,19 +53,24 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassActionType(v int) { m.MassActionType = v } -func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassActionType(v int) { m.MassActionType = v } +func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/ordermasscancelreport/OrderMassCancelReport.go b/fix50sp1/ordermasscancelreport/OrderMassCancelReport.go index 29706c5a1..f915a9f13 100644 --- a/fix50sp1/ordermasscancelreport/OrderMassCancelReport.go +++ b/fix50sp1/ordermasscancelreport/OrderMassCancelReport.go @@ -33,16 +33,16 @@ type Message struct { MassCancelRejectReason *int `fix:"532"` //TotalAffectedOrders is a non-required field for OrderMassCancelReport. TotalAffectedOrders *int `fix:"533"` - //AffectedOrdGrp Component - affectedordgrp.AffectedOrdGrp + //AffectedOrdGrp is a non-required component for OrderMassCancelReport. + AffectedOrdGrp *affectedordgrp.AffectedOrdGrp //TradingSessionID is a non-required field for OrderMassCancelReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelReport. Side *string `fix:"54"` //TransactTime is a non-required field for OrderMassCancelReport. @@ -53,12 +53,12 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassCancelReport. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassCancelReport. + Parties *parties.Parties //MassActionReportID is a required field for OrderMassCancelReport. MassActionReportID string `fix:"1369"` - //NotAffectedOrdersGrp Component - notaffectedordersgrp.NotAffectedOrdersGrp + //NotAffectedOrdersGrp is a non-required component for OrderMassCancelReport. + NotAffectedOrdersGrp *notaffectedordersgrp.NotAffectedOrdersGrp //MarketID is a non-required field for OrderMassCancelReport. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for OrderMassCancelReport. @@ -69,24 +69,33 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetMassCancelResponse(v string) { m.MassCancelResponse = v } -func (m *Message) SetMassCancelRejectReason(v int) { m.MassCancelRejectReason = &v } -func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetMassCancelResponse(v string) { m.MassCancelResponse = v } +func (m *Message) SetMassCancelRejectReason(v int) { m.MassCancelRejectReason = &v } +func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } +func (m *Message) SetAffectedOrdGrp(v affectedordgrp.AffectedOrdGrp) { m.AffectedOrdGrp = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } +func (m *Message) SetNotAffectedOrdersGrp(v notaffectedordersgrp.NotAffectedOrdersGrp) { + m.NotAffectedOrdersGrp = &v +} +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/ordermasscancelrequest/OrderMassCancelRequest.go b/fix50sp1/ordermasscancelrequest/OrderMassCancelRequest.go index bea6a9207..9c7880c5c 100644 --- a/fix50sp1/ordermasscancelrequest/OrderMassCancelRequest.go +++ b/fix50sp1/ordermasscancelrequest/OrderMassCancelRequest.go @@ -25,10 +25,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelRequest. Side *string `fix:"54"` //TransactTime is a required field for OrderMassCancelRequest. @@ -39,8 +39,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassCancelRequest. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassCancelRequest. + Parties *parties.Parties //MarketID is a non-required field for OrderMassCancelRequest. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for OrderMassCancelRequest. @@ -51,18 +51,23 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/ordermassstatusrequest/OrderMassStatusRequest.go b/fix50sp1/ordermassstatusrequest/OrderMassStatusRequest.go index 31b6945cb..6da7f6a19 100644 --- a/fix50sp1/ordermassstatusrequest/OrderMassStatusRequest.go +++ b/fix50sp1/ordermassstatusrequest/OrderMassStatusRequest.go @@ -18,8 +18,8 @@ type Message struct { MassStatusReqID string `fix:"584"` //MassStatusReqType is a required field for OrderMassStatusRequest. MassStatusReqType int `fix:"585"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassStatusRequest. + Parties *parties.Parties //Account is a non-required field for OrderMassStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderMassStatusRequest. @@ -28,10 +28,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassStatusRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassStatusRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassStatusRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassStatusRequest. Side *string `fix:"54"` fixt11.Trailer @@ -40,13 +40,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } -func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } +func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/orderstatusrequest/OrderStatusRequest.go b/fix50sp1/orderstatusrequest/OrderStatusRequest.go index fca1cdb12..b64c1f592 100644 --- a/fix50sp1/orderstatusrequest/OrderStatusRequest.go +++ b/fix50sp1/orderstatusrequest/OrderStatusRequest.go @@ -23,20 +23,20 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for OrderStatusRequest. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderStatusRequest. + Parties *parties.Parties //OrdStatusReqID is a non-required field for OrderStatusRequest. OrdStatusReqID *string `fix:"790"` //Account is a non-required field for OrderStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderStatusRequest. AcctIDSource *int `fix:"660"` - //Instrument Component + //Instrument is a required component for OrderStatusRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderStatusRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderStatusRequest. Side string `fix:"54"` fixt11.Trailer @@ -45,14 +45,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/parties/Parties.go b/fix50sp1/parties/Parties.go index e7aeb5d03..4fc2127f6 100644 --- a/fix50sp1/parties/Parties.go +++ b/fix50sp1/parties/Parties.go @@ -12,8 +12,8 @@ type NoPartyIDs struct { PartyIDSource *string `fix:"447"` //PartyRole is a non-required field for NoPartyIDs. PartyRole *int `fix:"452"` - //PtysSubGrp Component - ptyssubgrp.PtysSubGrp + //PtysSubGrp is a non-required component for NoPartyIDs. + PtysSubGrp *ptyssubgrp.PtysSubGrp } //Parties is a fix50sp1 Component diff --git a/fix50sp1/positionmaintenancereport/PositionMaintenanceReport.go b/fix50sp1/positionmaintenancereport/PositionMaintenanceReport.go index c4b1d754c..87658247f 100644 --- a/fix50sp1/positionmaintenancereport/PositionMaintenanceReport.go +++ b/fix50sp1/positionmaintenancereport/PositionMaintenanceReport.go @@ -39,30 +39,30 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceReport. SettlSessSubID *string `fix:"717"` - //Parties Component - parties.Parties + //Parties is a non-required component for PositionMaintenanceReport. + Parties *parties.Parties //Account is a non-required field for PositionMaintenanceReport. Account *string `fix:"1"` //AcctIDSource is a non-required field for PositionMaintenanceReport. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionMaintenanceReport. AccountType *int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceReport. instrument.Instrument //Currency is a non-required field for PositionMaintenanceReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //InstrmtLegGrp is a non-required component for PositionMaintenanceReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for PositionMaintenanceReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //TrdgSesGrp is a non-required component for PositionMaintenanceReport. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a non-required field for PositionMaintenanceReport. TransactTime *time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceReport. positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for PositionMaintenanceReport. + PositionAmountData *positionamountdata.PositionAmountData //AdjustmentType is a non-required field for PositionMaintenanceReport. AdjustmentType *int `fix:"718"` //ThresholdAmount is a non-required field for PositionMaintenanceReport. @@ -87,21 +87,30 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosTransType(v int) { m.PosTransType = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } -func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } -func (m *Message) SetPosMaintStatus(v int) { m.PosMaintStatus = v } -func (m *Message) SetPosMaintResult(v int) { m.PosMaintResult = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosTransType(v int) { m.PosTransType = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } +func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } +func (m *Message) SetPosMaintStatus(v int) { m.PosMaintStatus = v } +func (m *Message) SetPosMaintResult(v int) { m.PosMaintResult = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } func (m *Message) SetText(v string) { m.Text = &v } diff --git a/fix50sp1/positionmaintenancerequest/PositionMaintenanceRequest.go b/fix50sp1/positionmaintenancerequest/PositionMaintenanceRequest.go index a985861f2..4a5d60ef2 100644 --- a/fix50sp1/positionmaintenancerequest/PositionMaintenanceRequest.go +++ b/fix50sp1/positionmaintenancerequest/PositionMaintenanceRequest.go @@ -35,7 +35,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceRequest. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionMaintenanceRequest. parties.Parties //Account is a non-required field for PositionMaintenanceRequest. Account *string `fix:"1"` @@ -43,19 +43,19 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionMaintenanceRequest. AccountType *int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceRequest. instrument.Instrument //Currency is a non-required field for PositionMaintenanceRequest. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //InstrmtLegGrp is a non-required component for PositionMaintenanceRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for PositionMaintenanceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //TrdgSesGrp is a non-required component for PositionMaintenanceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a non-required field for PositionMaintenanceRequest. TransactTime *time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceRequest. positionqty.PositionQty //AdjustmentType is a non-required field for PositionMaintenanceRequest. AdjustmentType *int `fix:"718"` @@ -71,8 +71,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for PositionMaintenanceRequest. EncodedText *string `fix:"355"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for PositionMaintenanceRequest. + PositionAmountData *positionamountdata.PositionAmountData //SettlCurrency is a non-required field for PositionMaintenanceRequest. SettlCurrency *string `fix:"120"` fixt11.Trailer @@ -81,27 +81,36 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosTransType(v int) { m.PosTransType = v } -func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } -func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } -func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } -func (m *Message) SetContraryInstructionIndicator(v bool) { m.ContraryInstructionIndicator = &v } -func (m *Message) SetPriorSpreadIndicator(v bool) { m.PriorSpreadIndicator = &v } -func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosTransType(v int) { m.PosTransType = v } +func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } +func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } +func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } +func (m *Message) SetContraryInstructionIndicator(v bool) { m.ContraryInstructionIndicator = &v } +func (m *Message) SetPriorSpreadIndicator(v bool) { m.PriorSpreadIndicator = &v } +func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/positionqty/PositionQty.go b/fix50sp1/positionqty/PositionQty.go index 72c7e5114..e0554591b 100644 --- a/fix50sp1/positionqty/PositionQty.go +++ b/fix50sp1/positionqty/PositionQty.go @@ -14,8 +14,8 @@ type NoPositions struct { ShortQty *float64 `fix:"705"` //PosQtyStatus is a non-required field for NoPositions. PosQtyStatus *int `fix:"706"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoPositions. + NestedParties *nestedparties.NestedParties //QuantityDate is a non-required field for NoPositions. QuantityDate *string `fix:"976"` } diff --git a/fix50sp1/positionreport/PositionReport.go b/fix50sp1/positionreport/PositionReport.go index d66110792..93ee78b00 100644 --- a/fix50sp1/positionreport/PositionReport.go +++ b/fix50sp1/positionreport/PositionReport.go @@ -38,7 +38,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionReport. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionReport. parties.Parties //Account is a non-required field for PositionReport. Account *string `fix:"1"` @@ -46,8 +46,8 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionReport. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for PositionReport. + Instrument *instrument.Instrument //Currency is a non-required field for PositionReport. Currency *string `fix:"15"` //SettlPrice is a non-required field for PositionReport. @@ -56,14 +56,14 @@ type Message struct { SettlPriceType *int `fix:"731"` //PriorSettlPrice is a non-required field for PositionReport. PriorSettlPrice *float64 `fix:"734"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //PosUndInstrmtGrp Component - posundinstrmtgrp.PosUndInstrmtGrp - //PositionQty Component - positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //InstrmtLegGrp is a non-required component for PositionReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //PosUndInstrmtGrp is a non-required component for PositionReport. + PosUndInstrmtGrp *posundinstrmtgrp.PosUndInstrmtGrp + //PositionQty is a non-required component for PositionReport. + PositionQty *positionqty.PositionQty + //PositionAmountData is a non-required component for PositionReport. + PositionAmountData *positionamountdata.PositionAmountData //RegistStatus is a non-required field for PositionReport. RegistStatus *string `fix:"506"` //DeliveryDate is a non-required field for PositionReport. @@ -82,40 +82,51 @@ type Message struct { SettlCurrency *string `fix:"120"` //MessageEventSource is a non-required field for PositionReport. MessageEventSource *string `fix:"1011"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for PositionReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } -func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } -func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } -func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } -func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } +func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } +func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetPosUndInstrmtGrp(v posundinstrmtgrp.PosUndInstrmtGrp) { m.PosUndInstrmtGrp = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } +func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go index d57d26277..6fcd70810 100644 --- a/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50sp1/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -7,14 +7,14 @@ import ( //NoUnderlyings is a repeating group in PosUndInstrmtGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //UnderlyingSettlPrice is a non-required field for NoUnderlyings. UnderlyingSettlPrice *float64 `fix:"732"` //UnderlyingSettlPriceType is a non-required field for NoUnderlyings. UnderlyingSettlPriceType *int `fix:"733"` - //UnderlyingAmount Component - underlyingamount.UnderlyingAmount + //UnderlyingAmount is a non-required component for NoUnderlyings. + UnderlyingAmount *underlyingamount.UnderlyingAmount //UnderlyingDeliveryAmount is a non-required field for NoUnderlyings. UnderlyingDeliveryAmount *float64 `fix:"1037"` } diff --git a/fix50sp1/preallocgrp/PreAllocGrp.go b/fix50sp1/preallocgrp/PreAllocGrp.go index 2564c911b..2392a9be6 100644 --- a/fix50sp1/preallocgrp/PreAllocGrp.go +++ b/fix50sp1/preallocgrp/PreAllocGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } diff --git a/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go b/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go index 704b84b7b..1ce4603b8 100644 --- a/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50sp1/preallocmleggrp/PreAllocMlegGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties3 Component - nestedparties3.NestedParties3 + //NestedParties3 is a non-required component for NoAllocs. + NestedParties3 *nestedparties3.NestedParties3 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } diff --git a/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go index 20a73dbcc..c74252089 100644 --- a/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50sp1/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -9,14 +9,14 @@ import ( //NoQuoteEntries is a repeating group in QuotCxlEntriesGrp type NoQuoteEntries struct { - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for NoQuoteEntries. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoQuoteEntries. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp } //QuotCxlEntriesGrp is a fix50sp1 Component diff --git a/fix50sp1/quote/Quote.go b/fix50sp1/quote/Quote.go index 47f64ef55..2d61d4438 100644 --- a/fix50sp1/quote/Quote.go +++ b/fix50sp1/quote/Quote.go @@ -30,26 +30,26 @@ type Message struct { QuoteRespID *string `fix:"693"` //QuoteType is a non-required field for Quote. QuoteType *int `fix:"537"` - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotQualGrp is a non-required component for Quote. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuoteResponseLevel is a non-required field for Quote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for Quote. + Parties *parties.Parties //TradingSessionID is a non-required field for Quote. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for Quote. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for Quote. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for Quote. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for Quote. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for Quote. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for Quote. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for Quote. SettlType *string `fix:"63"` //SettlDate is a non-required field for Quote. @@ -60,16 +60,16 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for Quote. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for Quote. + Stipulations *stipulations.Stipulations //Account is a non-required field for Quote. Account *string `fix:"1"` //AcctIDSource is a non-required field for Quote. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for Quote. AccountType *int `fix:"581"` - //LegQuotGrp Component - legquotgrp.LegQuotGrp + //LegQuotGrp is a non-required component for Quote. + LegQuotGrp *legquotgrp.LegQuotGrp //BidPx is a non-required field for Quote. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for Quote. @@ -130,10 +130,10 @@ type Message struct { OrderCapacity *string `fix:"528"` //PriceType is a non-required field for Quote. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for Quote. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for Quote. + YieldData *yielddata.YieldData //Text is a non-required field for Quote. Text *string `fix:"58"` //EncodedTextLen is a non-required field for Quote. @@ -158,61 +158,73 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetBidSwapPoints(v float64) { m.BidSwapPoints = &v } -func (m *Message) SetOfferSwapPoints(v float64) { m.OfferSwapPoints = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } -func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotGrp(v legquotgrp.LegQuotGrp) { m.LegQuotGrp = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetBidSwapPoints(v float64) { m.BidSwapPoints = &v } +func (m *Message) SetOfferSwapPoints(v float64) { m.OfferSwapPoints = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/quotecancel/QuoteCancel.go b/fix50sp1/quotecancel/QuoteCancel.go index 30b387fcb..42ab820c5 100644 --- a/fix50sp1/quotecancel/QuoteCancel.go +++ b/fix50sp1/quotecancel/QuoteCancel.go @@ -21,8 +21,8 @@ type Message struct { QuoteCancelType int `fix:"298"` //QuoteResponseLevel is a non-required field for QuoteCancel. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteCancel. + Parties *parties.Parties //Account is a non-required field for QuoteCancel. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteCancel. @@ -33,8 +33,8 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteCancel. TradingSessionSubID *string `fix:"625"` - //QuotCxlEntriesGrp Component - quotcxlentriesgrp.QuotCxlEntriesGrp + //QuotCxlEntriesGrp is a non-required component for QuoteCancel. + QuotCxlEntriesGrp *quotcxlentriesgrp.QuotCxlEntriesGrp //QuoteMsgID is a non-required field for QuoteCancel. QuoteMsgID *string `fix:"1166"` fixt11.Trailer @@ -47,12 +47,16 @@ func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetQuotCxlEntriesGrp(v quotcxlentriesgrp.QuotCxlEntriesGrp) { + m.QuotCxlEntriesGrp = &v +} +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go b/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go index 7949367b2..53ca1fc6c 100644 --- a/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50sp1/quotentryackgrp/QuotEntryAckGrp.go @@ -10,10 +10,10 @@ import ( type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. QuoteEntryID *string `fix:"299"` - //Instrument Component - instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. diff --git a/fix50sp1/quotentrygrp/QuotEntryGrp.go b/fix50sp1/quotentrygrp/QuotEntryGrp.go index 9b52781d5..f2781551c 100644 --- a/fix50sp1/quotentrygrp/QuotEntryGrp.go +++ b/fix50sp1/quotentrygrp/QuotEntryGrp.go @@ -10,10 +10,10 @@ import ( type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. QuoteEntryID string `fix:"299"` - //Instrument Component - instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. diff --git a/fix50sp1/quoterequest/QuoteRequest.go b/fix50sp1/quoterequest/QuoteRequest.go index 70db1c780..29d864579 100644 --- a/fix50sp1/quoterequest/QuoteRequest.go +++ b/fix50sp1/quoterequest/QuoteRequest.go @@ -21,7 +21,7 @@ type Message struct { ClOrdID *string `fix:"11"` //OrderCapacity is a non-required field for QuoteRequest. OrderCapacity *string `fix:"528"` - //QuotReqGrp Component + //QuotReqGrp is a required component for QuoteRequest. quotreqgrp.QuotReqGrp //Text is a non-required field for QuoteRequest. Text *string `fix:"58"` @@ -29,8 +29,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for QuoteRequest. EncodedText *string `fix:"355"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for QuoteRequest. + RootParties *rootparties.RootParties //PrivateQuote is a non-required field for QuoteRequest. PrivateQuote *bool `fix:"1171"` //RespondentType is a non-required field for QuoteRequest. @@ -43,16 +43,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } -func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } -func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } +func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetQuotReqGrp(v quotreqgrp.QuotReqGrp) { m.QuotReqGrp = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/quoterequestreject/QuoteRequestReject.go b/fix50sp1/quoterequestreject/QuoteRequestReject.go index a82b5442d..e5bff267d 100644 --- a/fix50sp1/quoterequestreject/QuoteRequestReject.go +++ b/fix50sp1/quoterequestreject/QuoteRequestReject.go @@ -19,7 +19,7 @@ type Message struct { RFQReqID *string `fix:"644"` //QuoteRequestRejectReason is a required field for QuoteRequestReject. QuoteRequestRejectReason int `fix:"658"` - //QuotReqRjctGrp Component + //QuotReqRjctGrp is a required component for QuoteRequestReject. quotreqrjctgrp.QuotReqRjctGrp //Text is a non-required field for QuoteRequestReject. Text *string `fix:"58"` @@ -27,8 +27,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for QuoteRequestReject. EncodedText *string `fix:"355"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for QuoteRequestReject. + RootParties *rootparties.RootParties //PrivateQuote is a non-required field for QuoteRequestReject. PrivateQuote *bool `fix:"1171"` //RespondentType is a non-required field for QuoteRequestReject. @@ -41,15 +41,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } -func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } -func (m *Message) SetQuoteRequestRejectReason(v int) { m.QuoteRequestRejectReason = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } -func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } +func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } +func (m *Message) SetQuoteRequestRejectReason(v int) { m.QuoteRequestRejectReason = v } +func (m *Message) SetQuotReqRjctGrp(v quotreqrjctgrp.QuotReqRjctGrp) { m.QuotReqRjctGrp = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/quoteresponse/QuoteResponse.go b/fix50sp1/quoteresponse/QuoteResponse.go index a449fad58..6e38a2ae6 100644 --- a/fix50sp1/quoteresponse/QuoteResponse.go +++ b/fix50sp1/quoteresponse/QuoteResponse.go @@ -36,24 +36,24 @@ type Message struct { IOIID *string `fix:"23"` //QuoteType is a non-required field for QuoteResponse. QuoteType *int `fix:"537"` - //QuotQualGrp Component - quotqualgrp.QuotQualGrp - //Parties Component - parties.Parties + //QuotQualGrp is a non-required component for QuoteResponse. + QuotQualGrp *quotqualgrp.QuotQualGrp + //Parties is a non-required component for QuoteResponse. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteResponse. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteResponse. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteResponse. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for QuoteResponse. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteResponse. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for QuoteResponse. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteResponse. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteResponse. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteResponse. @@ -64,16 +64,16 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteResponse. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteResponse. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteResponse. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for QuoteResponse. AccountType *int `fix:"581"` - //LegQuotGrp Component - legquotgrp.LegQuotGrp + //LegQuotGrp is a non-required component for QuoteResponse. + LegQuotGrp *legquotgrp.LegQuotGrp //BidPx is a non-required field for QuoteResponse. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for QuoteResponse. @@ -140,10 +140,10 @@ type Message struct { Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteResponse. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteResponse. + YieldData *yielddata.YieldData //ExDestinationIDSource is a non-required field for QuoteResponse. ExDestinationIDSource *string `fix:"1133"` //QuoteMsgID is a non-required field for QuoteResponse. @@ -160,62 +160,74 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotGrp(v legquotgrp.LegQuotGrp) { m.LegQuotGrp = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/quotestatusreport/QuoteStatusReport.go b/fix50sp1/quotestatusreport/QuoteStatusReport.go index 29f11ad15..d4b981fe4 100644 --- a/fix50sp1/quotestatusreport/QuoteStatusReport.go +++ b/fix50sp1/quotestatusreport/QuoteStatusReport.go @@ -32,22 +32,22 @@ type Message struct { QuoteRespID *string `fix:"693"` //QuoteType is a non-required field for QuoteStatusReport. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteStatusReport. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteStatusReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteStatusReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteStatusReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for QuoteStatusReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteStatusReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for QuoteStatusReport. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteStatusReport. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteStatusReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteStatusReport. @@ -58,28 +58,28 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteStatusReport. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteStatusReport. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteStatusReport. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusReport. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for QuoteStatusReport. AccountType *int `fix:"581"` - //LegQuotStatGrp Component - legquotstatgrp.LegQuotStatGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //LegQuotStatGrp is a non-required component for QuoteStatusReport. + LegQuotStatGrp *legquotstatgrp.LegQuotStatGrp + //QuotQualGrp is a non-required component for QuoteStatusReport. + QuotQualGrp *quotqualgrp.QuotQualGrp //ExpireTime is a non-required field for QuoteStatusReport. ExpireTime *time.Time `fix:"126"` //Price is a non-required field for QuoteStatusReport. Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteStatusReport. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteStatusReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteStatusReport. + YieldData *yielddata.YieldData //BidPx is a non-required field for QuoteStatusReport. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for QuoteStatusReport. @@ -160,62 +160,74 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } -func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotStatGrp(v legquotstatgrp.LegQuotStatGrp) { m.LegQuotStatGrp = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/quotestatusrequest/QuoteStatusRequest.go b/fix50sp1/quotestatusrequest/QuoteStatusRequest.go index 801dd75ad..3fd01bd1c 100644 --- a/fix50sp1/quotestatusrequest/QuoteStatusRequest.go +++ b/fix50sp1/quotestatusrequest/QuoteStatusRequest.go @@ -20,16 +20,16 @@ type Message struct { QuoteStatusReqID *string `fix:"649"` //QuoteID is a non-required field for QuoteStatusRequest. QuoteID *string `fix:"117"` - //Instrument Component + //Instrument is a required component for QuoteStatusRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //Parties Component - parties.Parties + //FinancingDetails is a non-required component for QuoteStatusRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for QuoteStatusRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //Parties is a non-required component for QuoteStatusRequest. + Parties *parties.Parties //Account is a non-required field for QuoteStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusRequest. @@ -48,14 +48,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/quotreqgrp/QuotReqGrp.go b/fix50sp1/quotreqgrp/QuotReqGrp.go index 8751a09bf..ba9da08f8 100644 --- a/fix50sp1/quotreqgrp/QuotReqGrp.go +++ b/fix50sp1/quotreqgrp/QuotReqGrp.go @@ -16,12 +16,12 @@ import ( //NoRelatedSym is a repeating group in QuotReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. @@ -38,8 +38,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -50,18 +50,18 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for NoRelatedSym. AccountType *int `fix:"581"` - //QuotReqLegsGrp Component - quotreqlegsgrp.QuotReqLegsGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotReqLegsGrp is a non-required component for NoRelatedSym. + QuotReqLegsGrp *quotreqlegsgrp.QuotReqLegsGrp + //QuotQualGrp is a non-required component for NoRelatedSym. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuotePriceType is a non-required field for NoRelatedSym. QuotePriceType *int `fix:"692"` //OrdType is a non-required field for NoRelatedSym. @@ -72,18 +72,18 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties //MinQty is a non-required field for NoRelatedSym. MinQty *float64 `fix:"110"` } diff --git a/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go index 41d6f625d..a04a921b3 100644 --- a/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50sp1/quotreqlegsgrp/QuotReqLegsGrp.go @@ -9,8 +9,8 @@ import ( //NoLegs is a repeating group in QuotReqLegsGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -19,12 +19,12 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` //LegRefID is a non-required field for NoLegs. diff --git a/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go index 8f6575365..233831396 100644 --- a/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50sp1/quotreqrjctgrp/QuotReqRjctGrp.go @@ -16,12 +16,12 @@ import ( //NoRelatedSym is a repeating group in QuotReqRjctGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. @@ -38,8 +38,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -50,18 +50,18 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for NoRelatedSym. AccountType *int `fix:"581"` - //QuotReqLegsGrp Component - quotreqlegsgrp.QuotReqLegsGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotReqLegsGrp is a non-required component for NoRelatedSym. + QuotReqLegsGrp *quotreqlegsgrp.QuotReqLegsGrp + //QuotQualGrp is a non-required component for NoRelatedSym. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuotePriceType is a non-required field for NoRelatedSym. QuotePriceType *int `fix:"692"` //OrdType is a non-required field for NoRelatedSym. @@ -70,18 +70,18 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties } //QuotReqRjctGrp is a fix50sp1 Component diff --git a/fix50sp1/quotsetackgrp/QuotSetAckGrp.go b/fix50sp1/quotsetackgrp/QuotSetAckGrp.go index c1487fb7f..bf8fb896f 100644 --- a/fix50sp1/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50sp1/quotsetackgrp/QuotSetAckGrp.go @@ -9,14 +9,14 @@ import ( type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. QuoteSetID *string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoQuoteEntries is a non-required field for NoQuoteSets. TotNoQuoteEntries *int `fix:"304"` //LastFragment is a non-required field for NoQuoteSets. LastFragment *bool `fix:"893"` - //QuotEntryAckGrp Component - quotentryackgrp.QuotEntryAckGrp + //QuotEntryAckGrp is a non-required component for NoQuoteSets. + QuotEntryAckGrp *quotentryackgrp.QuotEntryAckGrp //TotNoCxldQuotes is a non-required field for NoQuoteSets. TotNoCxldQuotes *int `fix:"1168"` //TotNoAccQuotes is a non-required field for NoQuoteSets. diff --git a/fix50sp1/quotsetgrp/QuotSetGrp.go b/fix50sp1/quotsetgrp/QuotSetGrp.go index 44e4861af..9fc77a30b 100644 --- a/fix50sp1/quotsetgrp/QuotSetGrp.go +++ b/fix50sp1/quotsetgrp/QuotSetGrp.go @@ -10,15 +10,15 @@ import ( type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. QuoteSetID string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //QuoteSetValidUntilTime is a non-required field for NoQuoteSets. QuoteSetValidUntilTime *time.Time `fix:"367"` //TotNoQuoteEntries is a required field for NoQuoteSets. TotNoQuoteEntries int `fix:"304"` //LastFragment is a non-required field for NoQuoteSets. LastFragment *bool `fix:"893"` - //QuotEntryGrp Component + //QuotEntryGrp is a required component for NoQuoteSets. quotentrygrp.QuotEntryGrp } diff --git a/fix50sp1/registrationinstructions/RegistrationInstructions.go b/fix50sp1/registrationinstructions/RegistrationInstructions.go index 8307fd129..18ef9241a 100644 --- a/fix50sp1/registrationinstructions/RegistrationInstructions.go +++ b/fix50sp1/registrationinstructions/RegistrationInstructions.go @@ -22,8 +22,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructions. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructions. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructions. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructions. @@ -34,25 +34,28 @@ type Message struct { TaxAdvantageType *int `fix:"495"` //OwnershipType is a non-required field for RegistrationInstructions. OwnershipType *string `fix:"517"` - //RgstDtlsGrp Component - rgstdtlsgrp.RgstDtlsGrp - //RgstDistInstGrp Component - rgstdistinstgrp.RgstDistInstGrp + //RgstDtlsGrp is a non-required component for RegistrationInstructions. + RgstDtlsGrp *rgstdtlsgrp.RgstDtlsGrp + //RgstDistInstGrp is a non-required component for RegistrationInstructions. + RgstDistInstGrp *rgstdistinstgrp.RgstDistInstGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetRegistID(v string) { m.RegistID = v } -func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } -func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } -func (m *Message) SetTaxAdvantageType(v int) { m.TaxAdvantageType = &v } -func (m *Message) SetOwnershipType(v string) { m.OwnershipType = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = v } +func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } +func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } +func (m *Message) SetTaxAdvantageType(v int) { m.TaxAdvantageType = &v } +func (m *Message) SetOwnershipType(v string) { m.OwnershipType = &v } +func (m *Message) SetRgstDtlsGrp(v rgstdtlsgrp.RgstDtlsGrp) { m.RgstDtlsGrp = &v } +func (m *Message) SetRgstDistInstGrp(v rgstdistinstgrp.RgstDistInstGrp) { m.RgstDistInstGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/registrationinstructionsresponse/RegistrationInstructionsResponse.go b/fix50sp1/registrationinstructionsresponse/RegistrationInstructionsResponse.go index 36c70730b..6c7a7da2b 100644 --- a/fix50sp1/registrationinstructionsresponse/RegistrationInstructionsResponse.go +++ b/fix50sp1/registrationinstructionsresponse/RegistrationInstructionsResponse.go @@ -20,8 +20,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructionsResponse. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructionsResponse. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructionsResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructionsResponse. @@ -42,6 +42,7 @@ func (m *Message) SetRegistID(v string) { m.RegistID = v } func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetRegistStatus(v string) { m.RegistStatus = v } diff --git a/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go index 1cb5901c6..c7761271d 100644 --- a/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50sp1/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -9,22 +9,22 @@ import ( //NoRelatedSym is a repeating group in RelSymDerivSecGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NoRelatedSym. EncodedText *string `fix:"355"` - //SecondaryPriceLimits Component - secondarypricelimits.SecondaryPriceLimits + //SecondaryPriceLimits is a non-required component for NoRelatedSym. + SecondaryPriceLimits *secondarypricelimits.SecondaryPriceLimits //CorporateAction is a non-required field for NoRelatedSym. CorporateAction *string `fix:"292"` } diff --git a/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go b/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go index 66734e40b..4c760f8a5 100644 --- a/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go +++ b/fix50sp1/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go @@ -11,16 +11,16 @@ import ( type NoRelatedSym struct { //ListUpdateAction is a non-required field for NoRelatedSym. ListUpdateAction *string `fix:"1324"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //SecondaryPriceLimits Component - secondarypricelimits.SecondaryPriceLimits + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //SecondaryPriceLimits is a non-required component for NoRelatedSym. + SecondaryPriceLimits *secondarypricelimits.SecondaryPriceLimits //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. diff --git a/fix50sp1/requestforpositions/RequestForPositions.go b/fix50sp1/requestforpositions/RequestForPositions.go index 1e23bf0da..7ea00c6b3 100644 --- a/fix50sp1/requestforpositions/RequestForPositions.go +++ b/fix50sp1/requestforpositions/RequestForPositions.go @@ -25,7 +25,7 @@ type Message struct { MatchStatus *string `fix:"573"` //SubscriptionRequestType is a non-required field for RequestForPositions. SubscriptionRequestType *string `fix:"263"` - //Parties Component + //Parties is a required component for RequestForPositions. parties.Parties //Account is a non-required field for RequestForPositions. Account *string `fix:"1"` @@ -33,22 +33,22 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for RequestForPositions. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositions. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositions. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for RequestForPositions. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for RequestForPositions. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //ClearingBusinessDate is a required field for RequestForPositions. ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for RequestForPositions. SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for RequestForPositions. SettlSessSubID *string `fix:"717"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for RequestForPositions. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a required field for RequestForPositions. TransactTime time.Time `fix:"60"` //ResponseTransportType is a non-required field for RequestForPositions. @@ -69,24 +69,29 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosReqID(v string) { m.PosReqID = v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/requestforpositionsack/RequestForPositionsAck.go b/fix50sp1/requestforpositionsack/RequestForPositionsAck.go index dff34d8c8..47ff16c15 100644 --- a/fix50sp1/requestforpositionsack/RequestForPositionsAck.go +++ b/fix50sp1/requestforpositionsack/RequestForPositionsAck.go @@ -27,7 +27,7 @@ type Message struct { PosReqResult int `fix:"728"` //PosReqStatus is a required field for RequestForPositionsAck. PosReqStatus int `fix:"729"` - //Parties Component + //Parties is a required component for RequestForPositionsAck. parties.Parties //Account is a non-required field for RequestForPositionsAck. Account *string `fix:"1"` @@ -35,14 +35,14 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for RequestForPositionsAck. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositionsAck. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositionsAck. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for RequestForPositionsAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for RequestForPositionsAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //ResponseTransportType is a non-required field for RequestForPositionsAck. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for RequestForPositionsAck. @@ -73,28 +73,32 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } -func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } +func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/rfqreqgrp/RFQReqGrp.go b/fix50sp1/rfqreqgrp/RFQReqGrp.go index f9a7905c8..92d8f609c 100644 --- a/fix50sp1/rfqreqgrp/RFQReqGrp.go +++ b/fix50sp1/rfqreqgrp/RFQReqGrp.go @@ -8,12 +8,12 @@ import ( //NoRelatedSym is a repeating group in RFQReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. diff --git a/fix50sp1/rfqrequest/RFQRequest.go b/fix50sp1/rfqrequest/RFQRequest.go index 626bcf3e7..21f220a61 100644 --- a/fix50sp1/rfqrequest/RFQRequest.go +++ b/fix50sp1/rfqrequest/RFQRequest.go @@ -15,14 +15,14 @@ type Message struct { fixt11.Header //RFQReqID is a required field for RFQRequest. RFQReqID string `fix:"644"` - //RFQReqGrp Component + //RFQReqGrp is a required component for RFQRequest. rfqreqgrp.RFQReqGrp //SubscriptionRequestType is a non-required field for RFQRequest. SubscriptionRequestType *string `fix:"263"` //PrivateQuote is a non-required field for RFQRequest. PrivateQuote *bool `fix:"1171"` - //Parties Component - parties.Parties + //Parties is a non-required component for RFQRequest. + Parties *parties.Parties fixt11.Trailer } @@ -30,8 +30,10 @@ type Message struct { func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetRFQReqID(v string) { m.RFQReqID = v } +func (m *Message) SetRFQReqGrp(v rfqreqgrp.RFQReqGrp) { m.RFQReqGrp = v } func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go b/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go index 494e9eb83..6654e975c 100644 --- a/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50sp1/rgstdtlsgrp/RgstDtlsGrp.go @@ -14,8 +14,8 @@ type NoRegistDtls struct { MailingDtls *string `fix:"474"` //MailingInst is a non-required field for NoRegistDtls. MailingInst *string `fix:"482"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoRegistDtls. + NestedParties *nestedparties.NestedParties //OwnerType is a non-required field for NoRegistDtls. OwnerType *int `fix:"522"` //DateOfBirth is a non-required field for NoRegistDtls. diff --git a/fix50sp1/rootparties/RootParties.go b/fix50sp1/rootparties/RootParties.go index 715260588..0a6636d1a 100644 --- a/fix50sp1/rootparties/RootParties.go +++ b/fix50sp1/rootparties/RootParties.go @@ -12,8 +12,8 @@ type NoRootPartyIDs struct { RootPartyIDSource *string `fix:"1118"` //RootPartyRole is a non-required field for NoRootPartyIDs. RootPartyRole *int `fix:"1119"` - //RootSubParties Component - rootsubparties.RootSubParties + //RootSubParties is a non-required component for NoRootPartyIDs. + RootSubParties *rootsubparties.RootSubParties } //RootParties is a fix50sp1 Component diff --git a/fix50sp1/seclistgrp/SecListGrp.go b/fix50sp1/seclistgrp/SecListGrp.go index db8e31d0a..621afe23f 100644 --- a/fix50sp1/seclistgrp/SecListGrp.go +++ b/fix50sp1/seclistgrp/SecListGrp.go @@ -15,34 +15,34 @@ import ( //NoRelatedSym is a repeating group in SecListGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations - //InstrmtLegSecListGrp Component - instrmtlegseclistgrp.InstrmtLegSecListGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations + //InstrmtLegSecListGrp is a non-required component for NoRelatedSym. + InstrmtLegSecListGrp *instrmtlegseclistgrp.InstrmtLegSecListGrp + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NoRelatedSym. EncodedText *string `fix:"355"` - //SecurityTradingRules Component - securitytradingrules.SecurityTradingRules - //StrikeRules Component - strikerules.StrikeRules + //SecurityTradingRules is a non-required component for NoRelatedSym. + SecurityTradingRules *securitytradingrules.SecurityTradingRules + //StrikeRules is a non-required component for NoRelatedSym. + StrikeRules *strikerules.StrikeRules } //SecListGrp is a fix50sp1 Component diff --git a/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 87ff3c8fb..7cd5a0a12 100644 --- a/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50sp1/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -15,36 +15,36 @@ import ( //NoRelatedSym is a repeating group in SecLstUpdRelSymGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //SecLstUpdRelSymsLegGrp Component - seclstupdrelsymsleggrp.SecLstUpdRelSymsLegGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //SecLstUpdRelSymsLegGrp is a non-required component for NoRelatedSym. + SecLstUpdRelSymsLegGrp *seclstupdrelsymsleggrp.SecLstUpdRelSymsLegGrp + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NoRelatedSym. EncodedText *string `fix:"355"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //ListUpdateAction is a non-required field for NoRelatedSym. ListUpdateAction *string `fix:"1324"` - //SecurityTradingRules Component - securitytradingrules.SecurityTradingRules - //StrikeRules Component - strikerules.StrikeRules + //SecurityTradingRules is a non-required component for NoRelatedSym. + SecurityTradingRules *securitytradingrules.SecurityTradingRules + //StrikeRules is a non-required component for NoRelatedSym. + StrikeRules *strikerules.StrikeRules } //SecLstUpdRelSymGrp is a fix50sp1 Component diff --git a/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index 34d318618..01249fec1 100644 --- a/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50sp1/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -8,16 +8,16 @@ import ( //NoLegs is a repeating group in SecLstUpdRelSymsLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` //LegSettlType is a non-required field for NoLegs. LegSettlType *string `fix:"587"` - //LegStipulations Component - legstipulations.LegStipulations - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } //SecLstUpdRelSymsLegGrp is a fix50sp1 Component diff --git a/fix50sp1/securitydefinition/SecurityDefinition.go b/fix50sp1/securitydefinition/SecurityDefinition.go index 94f7384c0..353c68266 100644 --- a/fix50sp1/securitydefinition/SecurityDefinition.go +++ b/fix50sp1/securitydefinition/SecurityDefinition.go @@ -26,12 +26,12 @@ type Message struct { SecurityResponseID *string `fix:"322"` //SecurityResponseType is a non-required field for SecurityDefinition. SecurityResponseType *int `fix:"323"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinition. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinition. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityDefinition. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinition. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinition. @@ -40,40 +40,55 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for SecurityDefinition. EncodedText *string `fix:"355"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for SecurityDefinition. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SecurityReportID is a non-required field for SecurityDefinition. SecurityReportID *int `fix:"964"` //ClearingBusinessDate is a non-required field for SecurityDefinition. ClearingBusinessDate *string `fix:"715"` - //Stipulations Component - stipulations.Stipulations - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for SecurityDefinition. + Stipulations *stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for SecurityDefinition. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for SecurityDefinition. + YieldData *yielddata.YieldData //CorporateAction is a non-required field for SecurityDefinition. CorporateAction *string `fix:"292"` - //MarketSegmentGrp Component - marketsegmentgrp.MarketSegmentGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //MarketSegmentGrp is a non-required component for SecurityDefinition. + MarketSegmentGrp *marketsegmentgrp.MarketSegmentGrp + //ApplicationSequenceControl is a non-required component for SecurityDefinition. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetMarketSegmentGrp(v marketsegmentgrp.MarketSegmentGrp) { m.MarketSegmentGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix50sp1/securitydefinitionrequest/SecurityDefinitionRequest.go index 65f771481..61babbe43 100644 --- a/fix50sp1/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix50sp1/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -22,12 +22,12 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityRequestType is a required field for SecurityDefinitionRequest. SecurityRequestType int `fix:"321"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinitionRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinitionRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityDefinitionRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinitionRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinitionRequest. @@ -40,18 +40,18 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for SecurityDefinitionRequest. TradingSessionSubID *string `fix:"625"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for SecurityDefinitionRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //ExpirationCycle is a non-required field for SecurityDefinitionRequest. ExpirationCycle *int `fix:"827"` //SubscriptionRequestType is a non-required field for SecurityDefinitionRequest. SubscriptionRequestType *string `fix:"263"` - //Stipulations Component - stipulations.Stipulations - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for SecurityDefinitionRequest. + Stipulations *stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for SecurityDefinitionRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for SecurityDefinitionRequest. + YieldData *yielddata.YieldData //MarketID is a non-required field for SecurityDefinitionRequest. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityDefinitionRequest. @@ -62,18 +62,29 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go b/fix50sp1/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go index fe84299ce..d26909be0 100644 --- a/fix50sp1/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go +++ b/fix50sp1/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go @@ -34,10 +34,10 @@ type Message struct { SecurityUpdateAction *string `fix:"980"` //CorporateAction is a non-required field for SecurityDefinitionUpdateReport. CorporateAction *string `fix:"292"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinitionUpdateReport. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for SecurityDefinitionUpdateReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinitionUpdateReport. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinitionUpdateReport. @@ -46,37 +46,52 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for SecurityDefinitionUpdateReport. EncodedText *string `fix:"355"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //Stipulations Component - stipulations.Stipulations - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //MarketSegmentGrp Component - marketsegmentgrp.MarketSegmentGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //InstrmtLegGrp is a non-required component for SecurityDefinitionUpdateReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityDefinitionUpdateReport. + InstrumentExtension *instrumentextension.InstrumentExtension + //Stipulations is a non-required component for SecurityDefinitionUpdateReport. + Stipulations *stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for SecurityDefinitionUpdateReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for SecurityDefinitionUpdateReport. + YieldData *yielddata.YieldData + //MarketSegmentGrp is a non-required component for SecurityDefinitionUpdateReport. + MarketSegmentGrp *marketsegmentgrp.MarketSegmentGrp + //ApplicationSequenceControl is a non-required component for SecurityDefinitionUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetMarketSegmentGrp(v marketsegmentgrp.MarketSegmentGrp) { m.MarketSegmentGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitylist/SecurityList.go b/fix50sp1/securitylist/SecurityList.go index 5e3f8ce2d..25e7dd22e 100644 --- a/fix50sp1/securitylist/SecurityList.go +++ b/fix50sp1/securitylist/SecurityList.go @@ -23,8 +23,8 @@ type Message struct { TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for SecurityList. LastFragment *bool `fix:"893"` - //SecListGrp Component - seclistgrp.SecListGrp + //SecListGrp is a non-required component for SecurityList. + SecListGrp *seclistgrp.SecListGrp //SecurityReportID is a non-required field for SecurityList. SecurityReportID *int `fix:"964"` //ClearingBusinessDate is a non-required field for SecurityList. @@ -33,23 +33,27 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityList. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityList. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecListGrp(v seclistgrp.SecListGrp) { m.SecListGrp = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitylistrequest/SecurityListRequest.go b/fix50sp1/securitylistrequest/SecurityListRequest.go index 97b53892a..e5d0bd475 100644 --- a/fix50sp1/securitylistrequest/SecurityListRequest.go +++ b/fix50sp1/securitylistrequest/SecurityListRequest.go @@ -20,16 +20,16 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for SecurityListRequest. SecurityListRequestType int `fix:"559"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for SecurityListRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityListRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for SecurityListRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for SecurityListRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityListRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityListRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityListRequest. @@ -54,17 +54,24 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitylistupdatereport/SecurityListUpdateReport.go b/fix50sp1/securitylistupdatereport/SecurityListUpdateReport.go index 406f92ed0..72bfc4214 100644 --- a/fix50sp1/securitylistupdatereport/SecurityListUpdateReport.go +++ b/fix50sp1/securitylistupdatereport/SecurityListUpdateReport.go @@ -31,14 +31,14 @@ type Message struct { CorporateAction *string `fix:"292"` //LastFragment is a non-required field for SecurityListUpdateReport. LastFragment *bool `fix:"893"` - //SecLstUpdRelSymGrp Component - seclstupdrelsymgrp.SecLstUpdRelSymGrp + //SecLstUpdRelSymGrp is a non-required component for SecurityListUpdateReport. + SecLstUpdRelSymGrp *seclstupdrelsymgrp.SecLstUpdRelSymGrp //MarketID is a non-required field for SecurityListUpdateReport. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityListUpdateReport. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityListUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } @@ -54,8 +54,14 @@ func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = & func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecLstUpdRelSymGrp(v seclstupdrelsymgrp.SecLstUpdRelSymGrp) { + m.SecLstUpdRelSymGrp = &v +} +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitystatus/SecurityStatus.go b/fix50sp1/securitystatus/SecurityStatus.go index fa9872eb9..0385f4c30 100644 --- a/fix50sp1/securitystatus/SecurityStatus.go +++ b/fix50sp1/securitystatus/SecurityStatus.go @@ -19,14 +19,14 @@ type Message struct { fixt11.Header //SecurityStatusReqID is a non-required field for SecurityStatus. SecurityStatusReqID *string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatus. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityStatus. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityStatus. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityStatus. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityStatus. Currency *string `fix:"15"` //TradingSessionID is a non-required field for SecurityStatus. @@ -79,41 +79,50 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityStatus. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityStatus. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetHaltReasonChar(v string) { m.HaltReasonChar = &v } -func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } -func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } -func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } -func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } -func (m *Message) SetHighPx(v float64) { m.HighPx = &v } -func (m *Message) SetLowPx(v float64) { m.LowPx = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetFirstPx(v float64) { m.FirstPx = &v } -func (m *Message) SetSecurityTradingEvent(v int) { m.SecurityTradingEvent = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetHaltReasonChar(v string) { m.HaltReasonChar = &v } +func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } +func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } +func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } +func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } +func (m *Message) SetHighPx(v float64) { m.HighPx = &v } +func (m *Message) SetLowPx(v float64) { m.LowPx = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetFirstPx(v float64) { m.FirstPx = &v } +func (m *Message) SetSecurityTradingEvent(v int) { m.SecurityTradingEvent = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitystatusrequest/SecurityStatusRequest.go b/fix50sp1/securitystatusrequest/SecurityStatusRequest.go index c24d10b78..65ae1fe61 100644 --- a/fix50sp1/securitystatusrequest/SecurityStatusRequest.go +++ b/fix50sp1/securitystatusrequest/SecurityStatusRequest.go @@ -17,14 +17,14 @@ type Message struct { fixt11.Header //SecurityStatusReqID is a required field for SecurityStatusRequest. SecurityStatusReqID string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatusRequest. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityStatusRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityStatusRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityStatusRequest. Currency *string `fix:"15"` //SubscriptionRequestType is a required field for SecurityStatusRequest. @@ -43,13 +43,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/securitytradingrules/SecurityTradingRules.go b/fix50sp1/securitytradingrules/SecurityTradingRules.go index d4f2bed87..08bf33f7e 100644 --- a/fix50sp1/securitytradingrules/SecurityTradingRules.go +++ b/fix50sp1/securitytradingrules/SecurityTradingRules.go @@ -8,10 +8,20 @@ import ( //SecurityTradingRules is a fix50sp1 Component type SecurityTradingRules struct { - //BaseTradingRules Component - basetradingrules.BaseTradingRules - //TradingSessionRulesGrp Component - tradingsessionrulesgrp.TradingSessionRulesGrp - //NestedInstrumentAttribute Component - nestedinstrumentattribute.NestedInstrumentAttribute + //BaseTradingRules is a non-required component for SecurityTradingRules. + BaseTradingRules *basetradingrules.BaseTradingRules + //TradingSessionRulesGrp is a non-required component for SecurityTradingRules. + TradingSessionRulesGrp *tradingsessionrulesgrp.TradingSessionRulesGrp + //NestedInstrumentAttribute is a non-required component for SecurityTradingRules. + NestedInstrumentAttribute *nestedinstrumentattribute.NestedInstrumentAttribute +} + +func (m *SecurityTradingRules) SetBaseTradingRules(v basetradingrules.BaseTradingRules) { + m.BaseTradingRules = &v +} +func (m *SecurityTradingRules) SetTradingSessionRulesGrp(v tradingsessionrulesgrp.TradingSessionRulesGrp) { + m.TradingSessionRulesGrp = &v +} +func (m *SecurityTradingRules) SetNestedInstrumentAttribute(v nestedinstrumentattribute.NestedInstrumentAttribute) { + m.NestedInstrumentAttribute = &v } diff --git a/fix50sp1/securitytypes/SecurityTypes.go b/fix50sp1/securitytypes/SecurityTypes.go index c8456178b..de8b51d53 100644 --- a/fix50sp1/securitytypes/SecurityTypes.go +++ b/fix50sp1/securitytypes/SecurityTypes.go @@ -23,8 +23,8 @@ type Message struct { TotNoSecurityTypes *int `fix:"557"` //LastFragment is a non-required field for SecurityTypes. LastFragment *bool `fix:"893"` - //SecTypesGrp Component - sectypesgrp.SecTypesGrp + //SecTypesGrp is a non-required component for SecurityTypes. + SecTypesGrp *sectypesgrp.SecTypesGrp //Text is a non-required field for SecurityTypes. Text *string `fix:"58"` //EncodedTextLen is a non-required field for SecurityTypes. @@ -41,27 +41,31 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityTypes. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityTypes. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } -func (m *Message) SetTotNoSecurityTypes(v int) { m.TotNoSecurityTypes = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } +func (m *Message) SetTotNoSecurityTypes(v int) { m.TotNoSecurityTypes = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecTypesGrp(v sectypesgrp.SecTypesGrp) { m.SecTypesGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/settldetails/SettlDetails.go b/fix50sp1/settldetails/SettlDetails.go index fe3b0761a..888bbd2bf 100644 --- a/fix50sp1/settldetails/SettlDetails.go +++ b/fix50sp1/settldetails/SettlDetails.go @@ -8,8 +8,8 @@ import ( type NoSettlDetails struct { //SettlObligSource is a non-required field for NoSettlDetails. SettlObligSource *string `fix:"1164"` - //SettlParties Component - settlparties.SettlParties + //SettlParties is a non-required component for NoSettlDetails. + SettlParties *settlparties.SettlParties } //SettlDetails is a fix50sp1 Component diff --git a/fix50sp1/settlementinstructionrequest/SettlementInstructionRequest.go b/fix50sp1/settlementinstructionrequest/SettlementInstructionRequest.go index 3a67ebf37..33d14587d 100644 --- a/fix50sp1/settlementinstructionrequest/SettlementInstructionRequest.go +++ b/fix50sp1/settlementinstructionrequest/SettlementInstructionRequest.go @@ -17,8 +17,8 @@ type Message struct { SettlInstReqID string `fix:"791"` //TransactTime is a required field for SettlementInstructionRequest. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for SettlementInstructionRequest. + Parties *parties.Parties //AllocAccount is a non-required field for SettlementInstructionRequest. AllocAccount *string `fix:"79"` //AllocAcctIDSource is a non-required field for SettlementInstructionRequest. @@ -53,6 +53,7 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *Message) SetSide(v string) { m.Side = &v } diff --git a/fix50sp1/settlementinstructions/SettlementInstructions.go b/fix50sp1/settlementinstructions/SettlementInstructions.go index 10887c704..16e3de8fc 100644 --- a/fix50sp1/settlementinstructions/SettlementInstructions.go +++ b/fix50sp1/settlementinstructions/SettlementInstructions.go @@ -31,23 +31,24 @@ type Message struct { ClOrdID *string `fix:"11"` //TransactTime is a required field for SettlementInstructions. TransactTime time.Time `fix:"60"` - //SettlInstGrp Component - settlinstgrp.SettlInstGrp + //SettlInstGrp is a non-required component for SettlementInstructions. + SettlInstGrp *settlinstgrp.SettlInstGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSettlInstMsgID(v string) { m.SettlInstMsgID = v } -func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = &v } -func (m *Message) SetSettlInstMode(v string) { m.SettlInstMode = v } -func (m *Message) SetSettlInstReqRejCode(v int) { m.SettlInstReqRejCode = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetSettlInstMsgID(v string) { m.SettlInstMsgID = v } +func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = &v } +func (m *Message) SetSettlInstMode(v string) { m.SettlInstMode = v } +func (m *Message) SetSettlInstReqRejCode(v int) { m.SettlInstReqRejCode = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetSettlInstGrp(v settlinstgrp.SettlInstGrp) { m.SettlInstGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/settlementobligationreport/SettlementObligationReport.go b/fix50sp1/settlementobligationreport/SettlementObligationReport.go index 1ea23d455..8eddafa97 100644 --- a/fix50sp1/settlementobligationreport/SettlementObligationReport.go +++ b/fix50sp1/settlementobligationreport/SettlementObligationReport.go @@ -30,10 +30,10 @@ type Message struct { EncodedText *string `fix:"355"` //TransactTime is a non-required field for SettlementObligationReport. TransactTime *time.Time `fix:"60"` - //SettlObligationInstructions Component + //SettlObligationInstructions is a required component for SettlementObligationReport. settlobligationinstructions.SettlObligationInstructions - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SettlementObligationReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } @@ -48,6 +48,12 @@ func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlObligationInstructions(v settlobligationinstructions.SettlObligationInstructions) { + m.SettlObligationInstructions = v +} +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/settlinstgrp/SettlInstGrp.go b/fix50sp1/settlinstgrp/SettlInstGrp.go index 9d31b8265..be20866c7 100644 --- a/fix50sp1/settlinstgrp/SettlInstGrp.go +++ b/fix50sp1/settlinstgrp/SettlInstGrp.go @@ -14,8 +14,8 @@ type NoSettlInst struct { SettlInstTransType *string `fix:"163"` //SettlInstRefID is a non-required field for NoSettlInst. SettlInstRefID *string `fix:"214"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSettlInst. + Parties *parties.Parties //Side is a non-required field for NoSettlInst. Side *string `fix:"54"` //Product is a non-required field for NoSettlInst. @@ -30,8 +30,8 @@ type NoSettlInst struct { ExpireTime *time.Time `fix:"126"` //LastUpdateTime is a non-required field for NoSettlInst. LastUpdateTime *time.Time `fix:"779"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoSettlInst. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //PaymentMethod is a non-required field for NoSettlInst. PaymentMethod *int `fix:"492"` //PaymentRef is a non-required field for NoSettlInst. diff --git a/fix50sp1/settlinstructionsdata/SettlInstructionsData.go b/fix50sp1/settlinstructionsdata/SettlInstructionsData.go index b3a9c6a01..1cc225eba 100644 --- a/fix50sp1/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50sp1/settlinstructionsdata/SettlInstructionsData.go @@ -14,11 +14,12 @@ type SettlInstructionsData struct { StandInstDbName *string `fix:"170"` //StandInstDbID is a non-required field for SettlInstructionsData. StandInstDbID *string `fix:"171"` - //DlvyInstGrp Component - dlvyinstgrp.DlvyInstGrp + //DlvyInstGrp is a non-required component for SettlInstructionsData. + DlvyInstGrp *dlvyinstgrp.DlvyInstGrp } -func (m *SettlInstructionsData) SetSettlDeliveryType(v int) { m.SettlDeliveryType = &v } -func (m *SettlInstructionsData) SetStandInstDbType(v int) { m.StandInstDbType = &v } -func (m *SettlInstructionsData) SetStandInstDbName(v string) { m.StandInstDbName = &v } -func (m *SettlInstructionsData) SetStandInstDbID(v string) { m.StandInstDbID = &v } +func (m *SettlInstructionsData) SetSettlDeliveryType(v int) { m.SettlDeliveryType = &v } +func (m *SettlInstructionsData) SetStandInstDbType(v int) { m.StandInstDbType = &v } +func (m *SettlInstructionsData) SetStandInstDbName(v string) { m.StandInstDbName = &v } +func (m *SettlInstructionsData) SetStandInstDbID(v string) { m.StandInstDbID = &v } +func (m *SettlInstructionsData) SetDlvyInstGrp(v dlvyinstgrp.DlvyInstGrp) { m.DlvyInstGrp = &v } diff --git a/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go b/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go index e0228ed3f..1b9ab45fa 100644 --- a/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go +++ b/fix50sp1/settlobligationinstructions/SettlObligationInstructions.go @@ -29,18 +29,18 @@ type NoSettlOblig struct { SettlCurrFxRate *float64 `fix:"155"` //SettlDate is a non-required field for NoSettlOblig. SettlDate *string `fix:"64"` - //Instrument Component - instrument.Instrument - //Parties Component - parties.Parties + //Instrument is a non-required component for NoSettlOblig. + Instrument *instrument.Instrument + //Parties is a non-required component for NoSettlOblig. + Parties *parties.Parties //EffectiveTime is a non-required field for NoSettlOblig. EffectiveTime *time.Time `fix:"168"` //ExpireTime is a non-required field for NoSettlOblig. ExpireTime *time.Time `fix:"126"` //LastUpdateTime is a non-required field for NoSettlOblig. LastUpdateTime *time.Time `fix:"779"` - //SettlDetails Component - settldetails.SettlDetails + //SettlDetails is a non-required component for NoSettlOblig. + SettlDetails *settldetails.SettlDetails } //SettlObligationInstructions is a fix50sp1 Component diff --git a/fix50sp1/settlparties/SettlParties.go b/fix50sp1/settlparties/SettlParties.go index b5761abe5..6328aea43 100644 --- a/fix50sp1/settlparties/SettlParties.go +++ b/fix50sp1/settlparties/SettlParties.go @@ -12,8 +12,8 @@ type NoSettlPartyIDs struct { SettlPartyIDSource *string `fix:"783"` //SettlPartyRole is a non-required field for NoSettlPartyIDs. SettlPartyRole *int `fix:"784"` - //SettlPtysSubGrp Component - settlptyssubgrp.SettlPtysSubGrp + //SettlPtysSubGrp is a non-required component for NoSettlPartyIDs. + SettlPtysSubGrp *settlptyssubgrp.SettlPtysSubGrp } //SettlParties is a fix50sp1 Component diff --git a/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index f2d6724db..e0493c00b 100644 --- a/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50sp1/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -20,13 +20,13 @@ type NoSides struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for NoSides. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. TradeDate *string `fix:"75"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData //ComplianceID is a non-required field for NoSides. ComplianceID *string `fix:"376"` diff --git a/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go index ac27d34a3..74977fa4c 100644 --- a/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50sp1/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -18,8 +18,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NoSides. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. @@ -38,14 +38,14 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NoSides. + PreAllocGrp *preallocgrp.PreAllocGrp //QtyType is a non-required field for NoSides. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoSides. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoSides. diff --git a/fix50sp1/strikerules/StrikeRules.go b/fix50sp1/strikerules/StrikeRules.go index a93033ff9..4419bd7eb 100644 --- a/fix50sp1/strikerules/StrikeRules.go +++ b/fix50sp1/strikerules/StrikeRules.go @@ -16,8 +16,8 @@ type NoStrikeRules struct { StrikeIncrement *float64 `fix:"1204"` //StrikeExerciseStyle is a non-required field for NoStrikeRules. StrikeExerciseStyle *int `fix:"1304"` - //MaturityRules Component - maturityrules.MaturityRules + //MaturityRules is a non-required component for NoStrikeRules. + MaturityRules *maturityrules.MaturityRules } //StrikeRules is a fix50sp1 Component diff --git a/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go b/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go index cbf51a392..3f1f5227b 100644 --- a/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go +++ b/fix50sp1/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go @@ -6,8 +6,8 @@ import ( //NoOfLegUnderlyings is a repeating group in TradeCapLegUnderlyingsGrp type NoOfLegUnderlyings struct { - //UnderlyingLegInstrument Component - underlyingleginstrument.UnderlyingLegInstrument + //UnderlyingLegInstrument is a non-required component for NoOfLegUnderlyings. + UnderlyingLegInstrument *underlyingleginstrument.UnderlyingLegInstrument } //TradeCapLegUnderlyingsGrp is a fix50sp1 Component diff --git a/fix50sp1/tradecapturereport/TradeCaptureReport.go b/fix50sp1/tradecapturereport/TradeCaptureReport.go index 366be62c9..d469a94b4 100644 --- a/fix50sp1/tradecapturereport/TradeCaptureReport.go +++ b/fix50sp1/tradecapturereport/TradeCaptureReport.go @@ -73,18 +73,18 @@ type Message struct { PreviouslyReported *bool `fix:"570"` //PriceType is a non-required field for TradeCaptureReport. PriceType *int `fix:"423"` - //Instrument Component + //Instrument is a required component for TradeCaptureReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //OrderQtyData Component - orderqtydata.OrderQtyData + //FinancingDetails is a non-required component for TradeCaptureReport. + FinancingDetails *financingdetails.FinancingDetails + //OrderQtyData is a non-required component for TradeCaptureReport. + OrderQtyData *orderqtydata.OrderQtyData //QtyType is a non-required field for TradeCaptureReport. QtyType *int `fix:"854"` - //YieldData Component - yielddata.YieldData - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //YieldData is a non-required component for TradeCaptureReport. + YieldData *yielddata.YieldData + //UndInstrmtGrp is a non-required component for TradeCaptureReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //UnderlyingTradingSessionID is a non-required field for TradeCaptureReport. UnderlyingTradingSessionID *string `fix:"822"` //UnderlyingTradingSessionSubID is a non-required field for TradeCaptureReport. @@ -107,22 +107,22 @@ type Message struct { ClearingBusinessDate *string `fix:"715"` //AvgPx is a non-required field for TradeCaptureReport. AvgPx *float64 `fix:"6"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for TradeCaptureReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //AvgPxIndicator is a non-required field for TradeCaptureReport. AvgPxIndicator *int `fix:"819"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for TradeCaptureReport. + PositionAmountData *positionamountdata.PositionAmountData //MultiLegReportingType is a non-required field for TradeCaptureReport. MultiLegReportingType *string `fix:"442"` //TradeLegRefID is a non-required field for TradeCaptureReport. TradeLegRefID *string `fix:"824"` - //TrdInstrmtLegGrp Component - trdinstrmtleggrp.TrdInstrmtLegGrp + //TrdInstrmtLegGrp is a non-required component for TradeCaptureReport. + TrdInstrmtLegGrp *trdinstrmtleggrp.TrdInstrmtLegGrp //TransactTime is a non-required field for TradeCaptureReport. TransactTime *time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //SettlType is a non-required field for TradeCaptureReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for TradeCaptureReport. @@ -131,7 +131,7 @@ type Message struct { MatchStatus *string `fix:"573"` //MatchType is a non-required field for TradeCaptureReport. MatchType *string `fix:"574"` - //TrdCapRptSideGrp Component + //TrdCapRptSideGrp is a required component for TradeCaptureReport. trdcaprptsidegrp.TrdCapRptSideGrp //CopyMsgIndicator is a non-required field for TradeCaptureReport. CopyMsgIndicator *bool `fix:"797"` @@ -171,8 +171,8 @@ type Message struct { UnderlyingSettlementDate *string `fix:"987"` //GrossTradeAmt is a non-required field for TradeCaptureReport. GrossTradeAmt *float64 `fix:"381"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for TradeCaptureReport. + RootParties *rootparties.RootParties //OrderCategory is a non-required field for TradeCaptureReport. OrderCategory *string `fix:"1115"` //TradeHandlingInstr is a non-required field for TradeCaptureReport. @@ -205,98 +205,119 @@ type Message struct { RiskFreeRate *float64 `fix:"1190"` //CurrencyRatio is a non-required field for TradeCaptureReport. CurrencyRatio *float64 `fix:"1382"` - //TrdRepIndicatorsGrp Component - trdrepindicatorsgrp.TrdRepIndicatorsGrp + //TrdRepIndicatorsGrp is a non-required component for TradeCaptureReport. + TrdRepIndicatorsGrp *trdrepindicatorsgrp.TrdRepIndicatorsGrp //TradePublishIndicator is a non-required field for TradeCaptureReport. TradePublishIndicator *int `fix:"1390"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradeCaptureReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } -func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = v } -func (m *Message) SetLastPx(v float64) { m.LastPx = v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } -func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } -func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } -func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTierCode(v string) { m.TierCode = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } -func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } -func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } -func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } -func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } -func (m *Message) SetTZTransactTime(v string) { m.TZTransactTime = &v } -func (m *Message) SetReportedPxDiff(v bool) { m.ReportedPxDiff = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetRejectText(v string) { m.RejectText = &v } -func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } -func (m *Message) SetVolatility(v float64) { m.Volatility = &v } -func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } -func (m *Message) SetCurrencyRatio(v float64) { m.CurrencyRatio = &v } -func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } +func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = v } +func (m *Message) SetLastPx(v float64) { m.LastPx = v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } +func (m *Message) SetTrdInstrmtLegGrp(v trdinstrmtleggrp.TrdInstrmtLegGrp) { m.TrdInstrmtLegGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetTrdCapRptSideGrp(v trdcaprptsidegrp.TrdCapRptSideGrp) { m.TrdCapRptSideGrp = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } +func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } +func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } +func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetTierCode(v string) { m.TierCode = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } +func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } +func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } +func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } +func (m *Message) SetTZTransactTime(v string) { m.TZTransactTime = &v } +func (m *Message) SetReportedPxDiff(v bool) { m.ReportedPxDiff = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetRejectText(v string) { m.RejectText = &v } +func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } +func (m *Message) SetVolatility(v float64) { m.Volatility = &v } +func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetCurrencyRatio(v float64) { m.CurrencyRatio = &v } +func (m *Message) SetTrdRepIndicatorsGrp(v trdrepindicatorsgrp.TrdRepIndicatorsGrp) { + m.TrdRepIndicatorsGrp = &v +} +func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/tradecapturereportack/TradeCaptureReportAck.go b/fix50sp1/tradecapturereportack/TradeCaptureReportAck.go index db7c58ccb..c5c35848a 100644 --- a/fix50sp1/tradecapturereportack/TradeCaptureReportAck.go +++ b/fix50sp1/tradecapturereportack/TradeCaptureReportAck.go @@ -56,12 +56,12 @@ type Message struct { ExecID *string `fix:"17"` //SecondaryExecID is a non-required field for TradeCaptureReportAck. SecondaryExecID *string `fix:"527"` - //Instrument Component + //Instrument is a required component for TradeCaptureReportAck. instrument.Instrument //TransactTime is a non-required field for TradeCaptureReportAck. TransactTime *time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReportAck. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //ResponseTransportType is a non-required field for TradeCaptureReportAck. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for TradeCaptureReportAck. @@ -72,8 +72,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for TradeCaptureReportAck. EncodedText *string `fix:"355"` - //TrdInstrmtLegGrp Component - trdinstrmtleggrp.TrdInstrmtLegGrp + //TrdInstrmtLegGrp is a non-required component for TradeCaptureReportAck. + TrdInstrmtLegGrp *trdinstrmtleggrp.TrdInstrmtLegGrp //ClearingFeeIndicator is a non-required field for TradeCaptureReportAck. ClearingFeeIndicator *string `fix:"635"` //OrdStatus is a non-required field for TradeCaptureReportAck. @@ -132,8 +132,8 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for TradeCaptureReportAck. SettlSessSubID *string `fix:"717"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for TradeCaptureReportAck. + PositionAmountData *positionamountdata.PositionAmountData //TierCode is a non-required field for TradeCaptureReportAck. TierCode *string `fix:"994"` //MessageEventSource is a non-required field for TradeCaptureReportAck. @@ -142,8 +142,8 @@ type Message struct { LastUpdateTime *time.Time `fix:"779"` //RndPx is a non-required field for TradeCaptureReportAck. RndPx *float64 `fix:"991"` - //TrdCapRptAckSideGrp Component - trdcaprptacksidegrp.TrdCapRptAckSideGrp + //TrdCapRptAckSideGrp is a non-required component for TradeCaptureReportAck. + TrdCapRptAckSideGrp *trdcaprptacksidegrp.TrdCapRptAckSideGrp //AsOfIndicator is a non-required field for TradeCaptureReportAck. AsOfIndicator *string `fix:"1015"` //TradeID is a non-required field for TradeCaptureReportAck. @@ -160,8 +160,8 @@ type Message struct { LastSwapPoints *float64 `fix:"1071"` //GrossTradeAmt is a non-required field for TradeCaptureReportAck. GrossTradeAmt *float64 `fix:"381"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for TradeCaptureReportAck. + RootParties *rootparties.RootParties //TradeHandlingInstr is a non-required field for TradeCaptureReportAck. TradeHandlingInstr *string `fix:"1123"` //OrigTradeHandlingInstr is a non-required field for TradeCaptureReportAck. @@ -172,8 +172,8 @@ type Message struct { OrigTradeID *string `fix:"1126"` //OrigSecondaryTradeID is a non-required field for TradeCaptureReportAck. OrigSecondaryTradeID *string `fix:"1127"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for TradeCaptureReportAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //RptSys is a non-required field for TradeCaptureReportAck. RptSys *string `fix:"1135"` //Currency is a non-required field for TradeCaptureReportAck. @@ -182,8 +182,8 @@ type Message struct { SettlCurrency *string `fix:"120"` //FeeMultiplier is a non-required field for TradeCaptureReportAck. FeeMultiplier *float64 `fix:"1329"` - //TrdRepIndicatorsGrp Component - trdrepindicatorsgrp.TrdRepIndicatorsGrp + //TrdRepIndicatorsGrp is a non-required component for TradeCaptureReportAck. + TrdRepIndicatorsGrp *trdrepindicatorsgrp.TrdRepIndicatorsGrp //TradePublishIndicator is a non-required field for TradeCaptureReportAck. TradePublishIndicator *int `fix:"1390"` fixt11.Trailer @@ -192,81 +192,95 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } -func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } -func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTierCode(v string) { m.TierCode = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } -func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } -func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } -func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } -func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } -func (m *Message) SetRptSys(v string) { m.RptSys = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } -func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } +func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTrdInstrmtLegGrp(v trdinstrmtleggrp.TrdInstrmtLegGrp) { m.TrdInstrmtLegGrp = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } +func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetTierCode(v string) { m.TierCode = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetTrdCapRptAckSideGrp(v trdcaprptacksidegrp.TrdCapRptAckSideGrp) { + m.TrdCapRptAckSideGrp = &v +} +func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } +func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } +func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } +func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetRptSys(v string) { m.RptSys = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } +func (m *Message) SetTrdRepIndicatorsGrp(v trdrepindicatorsgrp.TrdRepIndicatorsGrp) { + m.TrdRepIndicatorsGrp = &v +} +func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/tradecapturereportrequest/TradeCaptureReportRequest.go b/fix50sp1/tradecapturereportrequest/TradeCaptureReportRequest.go index a1d0fa392..b5e5791be 100644 --- a/fix50sp1/tradecapturereportrequest/TradeCaptureReportRequest.go +++ b/fix50sp1/tradecapturereportrequest/TradeCaptureReportRequest.go @@ -50,20 +50,20 @@ type Message struct { TradeLinkID *string `fix:"820"` //TrdMatchID is a non-required field for TradeCaptureReportRequest. TrdMatchID *string `fix:"880"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //TrdCapDtGrp Component - trdcapdtgrp.TrdCapDtGrp + //Parties is a non-required component for TradeCaptureReportRequest. + Parties *parties.Parties + //Instrument is a non-required component for TradeCaptureReportRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for TradeCaptureReportRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for TradeCaptureReportRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for TradeCaptureReportRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for TradeCaptureReportRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //TrdCapDtGrp is a non-required component for TradeCaptureReportRequest. + TrdCapDtGrp *trdcapdtgrp.TrdCapDtGrp //ClearingBusinessDate is a non-required field for TradeCaptureReportRequest. ClearingBusinessDate *string `fix:"715"` //TradingSessionID is a non-required field for TradeCaptureReportRequest. @@ -108,41 +108,50 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetTrdCapDtGrp(v trdcapdtgrp.TrdCapDtGrp) { m.TrdCapDtGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/tradecapturereportrequestack/TradeCaptureReportRequestAck.go b/fix50sp1/tradecapturereportrequestack/TradeCaptureReportRequestAck.go index df670a9e3..4623dbb44 100644 --- a/fix50sp1/tradecapturereportrequestack/TradeCaptureReportRequestAck.go +++ b/fix50sp1/tradecapturereportrequestack/TradeCaptureReportRequestAck.go @@ -26,12 +26,12 @@ type Message struct { TradeRequestResult int `fix:"749"` //TradeRequestStatus is a required field for TradeCaptureReportRequestAck. TradeRequestStatus int `fix:"750"` - //Instrument Component + //Instrument is a required component for TradeCaptureReportRequestAck. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for TradeCaptureReportRequestAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for TradeCaptureReportRequestAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //MultiLegReportingType is a non-required field for TradeCaptureReportRequestAck. MultiLegReportingType *string `fix:"442"` //ResponseTransportType is a non-required field for TradeCaptureReportRequestAck. @@ -60,23 +60,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } -func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } +func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/tradingsessionlist/TradingSessionList.go b/fix50sp1/tradingsessionlist/TradingSessionList.go index 6e9988212..e0ea83a2c 100644 --- a/fix50sp1/tradingsessionlist/TradingSessionList.go +++ b/fix50sp1/tradingsessionlist/TradingSessionList.go @@ -15,17 +15,21 @@ type Message struct { fixt11.Header //TradSesReqID is a non-required field for TradingSessionList. TradSesReqID *string `fix:"335"` - //TrdSessLstGrp Component + //TrdSessLstGrp is a required component for TradingSessionList. trdsesslstgrp.TrdSessLstGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradingSessionList. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTrdSessLstGrp(v trdsesslstgrp.TrdSessLstGrp) { m.TrdSessLstGrp = v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go b/fix50sp1/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go index fecc21eef..488166047 100644 --- a/fix50sp1/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go +++ b/fix50sp1/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go @@ -17,18 +17,22 @@ type Message struct { TradSesReqID *string `fix:"335"` //TradSesUpdateAction is a non-required field for TradingSessionListUpdateReport. TradSesUpdateAction *string `fix:"1327"` - //TrdSessLstGrp Component + //TrdSessLstGrp is a required component for TradingSessionListUpdateReport. trdsesslstgrp.TrdSessLstGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradingSessionListUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } -func (m *Message) SetTradSesUpdateAction(v string) { m.TradSesUpdateAction = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradSesUpdateAction(v string) { m.TradSesUpdateAction = &v } +func (m *Message) SetTrdSessLstGrp(v trdsesslstgrp.TrdSessLstGrp) { m.TrdSessLstGrp = v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/tradingsessionrules/TradingSessionRules.go b/fix50sp1/tradingsessionrules/TradingSessionRules.go index 0eb2f5312..a157d9ddb 100644 --- a/fix50sp1/tradingsessionrules/TradingSessionRules.go +++ b/fix50sp1/tradingsessionrules/TradingSessionRules.go @@ -10,14 +10,24 @@ import ( //TradingSessionRules is a fix50sp1 Component type TradingSessionRules struct { - //OrdTypeRules Component - ordtyperules.OrdTypeRules - //TimeInForceRules Component - timeinforcerules.TimeInForceRules - //ExecInstRules Component - execinstrules.ExecInstRules - //MatchRules Component - matchrules.MatchRules - //MarketDataFeedTypes Component - marketdatafeedtypes.MarketDataFeedTypes + //OrdTypeRules is a non-required component for TradingSessionRules. + OrdTypeRules *ordtyperules.OrdTypeRules + //TimeInForceRules is a non-required component for TradingSessionRules. + TimeInForceRules *timeinforcerules.TimeInForceRules + //ExecInstRules is a non-required component for TradingSessionRules. + ExecInstRules *execinstrules.ExecInstRules + //MatchRules is a non-required component for TradingSessionRules. + MatchRules *matchrules.MatchRules + //MarketDataFeedTypes is a non-required component for TradingSessionRules. + MarketDataFeedTypes *marketdatafeedtypes.MarketDataFeedTypes +} + +func (m *TradingSessionRules) SetOrdTypeRules(v ordtyperules.OrdTypeRules) { m.OrdTypeRules = &v } +func (m *TradingSessionRules) SetTimeInForceRules(v timeinforcerules.TimeInForceRules) { + m.TimeInForceRules = &v +} +func (m *TradingSessionRules) SetExecInstRules(v execinstrules.ExecInstRules) { m.ExecInstRules = &v } +func (m *TradingSessionRules) SetMatchRules(v matchrules.MatchRules) { m.MatchRules = &v } +func (m *TradingSessionRules) SetMarketDataFeedTypes(v marketdatafeedtypes.MarketDataFeedTypes) { + m.MarketDataFeedTypes = &v } diff --git a/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go b/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go index 96c76db5d..e0c6271c0 100644 --- a/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go +++ b/fix50sp1/tradingsessionrulesgrp/TradingSessionRulesGrp.go @@ -10,8 +10,8 @@ type NoTradingSessionRules struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for NoTradingSessionRules. TradingSessionSubID *string `fix:"625"` - //TradingSessionRules Component - tradingsessionrules.TradingSessionRules + //TradingSessionRules is a non-required component for NoTradingSessionRules. + TradingSessionRules *tradingsessionrules.TradingSessionRules } //TradingSessionRulesGrp is a fix50sp1 Component diff --git a/fix50sp1/tradingsessionstatus/TradingSessionStatus.go b/fix50sp1/tradingsessionstatus/TradingSessionStatus.go index 1dd9e67b6..f9cbae568 100644 --- a/fix50sp1/tradingsessionstatus/TradingSessionStatus.go +++ b/fix50sp1/tradingsessionstatus/TradingSessionStatus.go @@ -48,42 +48,46 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for TradingSessionStatus. EncodedText *string `fix:"355"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for TradingSessionStatus. + Instrument *instrument.Instrument //MarketID is a non-required field for TradingSessionStatus. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for TradingSessionStatus. MarketSegmentID *string `fix:"1300"` //TradSesEvent is a non-required field for TradingSessionStatus. TradSesEvent *int `fix:"1368"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradingSessionStatus. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTradSesMethod(v int) { m.TradSesMethod = &v } -func (m *Message) SetTradSesMode(v int) { m.TradSesMode = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetTradSesStatus(v int) { m.TradSesStatus = v } -func (m *Message) SetTradSesStatusRejReason(v int) { m.TradSesStatusRejReason = &v } -func (m *Message) SetTradSesStartTime(v time.Time) { m.TradSesStartTime = &v } -func (m *Message) SetTradSesOpenTime(v time.Time) { m.TradSesOpenTime = &v } -func (m *Message) SetTradSesPreCloseTime(v time.Time) { m.TradSesPreCloseTime = &v } -func (m *Message) SetTradSesCloseTime(v time.Time) { m.TradSesCloseTime = &v } -func (m *Message) SetTradSesEndTime(v time.Time) { m.TradSesEndTime = &v } -func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetTradSesEvent(v int) { m.TradSesEvent = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTradSesMethod(v int) { m.TradSesMethod = &v } +func (m *Message) SetTradSesMode(v int) { m.TradSesMode = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetTradSesStatus(v int) { m.TradSesStatus = v } +func (m *Message) SetTradSesStatusRejReason(v int) { m.TradSesStatusRejReason = &v } +func (m *Message) SetTradSesStartTime(v time.Time) { m.TradSesStartTime = &v } +func (m *Message) SetTradSesOpenTime(v time.Time) { m.TradSesOpenTime = &v } +func (m *Message) SetTradSesPreCloseTime(v time.Time) { m.TradSesPreCloseTime = &v } +func (m *Message) SetTradSesCloseTime(v time.Time) { m.TradSesCloseTime = &v } +func (m *Message) SetTradSesEndTime(v time.Time) { m.TradSesEndTime = &v } +func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTradSesEvent(v int) { m.TradSesEvent = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp1/trdallocgrp/TrdAllocGrp.go b/fix50sp1/trdallocgrp/TrdAllocGrp.go index c7ce23301..3ce29a6a7 100644 --- a/fix50sp1/trdallocgrp/TrdAllocGrp.go +++ b/fix50sp1/trdallocgrp/TrdAllocGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoAllocs. + NestedParties2 *nestedparties2.NestedParties2 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` //AllocCustomerCapacity is a non-required field for NoAllocs. diff --git a/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index 258674603..317f98d0d 100644 --- a/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50sp1/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -27,8 +27,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoSides. ListID *string `fix:"66"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoSides. @@ -39,8 +39,8 @@ type NoSides struct { ProcessCode *string `fix:"81"` //OddLot is a non-required field for NoSides. OddLot *bool `fix:"575"` - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //ClrInstGrp is a non-required component for NoSides. + ClrInstGrp *clrinstgrp.ClrInstGrp //TradeInputSource is a non-required field for NoSides. TradeInputSource *string `fix:"578"` //TradeInputDevice is a non-required field for NoSides. @@ -69,8 +69,8 @@ type NoSides struct { TradingSessionSubID *string `fix:"625"` //TimeBracket is a non-required field for NoSides. TimeBracket *string `fix:"943"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //NumDaysInterest is a non-required field for NoSides. NumDaysInterest *int `fix:"157"` //ExDate is a non-required field for NoSides. @@ -103,12 +103,12 @@ type NoSides struct { PositionEffect *string `fix:"77"` //SideMultiLegReportingType is a non-required field for NoSides. SideMultiLegReportingType *int `fix:"752"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //ContAmtGrp is a non-required component for NoSides. + ContAmtGrp *contamtgrp.ContAmtGrp + //Stipulations is a non-required component for NoSides. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for NoSides. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //ExchangeRule is a non-required field for NoSides. ExchangeRule *string `fix:"825"` //TradeAllocIndicator is a non-required field for NoSides. @@ -117,8 +117,8 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //TrdAllocGrp Component - trdallocgrp.TrdAllocGrp + //TrdAllocGrp is a non-required component for NoSides. + TrdAllocGrp *trdallocgrp.TrdAllocGrp //LotType is a non-required field for NoSides. LotType *string `fix:"1093"` //SideGrossTradeAmt is a non-required field for NoSides. @@ -137,16 +137,16 @@ type NoSides struct { RptSeq *int `fix:"83"` //SideTrdSubTyp is a non-required field for NoSides. SideTrdSubTyp *int `fix:"1008"` - //SideTrdRegTS Component - sidetrdregts.SideTrdRegTS + //SideTrdRegTS is a non-required component for NoSides. + SideTrdRegTS *sidetrdregts.SideTrdRegTS //NetGrossInd is a non-required field for NoSides. NetGrossInd *int `fix:"430"` //SideCurrency is a non-required field for NoSides. SideCurrency *string `fix:"1154"` //SideSettlCurrency is a non-required field for NoSides. SideSettlCurrency *string `fix:"1155"` - //SettlDetails Component - settldetails.SettlDetails + //SettlDetails is a non-required component for NoSides. + SettlDetails *settldetails.SettlDetails } //TrdCapRptAckSideGrp is a fix50sp1 Component diff --git a/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go index d48e83baf..7f077a875 100644 --- a/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50sp1/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -27,8 +27,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoSides. ListID *string `fix:"66"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoSides. @@ -39,8 +39,8 @@ type NoSides struct { ProcessCode *string `fix:"81"` //OddLot is a non-required field for NoSides. OddLot *bool `fix:"575"` - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //ClrInstGrp is a non-required component for NoSides. + ClrInstGrp *clrinstgrp.ClrInstGrp //TradeInputSource is a non-required field for NoSides. TradeInputSource *string `fix:"578"` //TradeInputDevice is a non-required field for NoSides. @@ -69,8 +69,8 @@ type NoSides struct { TradingSessionSubID *string `fix:"625"` //TimeBracket is a non-required field for NoSides. TimeBracket *string `fix:"943"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //NumDaysInterest is a non-required field for NoSides. NumDaysInterest *int `fix:"157"` //ExDate is a non-required field for NoSides. @@ -109,12 +109,12 @@ type NoSides struct { EncodedText *string `fix:"355"` //SideMultiLegReportingType is a non-required field for NoSides. SideMultiLegReportingType *int `fix:"752"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //ContAmtGrp is a non-required component for NoSides. + ContAmtGrp *contamtgrp.ContAmtGrp + //Stipulations is a non-required component for NoSides. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for NoSides. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //ExchangeRule is a non-required field for NoSides. ExchangeRule *string `fix:"825"` //TradeAllocIndicator is a non-required field for NoSides. @@ -123,8 +123,8 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //TrdAllocGrp Component - trdallocgrp.TrdAllocGrp + //TrdAllocGrp is a non-required component for NoSides. + TrdAllocGrp *trdallocgrp.TrdAllocGrp //SideQty is a non-required field for NoSides. SideQty *int `fix:"1009"` //SideTradeReportID is a non-required field for NoSides. @@ -137,8 +137,8 @@ type NoSides struct { RptSeq *int `fix:"83"` //SideTrdSubTyp is a non-required field for NoSides. SideTrdSubTyp *int `fix:"1008"` - //SideTrdRegTS Component - sidetrdregts.SideTrdRegTS + //SideTrdRegTS is a non-required component for NoSides. + SideTrdRegTS *sidetrdregts.SideTrdRegTS //ExecRefID is a non-required field for NoSides. ExecRefID *string `fix:"19"` //LotType is a non-required field for NoSides. @@ -155,8 +155,8 @@ type NoSides struct { SideCurrency *string `fix:"1154"` //SideSettlCurrency is a non-required field for NoSides. SideSettlCurrency *string `fix:"1155"` - //SettlDetails Component - settldetails.SettlDetails + //SettlDetails is a non-required component for NoSides. + SettlDetails *settldetails.SettlDetails } //TrdCapRptSideGrp is a fix50sp1 Component diff --git a/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go index ab16fd9c3..45fc82e43 100644 --- a/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50sp1/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -9,20 +9,20 @@ import ( //NoLegs is a repeating group in TrdInstrmtLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegSettlType is a non-required field for NoLegs. @@ -43,8 +43,8 @@ type NoLegs struct { LegGrossTradeAmt *float64 `fix:"1075"` //LegNumber is a non-required field for NoLegs. LegNumber *int `fix:"1152"` - //TradeCapLegUnderlyingsGrp Component - tradecaplegunderlyingsgrp.TradeCapLegUnderlyingsGrp + //TradeCapLegUnderlyingsGrp is a non-required component for NoLegs. + TradeCapLegUnderlyingsGrp *tradecaplegunderlyingsgrp.TradeCapLegUnderlyingsGrp //LegVolatility is a non-required field for NoLegs. LegVolatility *float64 `fix:"1379"` //LegDividendYield is a non-required field for NoLegs. diff --git a/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go b/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go index 7125ebfab..ca4e45c67 100644 --- a/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50sp1/trdsesslstgrp/TrdSessLstGrp.go @@ -47,8 +47,8 @@ type NoTradingSessions struct { MarketSegmentID *string `fix:"1300"` //TradingSessionDesc is a non-required field for NoTradingSessions. TradingSessionDesc *string `fix:"1326"` - //TradingSessionRules Component - tradingsessionrules.TradingSessionRules + //TradingSessionRules is a non-required component for NoTradingSessions. + TradingSessionRules *tradingsessionrules.TradingSessionRules } //TrdSessLstGrp is a fix50sp1 Component diff --git a/fix50sp1/underlyinginstrument/UnderlyingInstrument.go b/fix50sp1/underlyinginstrument/UnderlyingInstrument.go index 0e5aa181f..77957bf0c 100644 --- a/fix50sp1/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50sp1/underlyinginstrument/UnderlyingInstrument.go @@ -16,8 +16,8 @@ type UnderlyingInstrument struct { UnderlyingSecurityID *string `fix:"309"` //UnderlyingSecurityIDSource is a non-required field for UnderlyingInstrument. UnderlyingSecurityIDSource *string `fix:"305"` - //UndSecAltIDGrp Component - undsecaltidgrp.UndSecAltIDGrp + //UndSecAltIDGrp is a non-required component for UnderlyingInstrument. + UndSecAltIDGrp *undsecaltidgrp.UndSecAltIDGrp //UnderlyingProduct is a non-required field for UnderlyingInstrument. UnderlyingProduct *int `fix:"462"` //UnderlyingCFICode is a non-required field for UnderlyingInstrument. @@ -98,8 +98,8 @@ type UnderlyingInstrument struct { UnderlyingCurrentValue *float64 `fix:"885"` //UnderlyingEndValue is a non-required field for UnderlyingInstrument. UnderlyingEndValue *float64 `fix:"886"` - //UnderlyingStipulations Component - underlyingstipulations.UnderlyingStipulations + //UnderlyingStipulations is a non-required component for UnderlyingInstrument. + UnderlyingStipulations *underlyingstipulations.UnderlyingStipulations //UnderlyingAllocationPercent is a non-required field for UnderlyingInstrument. UnderlyingAllocationPercent *float64 `fix:"972"` //UnderlyingSettlementType is a non-required field for UnderlyingInstrument. @@ -114,8 +114,8 @@ type UnderlyingInstrument struct { UnderlyingTimeUnit *string `fix:"1000"` //UnderlyingCapValue is a non-required field for UnderlyingInstrument. UnderlyingCapValue *float64 `fix:"1038"` - //UndlyInstrumentParties Component - undlyinstrumentparties.UndlyInstrumentParties + //UndlyInstrumentParties is a non-required component for UnderlyingInstrument. + UndlyInstrumentParties *undlyinstrumentparties.UndlyInstrumentParties //UnderlyingSettlMethod is a non-required field for UnderlyingInstrument. UnderlyingSettlMethod *string `fix:"1039"` //UnderlyingAdjustedQuantity is a non-required field for UnderlyingInstrument. @@ -144,6 +144,9 @@ func (m *UnderlyingInstrument) SetUnderlyingSecurityID(v string) { m.UnderlyingS func (m *UnderlyingInstrument) SetUnderlyingSecurityIDSource(v string) { m.UnderlyingSecurityIDSource = &v } +func (m *UnderlyingInstrument) SetUndSecAltIDGrp(v undsecaltidgrp.UndSecAltIDGrp) { + m.UndSecAltIDGrp = &v +} func (m *UnderlyingInstrument) SetUnderlyingProduct(v int) { m.UnderlyingProduct = &v } func (m *UnderlyingInstrument) SetUnderlyingCFICode(v string) { m.UnderlyingCFICode = &v } func (m *UnderlyingInstrument) SetUnderlyingSecurityType(v string) { m.UnderlyingSecurityType = &v } @@ -202,6 +205,9 @@ func (m *UnderlyingInstrument) SetUnderlyingEndPrice(v float64) { m.Underlyi func (m *UnderlyingInstrument) SetUnderlyingStartValue(v float64) { m.UnderlyingStartValue = &v } func (m *UnderlyingInstrument) SetUnderlyingCurrentValue(v float64) { m.UnderlyingCurrentValue = &v } func (m *UnderlyingInstrument) SetUnderlyingEndValue(v float64) { m.UnderlyingEndValue = &v } +func (m *UnderlyingInstrument) SetUnderlyingStipulations(v underlyingstipulations.UnderlyingStipulations) { + m.UnderlyingStipulations = &v +} func (m *UnderlyingInstrument) SetUnderlyingAllocationPercent(v float64) { m.UnderlyingAllocationPercent = &v } @@ -211,7 +217,10 @@ func (m *UnderlyingInstrument) SetUnderlyingCashType(v string) { m.Underlyi func (m *UnderlyingInstrument) SetUnderlyingUnitOfMeasure(v string) { m.UnderlyingUnitOfMeasure = &v } func (m *UnderlyingInstrument) SetUnderlyingTimeUnit(v string) { m.UnderlyingTimeUnit = &v } func (m *UnderlyingInstrument) SetUnderlyingCapValue(v float64) { m.UnderlyingCapValue = &v } -func (m *UnderlyingInstrument) SetUnderlyingSettlMethod(v string) { m.UnderlyingSettlMethod = &v } +func (m *UnderlyingInstrument) SetUndlyInstrumentParties(v undlyinstrumentparties.UndlyInstrumentParties) { + m.UndlyInstrumentParties = &v +} +func (m *UnderlyingInstrument) SetUnderlyingSettlMethod(v string) { m.UnderlyingSettlMethod = &v } func (m *UnderlyingInstrument) SetUnderlyingAdjustedQuantity(v float64) { m.UnderlyingAdjustedQuantity = &v } diff --git a/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go b/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go index f89fd406a..ce2d7d8a6 100644 --- a/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go +++ b/fix50sp1/underlyingleginstrument/UnderlyingLegInstrument.go @@ -14,8 +14,8 @@ type UnderlyingLegInstrument struct { UnderlyingLegSecurityID *string `fix:"1332"` //UnderlyingLegSecurityIDSource is a non-required field for UnderlyingLegInstrument. UnderlyingLegSecurityIDSource *string `fix:"1333"` - //UnderlyingLegSecurityAltIDGrp Component - underlyinglegsecurityaltidgrp.UnderlyingLegSecurityAltIDGrp + //UnderlyingLegSecurityAltIDGrp is a non-required component for UnderlyingLegInstrument. + UnderlyingLegSecurityAltIDGrp *underlyinglegsecurityaltidgrp.UnderlyingLegSecurityAltIDGrp //UnderlyingLegCFICode is a non-required field for UnderlyingLegInstrument. UnderlyingLegCFICode *string `fix:"1344"` //UnderlyingLegSecurityType is a non-required field for UnderlyingLegInstrument. @@ -46,6 +46,9 @@ func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityID(v string) { m.Under func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityIDSource(v string) { m.UnderlyingLegSecurityIDSource = &v } +func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityAltIDGrp(v underlyinglegsecurityaltidgrp.UnderlyingLegSecurityAltIDGrp) { + m.UnderlyingLegSecurityAltIDGrp = &v +} func (m *UnderlyingLegInstrument) SetUnderlyingLegCFICode(v string) { m.UnderlyingLegCFICode = &v } func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityType(v string) { m.UnderlyingLegSecurityType = &v diff --git a/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go index 0cbee4594..5b51c57b2 100644 --- a/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50sp1/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -6,8 +6,8 @@ import ( //NoUnderlyings is a repeating group in UndInstrmtCollGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //CollAction is a non-required field for NoUnderlyings. CollAction *int `fix:"944"` } diff --git a/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go b/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go index d555ad110..e10e86b30 100644 --- a/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50sp1/undinstrmtgrp/UndInstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoUnderlyings is a repeating group in UndInstrmtGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } //UndInstrmtGrp is a fix50sp1 Component diff --git a/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go index da287a8fe..c466ffe35 100644 --- a/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50sp1/undlyinstrumentparties/UndlyInstrumentParties.go @@ -12,8 +12,8 @@ type NoUndlyInstrumentParties struct { UndlyInstrumentPartyIDSource *string `fix:"1060"` //UndlyInstrumentPartyRole is a non-required field for NoUndlyInstrumentParties. UndlyInstrumentPartyRole *int `fix:"1061"` - //UndlyInstrumentPtysSubGrp Component - undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp + //UndlyInstrumentPtysSubGrp is a non-required component for NoUndlyInstrumentParties. + UndlyInstrumentPtysSubGrp *undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp } //UndlyInstrumentParties is a fix50sp1 Component diff --git a/fix50sp1/usernotification/UserNotification.go b/fix50sp1/usernotification/UserNotification.go index 72f25061d..278bfbf56 100644 --- a/fix50sp1/usernotification/UserNotification.go +++ b/fix50sp1/usernotification/UserNotification.go @@ -12,8 +12,8 @@ import ( type Message struct { FIXMsgType string `fix:"CB"` fixt11.Header - //UsernameGrp Component - usernamegrp.UsernameGrp + //UsernameGrp is a non-required component for UserNotification. + UsernameGrp *usernamegrp.UsernameGrp //UserStatus is a required field for UserNotification. UserStatus int `fix:"926"` //Text is a non-required field for UserNotification. @@ -28,10 +28,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetUserStatus(v int) { m.UserStatus = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetUsernameGrp(v usernamegrp.UsernameGrp) { m.UsernameGrp = &v } +func (m *Message) SetUserStatus(v int) { m.UserStatus = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/adjustedpositionreport/AdjustedPositionReport.go b/fix50sp2/adjustedpositionreport/AdjustedPositionReport.go index e312639bb..d21779323 100644 --- a/fix50sp2/adjustedpositionreport/AdjustedPositionReport.go +++ b/fix50sp2/adjustedpositionreport/AdjustedPositionReport.go @@ -22,12 +22,12 @@ type Message struct { ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for AdjustedPositionReport. SettlSessID *string `fix:"716"` - //Parties Component + //Parties is a required component for AdjustedPositionReport. parties.Parties - //PositionQty Component + //PositionQty is a required component for AdjustedPositionReport. positionqty.PositionQty - //InstrmtGrp Component - instrmtgrp.InstrmtGrp + //InstrmtGrp is a non-required component for AdjustedPositionReport. + InstrmtGrp *instrmtgrp.InstrmtGrp //SettlPrice is a non-required field for AdjustedPositionReport. SettlPrice *float64 `fix:"730"` //PriorSettlPrice is a non-required field for AdjustedPositionReport. @@ -40,13 +40,16 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } -func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } -func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } +func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } +func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/advertisement/Advertisement.go b/fix50sp2/advertisement/Advertisement.go index a8b942251..af5ab1547 100644 --- a/fix50sp2/advertisement/Advertisement.go +++ b/fix50sp2/advertisement/Advertisement.go @@ -21,12 +21,12 @@ type Message struct { AdvTransType string `fix:"5"` //AdvRefID is a non-required field for Advertisement. AdvRefID *string `fix:"3"` - //Instrument Component + //Instrument is a required component for Advertisement. instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for Advertisement. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for Advertisement. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //AdvSide is a required field for Advertisement. AdvSide string `fix:"4"` //Quantity is a required field for Advertisement. @@ -61,23 +61,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAdvId(v string) { m.AdvId = v } -func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } -func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } -func (m *Message) SetAdvSide(v string) { m.AdvSide = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetAdvId(v string) { m.AdvId = v } +func (m *Message) SetAdvTransType(v string) { m.AdvTransType = v } +func (m *Message) SetAdvRefID(v string) { m.AdvRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetAdvSide(v string) { m.AdvSide = v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/allocackgrp/AllocAckGrp.go b/fix50sp2/allocackgrp/AllocAckGrp.go index dd7bbc569..281b814cc 100644 --- a/fix50sp2/allocackgrp/AllocAckGrp.go +++ b/fix50sp2/allocackgrp/AllocAckGrp.go @@ -30,8 +30,8 @@ type NoAllocs struct { IndividualAllocType *int `fix:"992"` //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocPositionEffect is a non-required field for NoAllocs. AllocPositionEffect *string `fix:"1047"` } diff --git a/fix50sp2/allocationinstruction/AllocationInstruction.go b/fix50sp2/allocationinstruction/AllocationInstruction.go index 52ee2d73a..259ec2dba 100644 --- a/fix50sp2/allocationinstruction/AllocationInstruction.go +++ b/fix50sp2/allocationinstruction/AllocationInstruction.go @@ -48,10 +48,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationInstruction. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationInstruction. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationInstruction. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationInstruction. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationInstruction. @@ -60,16 +60,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationInstruction. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationInstruction. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationInstruction. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationInstruction. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationInstruction. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationInstruction. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationInstruction. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationInstruction. @@ -88,14 +88,14 @@ type Message struct { AvgPx *float64 `fix:"6"` //AvgParPx is a non-required field for AllocationInstruction. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationInstruction. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationInstruction. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationInstruction. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstruction. + Parties *parties.Parties //TradeDate is a required field for AllocationInstruction. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationInstruction. @@ -142,18 +142,18 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationInstruction. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationInstruction. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationInstruction. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationInstruction. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationInstruction. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp - //PositionAmountData Component - positionamountdata.PositionAmountData + //AllocGrp is a non-required component for AllocationInstruction. + AllocGrp *allocgrp.AllocGrp + //PositionAmountData is a non-required component for AllocationInstruction. + PositionAmountData *positionamountdata.PositionAmountData //AvgPxIndicator is a non-required field for AllocationInstruction. AvgPxIndicator *int `fix:"819"` //ClearingBusinessDate is a non-required field for AllocationInstruction. @@ -172,74 +172,94 @@ type Message struct { MessageEventSource *string `fix:"1011"` //RndPx is a non-required field for AllocationInstruction. RndPx *float64 `fix:"991"` - //RateSource Component - ratesource.RateSource + //RateSource is a non-required component for AllocationInstruction. + RateSource *ratesource.RateSource fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetRateSource(v ratesource.RateSource) { m.RateSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/allocationinstructionack/AllocationInstructionAck.go b/fix50sp2/allocationinstructionack/AllocationInstructionAck.go index ce8946fe7..c0f23cb72 100644 --- a/fix50sp2/allocationinstructionack/AllocationInstructionAck.go +++ b/fix50sp2/allocationinstructionack/AllocationInstructionAck.go @@ -16,8 +16,8 @@ type Message struct { fixt11.Header //AllocID is a required field for AllocationInstructionAck. AllocID string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstructionAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationInstructionAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationInstructionAck. @@ -44,28 +44,30 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for AllocationInstructionAck. EncodedText *string `fix:"355"` - //AllocAckGrp Component - allocackgrp.AllocAckGrp + //AllocAckGrp is a non-required component for AllocationInstructionAck. + AllocAckGrp *allocackgrp.AllocAckGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetAllocType(v int) { m.AllocType = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetProduct(v int) { m.Product = &v } -func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetAllocType(v int) { m.AllocType = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetProduct(v int) { m.Product = &v } +func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocAckGrp(v allocackgrp.AllocAckGrp) { m.AllocAckGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/allocationinstructionalert/AllocationInstructionAlert.go b/fix50sp2/allocationinstructionalert/AllocationInstructionAlert.go index f8b33e474..43ac90a18 100644 --- a/fix50sp2/allocationinstructionalert/AllocationInstructionAlert.go +++ b/fix50sp2/allocationinstructionalert/AllocationInstructionAlert.go @@ -47,10 +47,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationInstructionAlert. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationInstructionAlert. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationInstructionAlert. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationInstructionAlert. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationInstructionAlert. @@ -59,16 +59,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationInstructionAlert. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationInstructionAlert. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationInstructionAlert. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationInstructionAlert. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationInstructionAlert. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationInstructionAlert. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationInstructionAlert. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationInstructionAlert. @@ -87,14 +87,14 @@ type Message struct { AvgPx *float64 `fix:"6"` //AvgParPx is a non-required field for AllocationInstructionAlert. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationInstructionAlert. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationInstructionAlert. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationInstructionAlert. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationInstructionAlert. + Parties *parties.Parties //TradeDate is a required field for AllocationInstructionAlert. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationInstructionAlert. @@ -141,18 +141,18 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationInstructionAlert. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData - //PositionAmountData Component - positionamountdata.PositionAmountData + //Stipulations is a non-required component for AllocationInstructionAlert. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationInstructionAlert. + YieldData *yielddata.YieldData + //PositionAmountData is a non-required component for AllocationInstructionAlert. + PositionAmountData *positionamountdata.PositionAmountData //TotNoAllocs is a non-required field for AllocationInstructionAlert. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationInstructionAlert. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp + //AllocGrp is a non-required component for AllocationInstructionAlert. + AllocGrp *allocgrp.AllocGrp //AvgPxIndicator is a non-required field for AllocationInstructionAlert. AvgPxIndicator *int `fix:"819"` //ClearingBusinessDate is a non-required field for AllocationInstructionAlert. @@ -177,66 +177,85 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocID(v string) { m.AllocID = v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocType(v int) { m.AllocType = v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocType(v int) { m.AllocType = v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/allocationreport/AllocationReport.go b/fix50sp2/allocationreport/AllocationReport.go index b561cbb3b..5fb8d9167 100644 --- a/fix50sp2/allocationreport/AllocationReport.go +++ b/fix50sp2/allocationreport/AllocationReport.go @@ -56,10 +56,10 @@ type Message struct { BookingRefID *string `fix:"466"` //AllocNoOrdersType is a non-required field for AllocationReport. AllocNoOrdersType *int `fix:"857"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp - //ExecAllocGrp Component - execallocgrp.ExecAllocGrp + //OrdAllocGrp is a non-required component for AllocationReport. + OrdAllocGrp *ordallocgrp.OrdAllocGrp + //ExecAllocGrp is a non-required component for AllocationReport. + ExecAllocGrp *execallocgrp.ExecAllocGrp //PreviouslyReported is a non-required field for AllocationReport. PreviouslyReported *bool `fix:"570"` //ReversalIndicator is a non-required field for AllocationReport. @@ -68,16 +68,16 @@ type Message struct { MatchType *string `fix:"574"` //Side is a required field for AllocationReport. Side string `fix:"54"` - //Instrument Component + //Instrument is a required component for AllocationReport. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for AllocationReport. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for AllocationReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for AllocationReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for AllocationReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Quantity is a required field for AllocationReport. Quantity float64 `fix:"53"` //QtyType is a non-required field for AllocationReport. @@ -96,14 +96,14 @@ type Message struct { AvgPx float64 `fix:"6"` //AvgParPx is a non-required field for AllocationReport. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for AllocationReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //Currency is a non-required field for AllocationReport. Currency *string `fix:"15"` //AvgPxPrecision is a non-required field for AllocationReport. AvgPxPrecision *int `fix:"74"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReport. + Parties *parties.Parties //TradeDate is a required field for AllocationReport. TradeDate string `fix:"75"` //TransactTime is a non-required field for AllocationReport. @@ -150,16 +150,16 @@ type Message struct { EndCash *float64 `fix:"922"` //LegalConfirm is a non-required field for AllocationReport. LegalConfirm *bool `fix:"650"` - //Stipulations Component - stipulations.Stipulations - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for AllocationReport. + Stipulations *stipulations.Stipulations + //YieldData is a non-required component for AllocationReport. + YieldData *yielddata.YieldData //TotNoAllocs is a non-required field for AllocationReport. TotNoAllocs *int `fix:"892"` //LastFragment is a non-required field for AllocationReport. LastFragment *bool `fix:"893"` - //AllocGrp Component - allocgrp.AllocGrp + //AllocGrp is a non-required component for AllocationReport. + AllocGrp *allocgrp.AllocGrp //ClearingBusinessDate is a non-required field for AllocationReport. ClearingBusinessDate *string `fix:"715"` //TrdType is a non-required field for AllocationReport. @@ -180,81 +180,101 @@ type Message struct { TradeInputDevice *string `fix:"579"` //AvgPxIndicator is a non-required field for AllocationReport. AvgPxIndicator *int `fix:"819"` - //PositionAmountData Component - positionamountdata.PositionAmountData - //RateSource Component - ratesource.RateSource + //PositionAmountData is a non-required component for AllocationReport. + PositionAmountData *positionamountdata.PositionAmountData + //RateSource is a non-required component for AllocationReport. + RateSource *ratesource.RateSource fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } -func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } -func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } -func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } -func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } -func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQuantity(v float64) { m.Quantity = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = v } +func (m *Message) SetAllocReportRefID(v string) { m.AllocReportRefID = &v } +func (m *Message) SetAllocCancReplaceReason(v int) { m.AllocCancReplaceReason = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetAllocReportType(v int) { m.AllocReportType = v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetRefAllocID(v string) { m.RefAllocID = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetAllocLinkID(v string) { m.AllocLinkID = &v } +func (m *Message) SetAllocLinkType(v int) { m.AllocLinkType = &v } +func (m *Message) SetBookingRefID(v string) { m.BookingRefID = &v } +func (m *Message) SetAllocNoOrdersType(v int) { m.AllocNoOrdersType = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp) { m.ExecAllocGrp = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetReversalIndicator(v bool) { m.ReversalIndicator = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetAutoAcceptIndicator(v bool) { m.AutoAcceptIndicator = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetTotalAccruedInterestAmt(v float64) { m.TotalAccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetTotNoAllocs(v int) { m.TotNoAllocs = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetAllocGrp(v allocgrp.AllocGrp) { m.AllocGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetRateSource(v ratesource.RateSource) { m.RateSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/allocationreportack/AllocationReportAck.go b/fix50sp2/allocationreportack/AllocationReportAck.go index 210f098e6..8139192c9 100644 --- a/fix50sp2/allocationreportack/AllocationReportAck.go +++ b/fix50sp2/allocationreportack/AllocationReportAck.go @@ -18,8 +18,8 @@ type Message struct { AllocReportID string `fix:"755"` //AllocID is a non-required field for AllocationReportAck. AllocID *string `fix:"70"` - //Parties Component - parties.Parties + //Parties is a non-required component for AllocationReportAck. + Parties *parties.Parties //SecondaryAllocID is a non-required field for AllocationReportAck. SecondaryAllocID *string `fix:"793"` //TradeDate is a non-required field for AllocationReportAck. @@ -46,8 +46,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for AllocationReportAck. EncodedText *string `fix:"355"` - //AllocAckGrp Component - allocackgrp.AllocAckGrp + //AllocAckGrp is a non-required component for AllocationReportAck. + AllocAckGrp *allocackgrp.AllocAckGrp //ClearingBusinessDate is a non-required field for AllocationReportAck. ClearingBusinessDate *string `fix:"715"` //AvgPxIndicator is a non-required field for AllocationReportAck. @@ -62,25 +62,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAllocStatus(v int) { m.AllocStatus = &v } -func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } -func (m *Message) SetAllocReportType(v int) { m.AllocReportType = &v } -func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetProduct(v int) { m.Product = &v } -func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetAllocTransType(v string) { m.AllocTransType = &v } +func (m *Message) SetAllocReportID(v string) { m.AllocReportID = v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAllocStatus(v int) { m.AllocStatus = &v } +func (m *Message) SetAllocRejCode(v int) { m.AllocRejCode = &v } +func (m *Message) SetAllocReportType(v int) { m.AllocReportType = &v } +func (m *Message) SetAllocIntermedReqType(v int) { m.AllocIntermedReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetProduct(v int) { m.Product = &v } +func (m *Message) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetAllocAckGrp(v allocackgrp.AllocAckGrp) { m.AllocAckGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetAllocTransType(v string) { m.AllocTransType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/allocgrp/AllocGrp.go b/fix50sp2/allocgrp/AllocGrp.go index 7a3c8f63f..eddc9be65 100644 --- a/fix50sp2/allocgrp/AllocGrp.go +++ b/fix50sp2/allocgrp/AllocGrp.go @@ -24,8 +24,8 @@ type NoAllocs struct { IndividualAllocID *string `fix:"467"` //ProcessCode is a non-required field for NoAllocs. ProcessCode *string `fix:"81"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //NotifyBrokerOfCredit is a non-required field for NoAllocs. NotifyBrokerOfCredit *bool `fix:"208"` //AllocHandlInst is a non-required field for NoAllocs. @@ -36,8 +36,8 @@ type NoAllocs struct { EncodedAllocTextLen *int `fix:"360"` //EncodedAllocText is a non-required field for NoAllocs. EncodedAllocText *string `fix:"361"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoAllocs. + CommissionData *commissiondata.CommissionData //AllocAvgPx is a non-required field for NoAllocs. AllocAvgPx *float64 `fix:"153"` //AllocNetMoney is a non-required field for NoAllocs. @@ -58,14 +58,14 @@ type NoAllocs struct { AllocAccruedInterestAmt *float64 `fix:"742"` //AllocInterestAtMaturity is a non-required field for NoAllocs. AllocInterestAtMaturity *float64 `fix:"741"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //MiscFeesGrp is a non-required component for NoAllocs. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp + //ClrInstGrp is a non-required component for NoAllocs. + ClrInstGrp *clrinstgrp.ClrInstGrp //AllocSettlInstType is a non-required field for NoAllocs. AllocSettlInstType *int `fix:"780"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoAllocs. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //SecondaryIndividualAllocID is a non-required field for NoAllocs. SecondaryIndividualAllocID *string `fix:"989"` //AllocMethod is a non-required field for NoAllocs. diff --git a/fix50sp2/applicationmessagereport/ApplicationMessageReport.go b/fix50sp2/applicationmessagereport/ApplicationMessageReport.go index 93e6142ac..5079a51ea 100644 --- a/fix50sp2/applicationmessagereport/ApplicationMessageReport.go +++ b/fix50sp2/applicationmessagereport/ApplicationMessageReport.go @@ -16,8 +16,8 @@ type Message struct { ApplReportID string `fix:"1356"` //ApplReportType is a required field for ApplicationMessageReport. ApplReportType int `fix:"1426"` - //ApplIDReportGrp Component - applidreportgrp.ApplIDReportGrp + //ApplIDReportGrp is a non-required component for ApplicationMessageReport. + ApplIDReportGrp *applidreportgrp.ApplIDReportGrp //Text is a non-required field for ApplicationMessageReport. Text *string `fix:"58"` //EncodedTextLen is a non-required field for ApplicationMessageReport. @@ -32,12 +32,13 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetApplReportID(v string) { m.ApplReportID = v } -func (m *Message) SetApplReportType(v int) { m.ApplReportType = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetApplReqID(v string) { m.ApplReqID = &v } +func (m *Message) SetApplReportID(v string) { m.ApplReportID = v } +func (m *Message) SetApplReportType(v int) { m.ApplReportType = v } +func (m *Message) SetApplIDReportGrp(v applidreportgrp.ApplIDReportGrp) { m.ApplIDReportGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplReqID(v string) { m.ApplReqID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/applicationmessagerequest/ApplicationMessageRequest.go b/fix50sp2/applicationmessagerequest/ApplicationMessageRequest.go index 7cfd3fa5c..629d40e79 100644 --- a/fix50sp2/applicationmessagerequest/ApplicationMessageRequest.go +++ b/fix50sp2/applicationmessagerequest/ApplicationMessageRequest.go @@ -17,27 +17,29 @@ type Message struct { ApplReqID string `fix:"1346"` //ApplReqType is a required field for ApplicationMessageRequest. ApplReqType int `fix:"1347"` - //ApplIDRequestGrp Component - applidrequestgrp.ApplIDRequestGrp + //ApplIDRequestGrp is a non-required component for ApplicationMessageRequest. + ApplIDRequestGrp *applidrequestgrp.ApplIDRequestGrp //Text is a non-required field for ApplicationMessageRequest. Text *string `fix:"58"` //EncodedTextLen is a non-required field for ApplicationMessageRequest. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ApplicationMessageRequest. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for ApplicationMessageRequest. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetApplReqID(v string) { m.ApplReqID = v } -func (m *Message) SetApplReqType(v int) { m.ApplReqType = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplReqID(v string) { m.ApplReqID = v } +func (m *Message) SetApplReqType(v int) { m.ApplReqType = v } +func (m *Message) SetApplIDRequestGrp(v applidrequestgrp.ApplIDRequestGrp) { m.ApplIDRequestGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/applicationmessagerequestack/ApplicationMessageRequestAck.go b/fix50sp2/applicationmessagerequestack/ApplicationMessageRequestAck.go index b8f4f5185..9668246c4 100644 --- a/fix50sp2/applicationmessagerequestack/ApplicationMessageRequestAck.go +++ b/fix50sp2/applicationmessagerequestack/ApplicationMessageRequestAck.go @@ -23,16 +23,16 @@ type Message struct { ApplResponseType *int `fix:"1348"` //ApplTotalMessageCount is a non-required field for ApplicationMessageRequestAck. ApplTotalMessageCount *int `fix:"1349"` - //ApplIDRequestAckGrp Component - applidrequestackgrp.ApplIDRequestAckGrp + //ApplIDRequestAckGrp is a non-required component for ApplicationMessageRequestAck. + ApplIDRequestAckGrp *applidrequestackgrp.ApplIDRequestAckGrp //Text is a non-required field for ApplicationMessageRequestAck. Text *string `fix:"58"` //EncodedTextLen is a non-required field for ApplicationMessageRequestAck. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ApplicationMessageRequestAck. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for ApplicationMessageRequestAck. + Parties *parties.Parties fixt11.Trailer } @@ -44,9 +44,13 @@ func (m *Message) SetApplReqID(v string) { m.ApplReqID = &v } func (m *Message) SetApplReqType(v int) { m.ApplReqType = &v } func (m *Message) SetApplResponseType(v int) { m.ApplResponseType = &v } func (m *Message) SetApplTotalMessageCount(v int) { m.ApplTotalMessageCount = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplIDRequestAckGrp(v applidrequestackgrp.ApplIDRequestAckGrp) { + m.ApplIDRequestAckGrp = &v +} +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go b/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go index 9defb7645..9c1f00483 100644 --- a/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go +++ b/fix50sp2/applidrequestackgrp/ApplIDRequestAckGrp.go @@ -16,8 +16,8 @@ type NoApplIDs struct { RefApplLastSeqNum *int `fix:"1357"` //ApplResponseError is a non-required field for NoApplIDs. ApplResponseError *int `fix:"1354"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoApplIDs. + NestedParties *nestedparties.NestedParties //RefApplReqID is a non-required field for NoApplIDs. RefApplReqID *string `fix:"1433"` } diff --git a/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go b/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go index d57251037..0c7c56f63 100644 --- a/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go +++ b/fix50sp2/applidrequestgrp/ApplIDRequestGrp.go @@ -12,8 +12,8 @@ type NoApplIDs struct { ApplBegSeqNum *int `fix:"1182"` //ApplEndSeqNum is a non-required field for NoApplIDs. ApplEndSeqNum *int `fix:"1183"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoApplIDs. + NestedParties *nestedparties.NestedParties //RefApplReqID is a non-required field for NoApplIDs. RefApplReqID *string `fix:"1433"` } diff --git a/fix50sp2/assignmentreport/AssignmentReport.go b/fix50sp2/assignmentreport/AssignmentReport.go index 1764a13a7..6fca22c64 100644 --- a/fix50sp2/assignmentreport/AssignmentReport.go +++ b/fix50sp2/assignmentreport/AssignmentReport.go @@ -24,24 +24,24 @@ type Message struct { TotNumAssignmentReports *int `fix:"832"` //LastRptRequested is a non-required field for AssignmentReport. LastRptRequested *bool `fix:"912"` - //Parties Component + //Parties is a required component for AssignmentReport. parties.Parties //Account is a non-required field for AssignmentReport. Account *string `fix:"1"` //AccountType is a non-required field for AssignmentReport. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for AssignmentReport. + Instrument *instrument.Instrument //Currency is a non-required field for AssignmentReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //PositionQty Component - positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //InstrmtLegGrp is a non-required component for AssignmentReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for AssignmentReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //PositionQty is a non-required component for AssignmentReport. + PositionQty *positionqty.PositionQty + //PositionAmountData is a non-required component for AssignmentReport. + PositionAmountData *positionamountdata.PositionAmountData //ThresholdAmount is a non-required field for AssignmentReport. ThresholdAmount *float64 `fix:"834"` //SettlPrice is a non-required field for AssignmentReport. @@ -74,8 +74,8 @@ type Message struct { EncodedText *string `fix:"355"` //PriorSettlPrice is a non-required field for AssignmentReport. PriorSettlPrice *float64 `fix:"734"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for AssignmentReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //PosReqID is a non-required field for AssignmentReport. PosReqID *string `fix:"710"` fixt11.Trailer @@ -84,12 +84,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } -func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetAsgnRptID(v string) { m.AsgnRptID = v } +func (m *Message) SetTotNumAssignmentReports(v int) { m.TotNumAssignmentReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } @@ -106,7 +114,10 @@ func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/basetradingrules/BaseTradingRules.go b/fix50sp2/basetradingrules/BaseTradingRules.go index fe8ef9d1b..df1d65b3a 100644 --- a/fix50sp2/basetradingrules/BaseTradingRules.go +++ b/fix50sp2/basetradingrules/BaseTradingRules.go @@ -8,12 +8,12 @@ import ( //BaseTradingRules is a fix50sp2 Component type BaseTradingRules struct { - //TickRules Component - tickrules.TickRules - //LotTypeRules Component - lottyperules.LotTypeRules - //PriceLimits Component - pricelimits.PriceLimits + //TickRules is a non-required component for BaseTradingRules. + TickRules *tickrules.TickRules + //LotTypeRules is a non-required component for BaseTradingRules. + LotTypeRules *lottyperules.LotTypeRules + //PriceLimits is a non-required component for BaseTradingRules. + PriceLimits *pricelimits.PriceLimits //ExpirationCycle is a non-required field for BaseTradingRules. ExpirationCycle *int `fix:"827"` //MinTradeVol is a non-required field for BaseTradingRules. @@ -36,13 +36,16 @@ type BaseTradingRules struct { PriceType *int `fix:"423"` } -func (m *BaseTradingRules) SetExpirationCycle(v int) { m.ExpirationCycle = &v } -func (m *BaseTradingRules) SetMinTradeVol(v float64) { m.MinTradeVol = &v } -func (m *BaseTradingRules) SetMaxTradeVol(v float64) { m.MaxTradeVol = &v } -func (m *BaseTradingRules) SetMaxPriceVariation(v float64) { m.MaxPriceVariation = &v } -func (m *BaseTradingRules) SetImpliedMarketIndicator(v int) { m.ImpliedMarketIndicator = &v } -func (m *BaseTradingRules) SetTradingCurrency(v string) { m.TradingCurrency = &v } -func (m *BaseTradingRules) SetRoundLot(v float64) { m.RoundLot = &v } -func (m *BaseTradingRules) SetMultilegModel(v int) { m.MultilegModel = &v } -func (m *BaseTradingRules) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } -func (m *BaseTradingRules) SetPriceType(v int) { m.PriceType = &v } +func (m *BaseTradingRules) SetTickRules(v tickrules.TickRules) { m.TickRules = &v } +func (m *BaseTradingRules) SetLotTypeRules(v lottyperules.LotTypeRules) { m.LotTypeRules = &v } +func (m *BaseTradingRules) SetPriceLimits(v pricelimits.PriceLimits) { m.PriceLimits = &v } +func (m *BaseTradingRules) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *BaseTradingRules) SetMinTradeVol(v float64) { m.MinTradeVol = &v } +func (m *BaseTradingRules) SetMaxTradeVol(v float64) { m.MaxTradeVol = &v } +func (m *BaseTradingRules) SetMaxPriceVariation(v float64) { m.MaxPriceVariation = &v } +func (m *BaseTradingRules) SetImpliedMarketIndicator(v int) { m.ImpliedMarketIndicator = &v } +func (m *BaseTradingRules) SetTradingCurrency(v string) { m.TradingCurrency = &v } +func (m *BaseTradingRules) SetRoundLot(v float64) { m.RoundLot = &v } +func (m *BaseTradingRules) SetMultilegModel(v int) { m.MultilegModel = &v } +func (m *BaseTradingRules) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } +func (m *BaseTradingRules) SetPriceType(v int) { m.PriceType = &v } diff --git a/fix50sp2/bidcomprspgrp/BidCompRspGrp.go b/fix50sp2/bidcomprspgrp/BidCompRspGrp.go index 51d0fc1f5..f50eb7a17 100644 --- a/fix50sp2/bidcomprspgrp/BidCompRspGrp.go +++ b/fix50sp2/bidcomprspgrp/BidCompRspGrp.go @@ -6,7 +6,7 @@ import ( //NoBidComponents is a repeating group in BidCompRspGrp type NoBidComponents struct { - //CommissionData Component + //CommissionData is a required component for NoBidComponents. commissiondata.CommissionData //ListID is a non-required field for NoBidComponents. ListID *string `fix:"66"` diff --git a/fix50sp2/bidrequest/BidRequest.go b/fix50sp2/bidrequest/BidRequest.go index 6f36b5c55..a5b427b6e 100644 --- a/fix50sp2/bidrequest/BidRequest.go +++ b/fix50sp2/bidrequest/BidRequest.go @@ -34,10 +34,10 @@ type Message struct { SideValue1 *float64 `fix:"396"` //SideValue2 is a non-required field for BidRequest. SideValue2 *float64 `fix:"397"` - //BidDescReqGrp Component - biddescreqgrp.BidDescReqGrp - //BidCompReqGrp Component - bidcompreqgrp.BidCompReqGrp + //BidDescReqGrp is a non-required component for BidRequest. + BidDescReqGrp *biddescreqgrp.BidDescReqGrp + //BidCompReqGrp is a non-required component for BidRequest. + BidCompReqGrp *bidcompreqgrp.BidCompReqGrp //LiquidityIndType is a non-required field for BidRequest. LiquidityIndType *int `fix:"409"` //WtAverageLiquidity is a non-required field for BidRequest. @@ -78,33 +78,35 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = v } -func (m *Message) SetBidRequestTransType(v string) { m.BidRequestTransType = v } -func (m *Message) SetListName(v string) { m.ListName = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = v } -func (m *Message) SetBidType(v int) { m.BidType = v } -func (m *Message) SetNumTickets(v int) { m.NumTickets = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSideValue1(v float64) { m.SideValue1 = &v } -func (m *Message) SetSideValue2(v float64) { m.SideValue2 = &v } -func (m *Message) SetLiquidityIndType(v int) { m.LiquidityIndType = &v } -func (m *Message) SetWtAverageLiquidity(v float64) { m.WtAverageLiquidity = &v } -func (m *Message) SetExchangeForPhysical(v bool) { m.ExchangeForPhysical = &v } -func (m *Message) SetOutMainCntryUIndex(v float64) { m.OutMainCntryUIndex = &v } -func (m *Message) SetCrossPercent(v float64) { m.CrossPercent = &v } -func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } -func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } -func (m *Message) SetIncTaxInd(v int) { m.IncTaxInd = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetNumBidders(v int) { m.NumBidders = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetBidTradeType(v string) { m.BidTradeType = v } -func (m *Message) SetBasisPxType(v string) { m.BasisPxType = v } -func (m *Message) SetStrikeTime(v time.Time) { m.StrikeTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = v } +func (m *Message) SetBidRequestTransType(v string) { m.BidRequestTransType = v } +func (m *Message) SetListName(v string) { m.ListName = &v } +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = v } +func (m *Message) SetBidType(v int) { m.BidType = v } +func (m *Message) SetNumTickets(v int) { m.NumTickets = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSideValue1(v float64) { m.SideValue1 = &v } +func (m *Message) SetSideValue2(v float64) { m.SideValue2 = &v } +func (m *Message) SetBidDescReqGrp(v biddescreqgrp.BidDescReqGrp) { m.BidDescReqGrp = &v } +func (m *Message) SetBidCompReqGrp(v bidcompreqgrp.BidCompReqGrp) { m.BidCompReqGrp = &v } +func (m *Message) SetLiquidityIndType(v int) { m.LiquidityIndType = &v } +func (m *Message) SetWtAverageLiquidity(v float64) { m.WtAverageLiquidity = &v } +func (m *Message) SetExchangeForPhysical(v bool) { m.ExchangeForPhysical = &v } +func (m *Message) SetOutMainCntryUIndex(v float64) { m.OutMainCntryUIndex = &v } +func (m *Message) SetCrossPercent(v float64) { m.CrossPercent = &v } +func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } +func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } +func (m *Message) SetIncTaxInd(v int) { m.IncTaxInd = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetNumBidders(v int) { m.NumBidders = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetBidTradeType(v string) { m.BidTradeType = v } +func (m *Message) SetBasisPxType(v string) { m.BasisPxType = v } +func (m *Message) SetStrikeTime(v time.Time) { m.StrikeTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/bidresponse/BidResponse.go b/fix50sp2/bidresponse/BidResponse.go index 341220e9c..a0b3ef8e9 100644 --- a/fix50sp2/bidresponse/BidResponse.go +++ b/fix50sp2/bidresponse/BidResponse.go @@ -16,7 +16,7 @@ type Message struct { BidID *string `fix:"390"` //ClientBidID is a non-required field for BidResponse. ClientBidID *string `fix:"391"` - //BidCompRspGrp Component + //BidCompRspGrp is a required component for BidResponse. bidcomprspgrp.BidCompRspGrp fixt11.Trailer } @@ -24,8 +24,9 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetBidCompRspGrp(v bidcomprspgrp.BidCompRspGrp) { m.BidCompRspGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/collateralassignment/CollateralAssignment.go b/fix50sp2/collateralassignment/CollateralAssignment.go index 0e24938a8..0c4904fe1 100644 --- a/fix50sp2/collateralassignment/CollateralAssignment.go +++ b/fix50sp2/collateralassignment/CollateralAssignment.go @@ -38,8 +38,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralAssignment. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralAssignment. + Parties *parties.Parties //Account is a non-required field for CollateralAssignment. Account *string `fix:"1"` //AccountType is a non-required field for CollateralAssignment. @@ -52,14 +52,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralAssignment. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralAssignment. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralAssignment. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralAssignment. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralAssignment. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralAssignment. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralAssignment. @@ -68,22 +68,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralAssignment. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralAssignment. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralAssignment. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralAssignment. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralAssignment. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralAssignment. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralAssignment. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralAssignment. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralAssignment. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralAssignment. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralAssignment. @@ -96,12 +96,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralAssignment. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralAssignment. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralAssignment. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralAssignment. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralAssignment. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralAssignment. @@ -124,41 +124,59 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } -func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = v } +func (m *Message) SetCollAsgnRefID(v string) { m.CollAsgnRefID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/collateralinquiry/CollateralInquiry.go b/fix50sp2/collateralinquiry/CollateralInquiry.go index 55d36bf78..8ec168836 100644 --- a/fix50sp2/collateralinquiry/CollateralInquiry.go +++ b/fix50sp2/collateralinquiry/CollateralInquiry.go @@ -25,16 +25,16 @@ type Message struct { fixt11.Header //CollInquiryID is a required field for CollateralInquiry. CollInquiryID string `fix:"909"` - //CollInqQualGrp Component - collinqqualgrp.CollInqQualGrp + //CollInqQualGrp is a non-required component for CollateralInquiry. + CollInqQualGrp *collinqqualgrp.CollInqQualGrp //SubscriptionRequestType is a non-required field for CollateralInquiry. SubscriptionRequestType *string `fix:"263"` //ResponseTransportType is a non-required field for CollateralInquiry. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for CollateralInquiry. ResponseDestination *string `fix:"726"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiry. + Parties *parties.Parties //Account is a non-required field for CollateralInquiry. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiry. @@ -47,14 +47,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralInquiry. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralInquiry. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralInquiry. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralInquiry. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiry. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiry. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiry. @@ -63,18 +63,18 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralInquiry. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralInquiry. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralInquiry. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //MarginExcess is a non-required field for CollateralInquiry. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralInquiry. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralInquiry. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralInquiry. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralInquiry. Side *string `fix:"54"` //Price is a non-required field for CollateralInquiry. @@ -89,12 +89,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralInquiry. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralInquiry. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralInquiry. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralInquiry. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralInquiry. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralInquiry. @@ -117,38 +117,54 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } +func (m *Message) SetCollInqQualGrp(v collinqqualgrp.CollInqQualGrp) { m.CollInqQualGrp = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/collateralinquiryack/CollateralInquiryAck.go b/fix50sp2/collateralinquiryack/CollateralInquiryAck.go index 95d0ad073..0127b2de6 100644 --- a/fix50sp2/collateralinquiryack/CollateralInquiryAck.go +++ b/fix50sp2/collateralinquiryack/CollateralInquiryAck.go @@ -25,12 +25,12 @@ type Message struct { CollInquiryStatus int `fix:"945"` //CollInquiryResult is a non-required field for CollateralInquiryAck. CollInquiryResult *int `fix:"946"` - //CollInqQualGrp Component - collinqqualgrp.CollInqQualGrp + //CollInqQualGrp is a non-required component for CollateralInquiryAck. + CollInqQualGrp *collinqqualgrp.CollInqQualGrp //TotNumReports is a non-required field for CollateralInquiryAck. TotNumReports *int `fix:"911"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralInquiryAck. + Parties *parties.Parties //Account is a non-required field for CollateralInquiryAck. Account *string `fix:"1"` //AccountType is a non-required field for CollateralInquiryAck. @@ -43,14 +43,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralInquiryAck. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralInquiryAck. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralInquiryAck. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralInquiryAck. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralInquiryAck. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralInquiryAck. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralInquiryAck. @@ -59,10 +59,10 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralInquiryAck. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralInquiryAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralInquiryAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //TradingSessionID is a non-required field for CollateralInquiryAck. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralInquiryAck. @@ -89,30 +89,38 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } -func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } -func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = v } +func (m *Message) SetCollInquiryStatus(v int) { m.CollInquiryStatus = v } +func (m *Message) SetCollInquiryResult(v int) { m.CollInquiryResult = &v } +func (m *Message) SetCollInqQualGrp(v collinqqualgrp.CollInqQualGrp) { m.CollInqQualGrp = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/collateralreport/CollateralReport.go b/fix50sp2/collateralreport/CollateralReport.go index a6c994292..2de976928 100644 --- a/fix50sp2/collateralreport/CollateralReport.go +++ b/fix50sp2/collateralreport/CollateralReport.go @@ -34,8 +34,8 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for CollateralReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralReport. + Parties *parties.Parties //Account is a non-required field for CollateralReport. Account *string `fix:"1"` //AccountType is a non-required field for CollateralReport. @@ -48,14 +48,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralReport. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralReport. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralReport. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralReport. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralReport. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralReport. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralReport. @@ -64,22 +64,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CollateralReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CollateralReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //MarginExcess is a non-required field for CollateralReport. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralReport. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralReport. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralReport. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralReport. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralReport. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralReport. @@ -92,12 +92,12 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralReport. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SpreadOrBenchmarkCurveData is a non-required component for CollateralReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralReport. + Stipulations *stipulations.Stipulations + //SettlInstructionsData is a non-required component for CollateralReport. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //TradingSessionID is a non-required field for CollateralReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralReport. @@ -126,42 +126,58 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRptID(v string) { m.CollRptID = v } -func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } -func (m *Message) SetCollStatus(v int) { m.CollStatus = v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCollRptID(v string) { m.CollRptID = v } +func (m *Message) SetCollInquiryID(v string) { m.CollInquiryID = &v } +func (m *Message) SetCollStatus(v int) { m.CollStatus = v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/collateralrequest/CollateralRequest.go b/fix50sp2/collateralrequest/CollateralRequest.go index 333f96d37..b2c29fc54 100644 --- a/fix50sp2/collateralrequest/CollateralRequest.go +++ b/fix50sp2/collateralrequest/CollateralRequest.go @@ -31,8 +31,8 @@ type Message struct { TransactTime time.Time `fix:"60"` //ExpireTime is a non-required field for CollateralRequest. ExpireTime *time.Time `fix:"126"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralRequest. + Parties *parties.Parties //Account is a non-required field for CollateralRequest. Account *string `fix:"1"` //AccountType is a non-required field for CollateralRequest. @@ -45,14 +45,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralRequest. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralRequest. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralRequest. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralRequest. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralRequest. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralRequest. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralRequest. @@ -61,22 +61,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralRequest. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralRequest. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralRequest. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralRequest. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralRequest. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralRequest. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralRequest. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralRequest. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralRequest. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralRequest. @@ -89,10 +89,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralRequest. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralRequest. + Stipulations *stipulations.Stipulations //TradingSessionID is a non-required field for CollateralRequest. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for CollateralRequest. @@ -115,38 +115,53 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollReqID(v string) { m.CollReqID = v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/collateralresponse/CollateralResponse.go b/fix50sp2/collateralresponse/CollateralResponse.go index ff327252f..36b79e432 100644 --- a/fix50sp2/collateralresponse/CollateralResponse.go +++ b/fix50sp2/collateralresponse/CollateralResponse.go @@ -39,8 +39,8 @@ type Message struct { CollAsgnRejectReason *int `fix:"906"` //TransactTime is a required field for CollateralResponse. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for CollateralResponse. + Parties *parties.Parties //Account is a non-required field for CollateralResponse. Account *string `fix:"1"` //AccountType is a non-required field for CollateralResponse. @@ -53,14 +53,14 @@ type Message struct { SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for CollateralResponse. SecondaryClOrdID *string `fix:"526"` - //ExecCollGrp Component - execcollgrp.ExecCollGrp - //TrdCollGrp Component - trdcollgrp.TrdCollGrp - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //ExecCollGrp is a non-required component for CollateralResponse. + ExecCollGrp *execcollgrp.ExecCollGrp + //TrdCollGrp is a non-required component for CollateralResponse. + TrdCollGrp *trdcollgrp.TrdCollGrp + //Instrument is a non-required component for CollateralResponse. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for CollateralResponse. + FinancingDetails *financingdetails.FinancingDetails //SettlDate is a non-required field for CollateralResponse. SettlDate *string `fix:"64"` //Quantity is a non-required field for CollateralResponse. @@ -69,22 +69,22 @@ type Message struct { QtyType *int `fix:"854"` //Currency is a non-required field for CollateralResponse. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtCollGrp Component - undinstrmtcollgrp.UndInstrmtCollGrp + //InstrmtLegGrp is a non-required component for CollateralResponse. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtCollGrp is a non-required component for CollateralResponse. + UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp //MarginExcess is a non-required field for CollateralResponse. MarginExcess *float64 `fix:"899"` //TotalNetValue is a non-required field for CollateralResponse. TotalNetValue *float64 `fix:"900"` //CashOutstanding is a non-required field for CollateralResponse. CashOutstanding *float64 `fix:"901"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for CollateralResponse. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Side is a non-required field for CollateralResponse. Side *string `fix:"54"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //MiscFeesGrp is a non-required component for CollateralResponse. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //Price is a non-required field for CollateralResponse. Price *float64 `fix:"44"` //PriceType is a non-required field for CollateralResponse. @@ -97,10 +97,10 @@ type Message struct { StartCash *float64 `fix:"921"` //EndCash is a non-required field for CollateralResponse. EndCash *float64 `fix:"922"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //Stipulations Component - stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for CollateralResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //Stipulations is a non-required component for CollateralResponse. + Stipulations *stipulations.Stipulations //Text is a non-required field for CollateralResponse. Text *string `fix:"58"` //EncodedTextLen is a non-required field for CollateralResponse. @@ -119,40 +119,55 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCollRespID(v string) { m.CollRespID = v } -func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = &v } -func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } -func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = &v } -func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } -func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } -func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetQuantity(v float64) { m.Quantity = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } -func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } -func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetCollRespID(v string) { m.CollRespID = v } +func (m *Message) SetCollAsgnID(v string) { m.CollAsgnID = &v } +func (m *Message) SetCollReqID(v string) { m.CollReqID = &v } +func (m *Message) SetCollAsgnReason(v int) { m.CollAsgnReason = &v } +func (m *Message) SetCollAsgnTransType(v int) { m.CollAsgnTransType = &v } +func (m *Message) SetCollAsgnRespType(v int) { m.CollAsgnRespType = v } +func (m *Message) SetCollAsgnRejectReason(v int) { m.CollAsgnRejectReason = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp) { m.ExecCollGrp = &v } +func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp) { m.TrdCollGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetQuantity(v float64) { m.Quantity = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp) { + m.UndInstrmtCollGrp = &v +} +func (m *Message) SetMarginExcess(v float64) { m.MarginExcess = &v } +func (m *Message) SetTotalNetValue(v float64) { m.TotalNetValue = &v } +func (m *Message) SetCashOutstanding(v float64) { m.CashOutstanding = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetCollApplType(v int) { m.CollApplType = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/complexeventdates/ComplexEventDates.go b/fix50sp2/complexeventdates/ComplexEventDates.go index f1ee4152f..84e60627f 100644 --- a/fix50sp2/complexeventdates/ComplexEventDates.go +++ b/fix50sp2/complexeventdates/ComplexEventDates.go @@ -11,8 +11,8 @@ type NoComplexEventDates struct { ComplexEventStartDate *time.Time `fix:"1492"` //ComplexEventEndDate is a non-required field for NoComplexEventDates. ComplexEventEndDate *time.Time `fix:"1493"` - //ComplexEventTimes Component - complexeventtimes.ComplexEventTimes + //ComplexEventTimes is a non-required component for NoComplexEventDates. + ComplexEventTimes *complexeventtimes.ComplexEventTimes } //ComplexEventDates is a fix50sp2 Component diff --git a/fix50sp2/complexevents/ComplexEvents.go b/fix50sp2/complexevents/ComplexEvents.go index 74e5d53fa..c2314682c 100644 --- a/fix50sp2/complexevents/ComplexEvents.go +++ b/fix50sp2/complexevents/ComplexEvents.go @@ -20,8 +20,8 @@ type NoComplexEvents struct { ComplexEventPriceTimeType *int `fix:"1489"` //ComplexEventCondition is a non-required field for NoComplexEvents. ComplexEventCondition *int `fix:"1490"` - //ComplexEventDates Component - complexeventdates.ComplexEventDates + //ComplexEventDates is a non-required component for NoComplexEvents. + ComplexEventDates *complexeventdates.ComplexEventDates } //ComplexEvents is a fix50sp2 Component diff --git a/fix50sp2/confirmation/Confirmation.go b/fix50sp2/confirmation/Confirmation.go index 8e5fa40c1..4a7ef8530 100644 --- a/fix50sp2/confirmation/Confirmation.go +++ b/fix50sp2/confirmation/Confirmation.go @@ -43,10 +43,10 @@ type Message struct { LegalConfirm *bool `fix:"650"` //ConfirmStatus is a required field for Confirmation. ConfirmStatus int `fix:"665"` - //Parties Component - parties.Parties - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp + //Parties is a non-required component for Confirmation. + Parties *parties.Parties + //OrdAllocGrp is a non-required component for Confirmation. + OrdAllocGrp *ordallocgrp.OrdAllocGrp //AllocID is a non-required field for Confirmation. AllocID *string `fix:"70"` //SecondaryAllocID is a non-required field for Confirmation. @@ -57,20 +57,20 @@ type Message struct { TransactTime time.Time `fix:"60"` //TradeDate is a required field for Confirmation. TradeDate string `fix:"75"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps - //Instrument Component + //TrdRegTimestamps is a non-required component for Confirmation. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps + //Instrument is a required component for Confirmation. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //YieldData Component - yielddata.YieldData + //InstrumentExtension is a non-required component for Confirmation. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for Confirmation. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for Confirmation. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for Confirmation. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //YieldData is a non-required component for Confirmation. + YieldData *yielddata.YieldData //AllocQty is a required field for Confirmation. AllocQty float64 `fix:"80"` //QtyType is a non-required field for Confirmation. @@ -81,7 +81,7 @@ type Message struct { Currency *string `fix:"15"` //LastMkt is a non-required field for Confirmation. LastMkt *string `fix:"30"` - //CpctyConfGrp Component + //CpctyConfGrp is a required component for Confirmation. cpctyconfgrp.CpctyConfGrp //AllocAccount is a required field for Confirmation. AllocAccount string `fix:"79"` @@ -97,8 +97,8 @@ type Message struct { PriceType *int `fix:"423"` //AvgParPx is a non-required field for Confirmation. AvgParPx *float64 `fix:"860"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for Confirmation. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //ReportedPx is a non-required field for Confirmation. ReportedPx *float64 `fix:"861"` //Text is a non-required field for Confirmation. @@ -147,47 +147,62 @@ type Message struct { SettlType *string `fix:"63"` //SettlDate is a non-required field for Confirmation. SettlDate *string `fix:"64"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData - //CommissionData Component - commissiondata.CommissionData + //SettlInstructionsData is a non-required component for Confirmation. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData + //CommissionData is a non-required component for Confirmation. + CommissionData *commissiondata.CommissionData //SharedCommission is a non-required field for Confirmation. SharedCommission *float64 `fix:"858"` - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //Stipulations is a non-required component for Confirmation. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for Confirmation. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } -func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } -func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } -func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } -func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } -func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = v } -func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } -func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } -func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetConfirmID(v string) { m.ConfirmID = v } +func (m *Message) SetConfirmRefID(v string) { m.ConfirmRefID = &v } +func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = &v } +func (m *Message) SetConfirmTransType(v int) { m.ConfirmTransType = v } +func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetLegalConfirm(v bool) { m.LegalConfirm = &v } +func (m *Message) SetConfirmStatus(v int) { m.ConfirmStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetAllocQty(v float64) { m.AllocQty = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetCpctyConfGrp(v cpctyconfgrp.CpctyConfGrp) { m.CpctyConfGrp = v } +func (m *Message) SetAllocAccount(v string) { m.AllocAccount = v } +func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = v } +func (m *Message) SetAvgPxPrecision(v int) { m.AvgPxPrecision = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetAvgParPx(v float64) { m.AvgParPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} func (m *Message) SetReportedPx(v float64) { m.ReportedPx = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } @@ -212,7 +227,13 @@ func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } func (m *Message) SetSettlType(v string) { m.SettlType = &v } func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } +func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData) { + m.SettlInstructionsData = &v +} +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSharedCommission(v float64) { m.SharedCommission = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/confirmationrequest/ConfirmationRequest.go b/fix50sp2/confirmationrequest/ConfirmationRequest.go index 13bf96ec8..b7eb88295 100644 --- a/fix50sp2/confirmationrequest/ConfirmationRequest.go +++ b/fix50sp2/confirmationrequest/ConfirmationRequest.go @@ -17,8 +17,8 @@ type Message struct { ConfirmReqID string `fix:"859"` //ConfirmType is a required field for ConfirmationRequest. ConfirmType int `fix:"773"` - //OrdAllocGrp Component - ordallocgrp.OrdAllocGrp + //OrdAllocGrp is a non-required component for ConfirmationRequest. + OrdAllocGrp *ordallocgrp.OrdAllocGrp //AllocID is a non-required field for ConfirmationRequest. AllocID *string `fix:"70"` //SecondaryAllocID is a non-required field for ConfirmationRequest. @@ -45,18 +45,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = v } -func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } -func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } -func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } -func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetConfirmReqID(v string) { m.ConfirmReqID = v } +func (m *Message) SetConfirmType(v int) { m.ConfirmType = v } +func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp) { m.OrdAllocGrp = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetSecondaryAllocID(v string) { m.SecondaryAllocID = &v } +func (m *Message) SetIndividualAllocID(v string) { m.IndividualAllocID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } +func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } +func (m *Message) SetAllocAccountType(v int) { m.AllocAccountType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/contextparties/ContextParties.go b/fix50sp2/contextparties/ContextParties.go index 489f059c1..dd2d993dd 100644 --- a/fix50sp2/contextparties/ContextParties.go +++ b/fix50sp2/contextparties/ContextParties.go @@ -12,8 +12,8 @@ type NoContextPartyIDs struct { ContextPartyIDSource *string `fix:"1524"` //ContextPartyRole is a non-required field for NoContextPartyIDs. ContextPartyRole *int `fix:"1525"` - //ContextPtysSubGrp Component - contextptyssubgrp.ContextPtysSubGrp + //ContextPtysSubGrp is a non-required component for NoContextPartyIDs. + ContextPtysSubGrp *contextptyssubgrp.ContextPtysSubGrp } //ContextParties is a fix50sp2 Component diff --git a/fix50sp2/contraryintentionreport/ContraryIntentionReport.go b/fix50sp2/contraryintentionreport/ContraryIntentionReport.go index 44141741a..cdca8fd61 100644 --- a/fix50sp2/contraryintentionreport/ContraryIntentionReport.go +++ b/fix50sp2/contraryintentionreport/ContraryIntentionReport.go @@ -27,11 +27,11 @@ type Message struct { InputSource *string `fix:"979"` //ClearingBusinessDate is a required field for ContraryIntentionReport. ClearingBusinessDate string `fix:"715"` - //Parties Component + //Parties is a required component for ContraryIntentionReport. parties.Parties - //ExpirationQty Component + //ExpirationQty is a required component for ContraryIntentionReport. expirationqty.ExpirationQty - //Instrument Component + //Instrument is a required component for ContraryIntentionReport. instrument.Instrument //Text is a non-required field for ContraryIntentionReport. Text *string `fix:"58"` @@ -39,24 +39,31 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ContraryIntentionReport. EncodedText *string `fix:"355"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //UndInstrmtGrp is a non-required component for ContraryIntentionReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //ApplicationSequenceControl is a non-required component for ContraryIntentionReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetContIntRptID(v string) { m.ContIntRptID = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetLateIndicator(v bool) { m.LateIndicator = &v } -func (m *Message) SetInputSource(v string) { m.InputSource = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetContIntRptID(v string) { m.ContIntRptID = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetLateIndicator(v bool) { m.LateIndicator = &v } +func (m *Message) SetInputSource(v string) { m.InputSource = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetExpirationQty(v expirationqty.ExpirationQty) { m.ExpirationQty = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go b/fix50sp2/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go index dcbffa302..8261d0132 100644 --- a/fix50sp2/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go +++ b/fix50sp2/crossordercancelreplacerequest/CrossOrderCancelReplaceRequest.go @@ -36,14 +36,14 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for CrossOrderCancelReplaceRequest. CrossPrioritization int `fix:"550"` - //SideCrossOrdModGrp Component + //SideCrossOrdModGrp is a required component for CrossOrderCancelReplaceRequest. sidecrossordmodgrp.SideCrossOrdModGrp - //Instrument Component + //Instrument is a required component for CrossOrderCancelReplaceRequest. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CrossOrderCancelReplaceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CrossOrderCancelReplaceRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SettlType is a non-required field for CrossOrderCancelReplaceRequest. SettlType *string `fix:"63"` //SettlDate is a non-required field for CrossOrderCancelReplaceRequest. @@ -58,8 +58,8 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for CrossOrderCancelReplaceRequest. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for CrossOrderCancelReplaceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for CrossOrderCancelReplaceRequest. ProcessCode *string `fix:"81"` //PrevClosePx is a non-required field for CrossOrderCancelReplaceRequest. @@ -68,8 +68,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for CrossOrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for CrossOrderCancelReplaceRequest. + Stipulations *stipulations.Stipulations //OrdType is a required field for CrossOrderCancelReplaceRequest. OrdType string `fix:"40"` //PriceType is a non-required field for CrossOrderCancelReplaceRequest. @@ -78,10 +78,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for CrossOrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for CrossOrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for CrossOrderCancelReplaceRequest. + YieldData *yielddata.YieldData //Currency is a non-required field for CrossOrderCancelReplaceRequest. Currency *string `fix:"15"` //ComplianceID is a non-required field for CrossOrderCancelReplaceRequest. @@ -102,10 +102,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for CrossOrderCancelReplaceRequest. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for CrossOrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for CrossOrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for CrossOrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for CrossOrderCancelReplaceRequest. @@ -120,24 +120,24 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for CrossOrderCancelReplaceRequest. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for CrossOrderCancelReplaceRequest. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //HostCrossID is a non-required field for CrossOrderCancelReplaceRequest. HostCrossID *string `fix:"961"` //TransBkdTime is a non-required field for CrossOrderCancelReplaceRequest. TransBkdTime *time.Time `fix:"483"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for CrossOrderCancelReplaceRequest. + RootParties *rootparties.RootParties //MatchIncrement is a non-required field for CrossOrderCancelReplaceRequest. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for CrossOrderCancelReplaceRequest. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for CrossOrderCancelReplaceRequest. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for CrossOrderCancelReplaceRequest. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for CrossOrderCancelReplaceRequest. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //ExDestinationIDSource is a non-required field for CrossOrderCancelReplaceRequest. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer @@ -146,36 +146,52 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetSideCrossOrdModGrp(v sidecrossordmodgrp.SideCrossOrdModGrp) { + m.SideCrossOrdModGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -183,12 +199,22 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/crossordercancelrequest/CrossOrderCancelRequest.go b/fix50sp2/crossordercancelrequest/CrossOrderCancelRequest.go index cd6c8b18c..a13b19083 100644 --- a/fix50sp2/crossordercancelrequest/CrossOrderCancelRequest.go +++ b/fix50sp2/crossordercancelrequest/CrossOrderCancelRequest.go @@ -27,20 +27,20 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for CrossOrderCancelRequest. CrossPrioritization int `fix:"550"` - //SideCrossOrdCxlGrp Component + //SideCrossOrdCxlGrp is a required component for CrossOrderCancelRequest. sidecrossordcxlgrp.SideCrossOrdCxlGrp - //Instrument Component + //Instrument is a required component for CrossOrderCancelRequest. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for CrossOrderCancelRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for CrossOrderCancelRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //TransactTime is a required field for CrossOrderCancelRequest. TransactTime time.Time `fix:"60"` //HostCrossID is a non-required field for CrossOrderCancelRequest. HostCrossID *string `fix:"961"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for CrossOrderCancelRequest. + RootParties *rootparties.RootParties fixt11.Trailer } @@ -52,8 +52,15 @@ func (m *Message) SetCrossID(v string) { m.CrossID = v } func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = v } func (m *Message) SetCrossType(v int) { m.CrossType = v } func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetSideCrossOrdCxlGrp(v sidecrossordcxlgrp.SideCrossOrdCxlGrp) { + m.SideCrossOrdCxlGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/derivativeinstrument/DerivativeInstrument.go b/fix50sp2/derivativeinstrument/DerivativeInstrument.go index 8ef28c6e7..41640cbd6 100644 --- a/fix50sp2/derivativeinstrument/DerivativeInstrument.go +++ b/fix50sp2/derivativeinstrument/DerivativeInstrument.go @@ -17,8 +17,8 @@ type DerivativeInstrument struct { DerivativeSecurityID *string `fix:"1216"` //DerivativeSecurityIDSource is a non-required field for DerivativeInstrument. DerivativeSecurityIDSource *string `fix:"1217"` - //DerivativeSecurityAltIDGrp Component - derivativesecurityaltidgrp.DerivativeSecurityAltIDGrp + //DerivativeSecurityAltIDGrp is a non-required component for DerivativeInstrument. + DerivativeSecurityAltIDGrp *derivativesecurityaltidgrp.DerivativeSecurityAltIDGrp //DerivativeProduct is a non-required field for DerivativeInstrument. DerivativeProduct *int `fix:"1246"` //DerivativeProductComplex is a non-required field for DerivativeInstrument. @@ -105,10 +105,10 @@ type DerivativeInstrument struct { DerivativeEncodedSecurityDesc *string `fix:"1281"` //DerivativeContractSettlMonth is a non-required field for DerivativeInstrument. DerivativeContractSettlMonth *string `fix:"1285"` - //DerivativeEventsGrp Component - derivativeeventsgrp.DerivativeEventsGrp - //DerivativeInstrumentParties Component - derivativeinstrumentparties.DerivativeInstrumentParties + //DerivativeEventsGrp is a non-required component for DerivativeInstrument. + DerivativeEventsGrp *derivativeeventsgrp.DerivativeEventsGrp + //DerivativeInstrumentParties is a non-required component for DerivativeInstrument. + DerivativeInstrumentParties *derivativeinstrumentparties.DerivativeInstrumentParties //DerivativeSettlMethod is a non-required field for DerivativeInstrument. DerivativeSettlMethod *string `fix:"1317"` //DerivativePriceQuoteMethod is a non-required field for DerivativeInstrument. @@ -123,8 +123,8 @@ type DerivativeInstrument struct { DerivativeFloorPrice *float64 `fix:"1322"` //DerivativePutOrCall is a non-required field for DerivativeInstrument. DerivativePutOrCall *int `fix:"1323"` - //DerivativeSecurityXML Component - derivativesecurityxml.DerivativeSecurityXML + //DerivativeSecurityXML is a non-required component for DerivativeInstrument. + DerivativeSecurityXML *derivativesecurityxml.DerivativeSecurityXML //DerivativeContractMultiplierUnit is a non-required field for DerivativeInstrument. DerivativeContractMultiplierUnit *int `fix:"1438"` //DerivativeFlowScheduleType is a non-required field for DerivativeInstrument. @@ -137,6 +137,9 @@ func (m *DerivativeInstrument) SetDerivativeSecurityID(v string) { m.DerivativeS func (m *DerivativeInstrument) SetDerivativeSecurityIDSource(v string) { m.DerivativeSecurityIDSource = &v } +func (m *DerivativeInstrument) SetDerivativeSecurityAltIDGrp(v derivativesecurityaltidgrp.DerivativeSecurityAltIDGrp) { + m.DerivativeSecurityAltIDGrp = &v +} func (m *DerivativeInstrument) SetDerivativeProduct(v int) { m.DerivativeProduct = &v } func (m *DerivativeInstrument) SetDerivativeProductComplex(v string) { m.DerivativeProductComplex = &v } func (m *DerivativeInstrument) SetDerivFlexProductEligibilityIndicator(v bool) { @@ -214,6 +217,12 @@ func (m *DerivativeInstrument) SetDerivativeEncodedSecurityDesc(v string) { func (m *DerivativeInstrument) SetDerivativeContractSettlMonth(v string) { m.DerivativeContractSettlMonth = &v } +func (m *DerivativeInstrument) SetDerivativeEventsGrp(v derivativeeventsgrp.DerivativeEventsGrp) { + m.DerivativeEventsGrp = &v +} +func (m *DerivativeInstrument) SetDerivativeInstrumentParties(v derivativeinstrumentparties.DerivativeInstrumentParties) { + m.DerivativeInstrumentParties = &v +} func (m *DerivativeInstrument) SetDerivativeSettlMethod(v string) { m.DerivativeSettlMethod = &v } func (m *DerivativeInstrument) SetDerivativePriceQuoteMethod(v string) { m.DerivativePriceQuoteMethod = &v @@ -225,6 +234,9 @@ func (m *DerivativeInstrument) SetDerivativeListMethod(v int) { m.Derivative func (m *DerivativeInstrument) SetDerivativeCapPrice(v float64) { m.DerivativeCapPrice = &v } func (m *DerivativeInstrument) SetDerivativeFloorPrice(v float64) { m.DerivativeFloorPrice = &v } func (m *DerivativeInstrument) SetDerivativePutOrCall(v int) { m.DerivativePutOrCall = &v } +func (m *DerivativeInstrument) SetDerivativeSecurityXML(v derivativesecurityxml.DerivativeSecurityXML) { + m.DerivativeSecurityXML = &v +} func (m *DerivativeInstrument) SetDerivativeContractMultiplierUnit(v int) { m.DerivativeContractMultiplierUnit = &v } diff --git a/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go b/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go index 636780b65..8cc62123f 100644 --- a/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go +++ b/fix50sp2/derivativeinstrumentparties/DerivativeInstrumentParties.go @@ -12,8 +12,8 @@ type NoDerivativeInstrumentParties struct { DerivativeInstrumentPartyIDSource *string `fix:"1294"` //DerivativeInstrumentPartyRole is a non-required field for NoDerivativeInstrumentParties. DerivativeInstrumentPartyRole *int `fix:"1295"` - //DerivativeInstrumentPartySubIDsGrp Component - derivativeinstrumentpartysubidsgrp.DerivativeInstrumentPartySubIDsGrp + //DerivativeInstrumentPartySubIDsGrp is a non-required component for NoDerivativeInstrumentParties. + DerivativeInstrumentPartySubIDsGrp *derivativeinstrumentpartysubidsgrp.DerivativeInstrumentPartySubIDsGrp } //DerivativeInstrumentParties is a fix50sp2 Component diff --git a/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go b/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go index 3b123429a..26ab516ba 100644 --- a/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go +++ b/fix50sp2/derivativesecuritydefinition/DerivativeSecurityDefinition.go @@ -8,10 +8,20 @@ import ( //DerivativeSecurityDefinition is a fix50sp2 Component type DerivativeSecurityDefinition struct { - //DerivativeInstrument Component - derivativeinstrument.DerivativeInstrument - //DerivativeInstrumentAttribute Component - derivativeinstrumentattribute.DerivativeInstrumentAttribute - //MarketSegmentGrp Component - marketsegmentgrp.MarketSegmentGrp + //DerivativeInstrument is a non-required component for DerivativeSecurityDefinition. + DerivativeInstrument *derivativeinstrument.DerivativeInstrument + //DerivativeInstrumentAttribute is a non-required component for DerivativeSecurityDefinition. + DerivativeInstrumentAttribute *derivativeinstrumentattribute.DerivativeInstrumentAttribute + //MarketSegmentGrp is a non-required component for DerivativeSecurityDefinition. + MarketSegmentGrp *marketsegmentgrp.MarketSegmentGrp +} + +func (m *DerivativeSecurityDefinition) SetDerivativeInstrument(v derivativeinstrument.DerivativeInstrument) { + m.DerivativeInstrument = &v +} +func (m *DerivativeSecurityDefinition) SetDerivativeInstrumentAttribute(v derivativeinstrumentattribute.DerivativeInstrumentAttribute) { + m.DerivativeInstrumentAttribute = &v +} +func (m *DerivativeSecurityDefinition) SetMarketSegmentGrp(v marketsegmentgrp.MarketSegmentGrp) { + m.MarketSegmentGrp = &v } diff --git a/fix50sp2/derivativesecuritylist/DerivativeSecurityList.go b/fix50sp2/derivativesecuritylist/DerivativeSecurityList.go index 0a4e96c06..c1096c049 100644 --- a/fix50sp2/derivativesecuritylist/DerivativeSecurityList.go +++ b/fix50sp2/derivativesecuritylist/DerivativeSecurityList.go @@ -22,18 +22,18 @@ type Message struct { SecurityResponseID *string `fix:"322"` //SecurityRequestResult is a non-required field for DerivativeSecurityList. SecurityRequestResult *int `fix:"560"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityList. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoRelatedSym is a non-required field for DerivativeSecurityList. TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for DerivativeSecurityList. LastFragment *bool `fix:"893"` - //RelSymDerivSecGrp Component - relsymderivsecgrp.RelSymDerivSecGrp - //DerivativeSecurityDefinition Component - derivativesecuritydefinition.DerivativeSecurityDefinition - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RelSymDerivSecGrp is a non-required component for DerivativeSecurityList. + RelSymDerivSecGrp *relsymderivsecgrp.RelSymDerivSecGrp + //DerivativeSecurityDefinition is a non-required component for DerivativeSecurityList. + DerivativeSecurityDefinition *derivativesecuritydefinition.DerivativeSecurityDefinition + //ApplicationSequenceControl is a non-required component for DerivativeSecurityList. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //SecurityReportID is a non-required field for DerivativeSecurityList. SecurityReportID *int `fix:"964"` //ClearingBusinessDate is a non-required field for DerivativeSecurityList. @@ -46,11 +46,23 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetRelSymDerivSecGrp(v relsymderivsecgrp.RelSymDerivSecGrp) { + m.RelSymDerivSecGrp = &v +} +func (m *Message) SetDerivativeSecurityDefinition(v derivativesecuritydefinition.DerivativeSecurityDefinition) { + m.DerivativeSecurityDefinition = &v +} +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } diff --git a/fix50sp2/derivativesecuritylistrequest/DerivativeSecurityListRequest.go b/fix50sp2/derivativesecuritylistrequest/DerivativeSecurityListRequest.go index e0de0ed16..ae65a4047 100644 --- a/fix50sp2/derivativesecuritylistrequest/DerivativeSecurityListRequest.go +++ b/fix50sp2/derivativesecuritylistrequest/DerivativeSecurityListRequest.go @@ -17,8 +17,8 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for DerivativeSecurityListRequest. SecurityListRequestType int `fix:"559"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for DerivativeSecurityListRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //SecuritySubType is a non-required field for DerivativeSecurityListRequest. SecuritySubType *string `fix:"762"` //Currency is a non-required field for DerivativeSecurityListRequest. @@ -39,16 +39,19 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for DerivativeSecurityListRequest. MarketSegmentID *string `fix:"1300"` - //DerivativeInstrument Component - derivativeinstrument.DerivativeInstrument + //DerivativeInstrument is a non-required component for DerivativeSecurityListRequest. + DerivativeInstrument *derivativeinstrument.DerivativeInstrument fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} func (m *Message) SetSecuritySubType(v string) { m.SecuritySubType = &v } func (m *Message) SetCurrency(v string) { m.Currency = &v } func (m *Message) SetText(v string) { m.Text = &v } @@ -59,6 +62,9 @@ func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } func (m *Message) SetMarketID(v string) { m.MarketID = &v } func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetDerivativeInstrument(v derivativeinstrument.DerivativeInstrument) { + m.DerivativeInstrument = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go b/fix50sp2/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go index 303b7e7de..451236948 100644 --- a/fix50sp2/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go +++ b/fix50sp2/derivativesecuritylistupdatereport/DerivativeSecurityListUpdateReport.go @@ -24,18 +24,18 @@ type Message struct { SecurityRequestResult *int `fix:"560"` //SecurityUpdateAction is a non-required field for DerivativeSecurityListUpdateReport. SecurityUpdateAction *string `fix:"980"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument - //DerivativeSecurityDefinition Component - derivativesecuritydefinition.DerivativeSecurityDefinition + //UnderlyingInstrument is a non-required component for DerivativeSecurityListUpdateReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument + //DerivativeSecurityDefinition is a non-required component for DerivativeSecurityListUpdateReport. + DerivativeSecurityDefinition *derivativesecuritydefinition.DerivativeSecurityDefinition //TotNoRelatedSym is a non-required field for DerivativeSecurityListUpdateReport. TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for DerivativeSecurityListUpdateReport. LastFragment *bool `fix:"893"` - //RelSymDerivSecUpdGrp Component - relsymderivsecupdgrp.RelSymDerivSecUpdGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RelSymDerivSecUpdGrp is a non-required component for DerivativeSecurityListUpdateReport. + RelSymDerivSecUpdGrp *relsymderivsecupdgrp.RelSymDerivSecUpdGrp + //ApplicationSequenceControl is a non-required component for DerivativeSecurityListUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //TransactTime is a non-required field for DerivativeSecurityListUpdateReport. TransactTime *time.Time `fix:"60"` fixt11.Trailer @@ -48,9 +48,21 @@ func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetDerivativeSecurityDefinition(v derivativesecuritydefinition.DerivativeSecurityDefinition) { + m.DerivativeSecurityDefinition = &v +} +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetRelSymDerivSecUpdGrp(v relsymderivsecupdgrp.RelSymDerivSecUpdGrp) { + m.RelSymDerivSecUpdGrp = &v +} +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/dlvyinstgrp/DlvyInstGrp.go b/fix50sp2/dlvyinstgrp/DlvyInstGrp.go index 17c2b18a1..32378278a 100644 --- a/fix50sp2/dlvyinstgrp/DlvyInstGrp.go +++ b/fix50sp2/dlvyinstgrp/DlvyInstGrp.go @@ -10,8 +10,8 @@ type NoDlvyInst struct { SettlInstSource *string `fix:"165"` //DlvyInstType is a non-required field for NoDlvyInst. DlvyInstType *string `fix:"787"` - //SettlParties Component - settlparties.SettlParties + //SettlParties is a non-required component for NoDlvyInst. + SettlParties *settlparties.SettlParties } //DlvyInstGrp is a fix50sp2 Component diff --git a/fix50sp2/dontknowtrade/DontKnowTrade.go b/fix50sp2/dontknowtrade/DontKnowTrade.go index 783a59fd0..f89e8147a 100644 --- a/fix50sp2/dontknowtrade/DontKnowTrade.go +++ b/fix50sp2/dontknowtrade/DontKnowTrade.go @@ -23,15 +23,15 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a required field for DontKnowTrade. DKReason string `fix:"127"` - //Instrument Component + //Instrument is a required component for DontKnowTrade. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for DontKnowTrade. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for DontKnowTrade. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Side is a required field for DontKnowTrade. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for DontKnowTrade. orderqtydata.OrderQtyData //LastQty is a non-required field for DontKnowTrade. LastQty *float64 `fix:"32"` @@ -49,16 +49,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/email/Email.go b/fix50sp2/email/Email.go index 4dad8525d..433c7eb65 100644 --- a/fix50sp2/email/Email.go +++ b/fix50sp2/email/Email.go @@ -29,19 +29,19 @@ type Message struct { EncodedSubjectLen *int `fix:"356"` //EncodedSubject is a non-required field for Email. EncodedSubject *string `fix:"357"` - //RoutingGrp Component - routinggrp.RoutingGrp - //InstrmtGrp Component - instrmtgrp.InstrmtGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //RoutingGrp is a non-required component for Email. + RoutingGrp *routinggrp.RoutingGrp + //InstrmtGrp is a non-required component for Email. + InstrmtGrp *instrmtgrp.InstrmtGrp + //UndInstrmtGrp is a non-required component for Email. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for Email. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //OrderID is a non-required field for Email. OrderID *string `fix:"37"` //ClOrdID is a non-required field for Email. ClOrdID *string `fix:"11"` - //LinesOfTextGrp Component + //LinesOfTextGrp is a required component for Email. linesoftextgrp.LinesOfTextGrp //RawDataLength is a non-required field for Email. RawDataLength *int `fix:"95"` @@ -53,16 +53,21 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetEmailThreadID(v string) { m.EmailThreadID = v } -func (m *Message) SetEmailType(v string) { m.EmailType = v } -func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } -func (m *Message) SetSubject(v string) { m.Subject = v } -func (m *Message) SetEncodedSubjectLen(v int) { m.EncodedSubjectLen = &v } -func (m *Message) SetEncodedSubject(v string) { m.EncodedSubject = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } -func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetEmailThreadID(v string) { m.EmailThreadID = v } +func (m *Message) SetEmailType(v string) { m.EmailType = v } +func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } +func (m *Message) SetSubject(v string) { m.Subject = v } +func (m *Message) SetEncodedSubjectLen(v int) { m.EncodedSubjectLen = &v } +func (m *Message) SetEncodedSubject(v string) { m.EncodedSubject = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetLinesOfTextGrp(v linesoftextgrp.LinesOfTextGrp) { m.LinesOfTextGrp = v } +func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } +func (m *Message) SetRawData(v string) { m.RawData = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/executionacknowledgement/ExecutionAcknowledgement.go b/fix50sp2/executionacknowledgement/ExecutionAcknowledgement.go index 296c1fe10..716dbcc33 100644 --- a/fix50sp2/executionacknowledgement/ExecutionAcknowledgement.go +++ b/fix50sp2/executionacknowledgement/ExecutionAcknowledgement.go @@ -27,15 +27,15 @@ type Message struct { ExecID string `fix:"17"` //DKReason is a non-required field for ExecutionAcknowledgement. DKReason *string `fix:"127"` - //Instrument Component + //Instrument is a required component for ExecutionAcknowledgement. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for ExecutionAcknowledgement. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for ExecutionAcknowledgement. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Side is a required field for ExecutionAcknowledgement. Side string `fix:"54"` - //OrderQtyData Component + //OrderQtyData is a required component for ExecutionAcknowledgement. orderqtydata.OrderQtyData //LastQty is a non-required field for ExecutionAcknowledgement. LastQty *float64 `fix:"32"` @@ -61,22 +61,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetExecAckStatus(v string) { m.ExecAckStatus = v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetDKReason(v string) { m.DKReason = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetCumQty(v float64) { m.CumQty = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetExecAckStatus(v string) { m.ExecAckStatus = v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetDKReason(v string) { m.DKReason = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetCumQty(v float64) { m.CumQty = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/executionreport/ExecutionReport.go b/fix50sp2/executionreport/ExecutionReport.go index 23dd4e1eb..0ba457a19 100644 --- a/fix50sp2/executionreport/ExecutionReport.go +++ b/fix50sp2/executionreport/ExecutionReport.go @@ -59,12 +59,12 @@ type Message struct { TotNumReports *int `fix:"911"` //LastRptRequested is a non-required field for ExecutionReport. LastRptRequested *bool `fix:"912"` - //Parties Component - parties.Parties + //Parties is a non-required component for ExecutionReport. + Parties *parties.Parties //TradeOriginationDate is a non-required field for ExecutionReport. TradeOriginationDate *string `fix:"229"` - //ContraGrp Component - contragrp.ContraGrp + //ContraGrp is a non-required component for ExecutionReport. + ContraGrp *contragrp.ContraGrp //ListID is a non-required field for ExecutionReport. ListID *string `fix:"66"` //CrossID is a non-required field for ExecutionReport. @@ -107,20 +107,20 @@ type Message struct { CashMargin *string `fix:"544"` //ClearingFeeIndicator is a non-required field for ExecutionReport. ClearingFeeIndicator *string `fix:"635"` - //Instrument Component + //Instrument is a required component for ExecutionReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for ExecutionReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for ExecutionReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for ExecutionReport. Side string `fix:"54"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for ExecutionReport. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for ExecutionReport. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for ExecutionReport. + OrderQtyData *orderqtydata.OrderQtyData //OrdType is a non-required field for ExecutionReport. OrdType *string `fix:"40"` //PriceType is a non-required field for ExecutionReport. @@ -129,10 +129,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for ExecutionReport. StopPx *float64 `fix:"99"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for ExecutionReport. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for ExecutionReport. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //PeggedPrice is a non-required field for ExecutionReport. PeggedPrice *float64 `fix:"839"` //DiscretionPrice is a non-required field for ExecutionReport. @@ -211,12 +211,12 @@ type Message struct { TransactTime *time.Time `fix:"60"` //ReportToExch is a non-required field for ExecutionReport. ReportToExch *bool `fix:"113"` - //CommissionData Component - commissiondata.CommissionData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //CommissionData is a non-required component for ExecutionReport. + CommissionData *commissiondata.CommissionData + //SpreadOrBenchmarkCurveData is a non-required component for ExecutionReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for ExecutionReport. + YieldData *yielddata.YieldData //GrossTradeAmt is a non-required field for ExecutionReport. GrossTradeAmt *float64 `fix:"381"` //NumDaysInterest is a non-required field for ExecutionReport. @@ -303,16 +303,16 @@ type Message struct { PriceImprovement *float64 `fix:"639"` //LastLiquidityInd is a non-required field for ExecutionReport. LastLiquidityInd *int `fix:"851"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //InstrmtLegExecGrp Component - instrmtlegexecgrp.InstrmtLegExecGrp + //ContAmtGrp is a non-required component for ExecutionReport. + ContAmtGrp *contamtgrp.ContAmtGrp + //InstrmtLegExecGrp is a non-required component for ExecutionReport. + InstrmtLegExecGrp *instrmtlegexecgrp.InstrmtLegExecGrp //CopyMsgIndicator is a non-required field for ExecutionReport. CopyMsgIndicator *bool `fix:"797"` - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //MiscFeesGrp is a non-required component for ExecutionReport. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp + //StrategyParametersGrp is a non-required component for ExecutionReport. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //HostCrossID is a non-required field for ExecutionReport. HostCrossID *string `fix:"961"` //ManualOrderIndicator is a non-required field for ExecutionReport. @@ -325,8 +325,8 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for ExecutionReport. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for ExecutionReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //AggressorIndicator is a non-required field for ExecutionReport. AggressorIndicator *bool `fix:"1057"` //CalculatedCcyLastQty is a non-required field for ExecutionReport. @@ -341,8 +341,8 @@ type Message struct { LotType *string `fix:"1093"` //PriceProtectionScope is a non-required field for ExecutionReport. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for ExecutionReport. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PeggedRefPrice is a non-required field for ExecutionReport. PeggedRefPrice *float64 `fix:"1095"` //PreTradeAnonymity is a non-required field for ExecutionReport. @@ -351,8 +351,8 @@ type Message struct { MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for ExecutionReport. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for ExecutionReport. + DisplayInstruction *displayinstruction.DisplayInstruction //Volatility is a non-required field for ExecutionReport. Volatility *float64 `fix:"1188"` //TimeToExpiration is a non-required field for ExecutionReport. @@ -365,175 +365,212 @@ type Message struct { TrdMatchID *string `fix:"880"` //AllocID is a non-required field for ExecutionReport. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for ExecutionReport. + PreAllocGrp *preallocgrp.PreAllocGrp //TotNoFills is a non-required field for ExecutionReport. TotNoFills *int `fix:"1361"` //LastFragment is a non-required field for ExecutionReport. LastFragment *bool `fix:"893"` - //FillsGrp Component - fillsgrp.FillsGrp + //FillsGrp is a non-required component for ExecutionReport. + FillsGrp *fillsgrp.FillsGrp //DividendYield is a non-required field for ExecutionReport. DividendYield *float64 `fix:"1380"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl - //RateSource Component - ratesource.RateSource + //ApplicationSequenceControl is a non-required component for ExecutionReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl + //RateSource is a non-required component for ExecutionReport. + RateSource *ratesource.RateSource fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetCrossID(v string) { m.CrossID = &v } -func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } -func (m *Message) SetCrossType(v int) { m.CrossType = &v } -func (m *Message) SetExecID(v string) { m.ExecID = v } -func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = v } -func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } -func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } -func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } -func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } -func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } -func (m *Message) SetCumQty(v float64) { m.CumQty = v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } -func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } -func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } -func (m *Message) SetExDate(v string) { m.ExDate = &v } -func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } -func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } -func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } -func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } -func (m *Message) SetStartCash(v float64) { m.StartCash = &v } -func (m *Message) SetEndCash(v float64) { m.EndCash = &v } -func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } -func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } -func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } -func (m *Message) SetConcession(v float64) { m.Concession = &v } -func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } -func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } -func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } -func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } -func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } -func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } -func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } -func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetAggressorIndicator(v bool) { m.AggressorIndicator = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } -func (m *Message) SetLotType(v string) { m.LotType = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPeggedRefPrice(v float64) { m.PeggedRefPrice = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetVolatility(v float64) { m.Volatility = &v } -func (m *Message) SetTimeToExpiration(v float64) { m.TimeToExpiration = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } -func (m *Message) SetPriceDelta(v float64) { m.PriceDelta = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetTotNoFills(v int) { m.TotNoFills = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetContraGrp(v contragrp.ContraGrp) { m.ContraGrp = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = &v } +func (m *Message) SetOrigCrossID(v string) { m.OrigCrossID = &v } +func (m *Message) SetCrossType(v int) { m.CrossType = &v } +func (m *Message) SetExecID(v string) { m.ExecID = v } +func (m *Message) SetExecRefID(v string) { m.ExecRefID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = v } +func (m *Message) SetOrdStatus(v string) { m.OrdStatus = v } +func (m *Message) SetWorkingIndicator(v bool) { m.WorkingIndicator = &v } +func (m *Message) SetOrdRejReason(v int) { m.OrdRejReason = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetPeggedPrice(v float64) { m.PeggedPrice = &v } +func (m *Message) SetDiscretionPrice(v float64) { m.DiscretionPrice = &v } +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetTargetStrategyPerformance(v float64) { m.TargetStrategyPerformance = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetUnderlyingLastQty(v float64) { m.UnderlyingLastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetUnderlyingLastPx(v float64) { m.UnderlyingLastPx = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetLastCapacity(v string) { m.LastCapacity = &v } +func (m *Message) SetLeavesQty(v float64) { m.LeavesQty = v } +func (m *Message) SetCumQty(v float64) { m.CumQty = v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetDayOrderQty(v float64) { m.DayOrderQty = &v } +func (m *Message) SetDayCumQty(v float64) { m.DayCumQty = &v } +func (m *Message) SetDayAvgPx(v float64) { m.DayAvgPx = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetReportToExch(v bool) { m.ReportToExch = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetNumDaysInterest(v int) { m.NumDaysInterest = &v } +func (m *Message) SetExDate(v string) { m.ExDate = &v } +func (m *Message) SetAccruedInterestRate(v float64) { m.AccruedInterestRate = &v } +func (m *Message) SetAccruedInterestAmt(v float64) { m.AccruedInterestAmt = &v } +func (m *Message) SetInterestAtMaturity(v float64) { m.InterestAtMaturity = &v } +func (m *Message) SetEndAccruedInterestAmt(v float64) { m.EndAccruedInterestAmt = &v } +func (m *Message) SetStartCash(v float64) { m.StartCash = &v } +func (m *Message) SetEndCash(v float64) { m.EndCash = &v } +func (m *Message) SetTradedFlatSwitch(v bool) { m.TradedFlatSwitch = &v } +func (m *Message) SetBasisFeatureDate(v string) { m.BasisFeatureDate = &v } +func (m *Message) SetBasisFeaturePrice(v float64) { m.BasisFeaturePrice = &v } +func (m *Message) SetConcession(v float64) { m.Concession = &v } +func (m *Message) SetTotalTakedown(v float64) { m.TotalTakedown = &v } +func (m *Message) SetNetMoney(v float64) { m.NetMoney = &v } +func (m *Message) SetSettlCurrAmt(v float64) { m.SettlCurrAmt = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetSettlCurrFxRate(v float64) { m.SettlCurrFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetLastForwardPoints2(v float64) { m.LastForwardPoints2 = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetExecValuationPoint(v time.Time) { m.ExecValuationPoint = &v } +func (m *Message) SetExecPriceType(v string) { m.ExecPriceType = &v } +func (m *Message) SetExecPriceAdjustment(v float64) { m.ExecPriceAdjustment = &v } +func (m *Message) SetPriorityIndicator(v int) { m.PriorityIndicator = &v } +func (m *Message) SetPriceImprovement(v float64) { m.PriceImprovement = &v } +func (m *Message) SetLastLiquidityInd(v int) { m.LastLiquidityInd = &v } +func (m *Message) SetContAmtGrp(v contamtgrp.ContAmtGrp) { m.ContAmtGrp = &v } +func (m *Message) SetInstrmtLegExecGrp(v instrmtlegexecgrp.InstrmtLegExecGrp) { + m.InstrmtLegExecGrp = &v +} +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp) { m.MiscFeesGrp = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetHostCrossID(v string) { m.HostCrossID = &v } +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetAggressorIndicator(v bool) { m.AggressorIndicator = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetOrderCategory(v string) { m.OrderCategory = &v } +func (m *Message) SetLotType(v string) { m.LotType = &v } +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPeggedRefPrice(v float64) { m.PeggedRefPrice = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetVolatility(v float64) { m.Volatility = &v } +func (m *Message) SetTimeToExpiration(v float64) { m.TimeToExpiration = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetPriceDelta(v float64) { m.PriceDelta = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetTotNoFills(v int) { m.TotNoFills = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetFillsGrp(v fillsgrp.FillsGrp) { m.FillsGrp = &v } +func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetRateSource(v ratesource.RateSource) { m.RateSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/fillsgrp/FillsGrp.go b/fix50sp2/fillsgrp/FillsGrp.go index 5fc36f2fb..ee9ce9ec9 100644 --- a/fix50sp2/fillsgrp/FillsGrp.go +++ b/fix50sp2/fillsgrp/FillsGrp.go @@ -12,8 +12,8 @@ type NoFills struct { FillPx *float64 `fix:"1364"` //FillQty is a non-required field for NoFills. FillQty *float64 `fix:"1365"` - //NestedParties4 Component - nestedparties4.NestedParties4 + //NestedParties4 is a non-required component for NoFills. + NestedParties4 *nestedparties4.NestedParties4 //FillLiquidityInd is a non-required field for NoFills. FillLiquidityInd *int `fix:"1443"` } diff --git a/fix50sp2/instrmtgrp/InstrmtGrp.go b/fix50sp2/instrmtgrp/InstrmtGrp.go index 844468a02..9e91ddfbc 100644 --- a/fix50sp2/instrmtgrp/InstrmtGrp.go +++ b/fix50sp2/instrmtgrp/InstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoRelatedSym is a repeating group in InstrmtGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument } //InstrmtGrp is a fix50sp2 Component diff --git a/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go b/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go index a78ff25e0..14db21b8f 100644 --- a/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go +++ b/fix50sp2/instrmtlegexecgrp/InstrmtLegExecGrp.go @@ -9,14 +9,14 @@ import ( //NoLegs is a repeating group in InstrmtLegExecGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. @@ -39,12 +39,12 @@ type NoLegs struct { LegCalculatedCcyLastQty *float64 `fix:"1074"` //LegGrossTradeAmt is a non-required field for NoLegs. LegGrossTradeAmt *float64 `fix:"1075"` - //NestedParties3 Component - nestedparties3.NestedParties3 + //NestedParties3 is a non-required component for NoLegs. + NestedParties3 *nestedparties3.NestedParties3 //LegAllocID is a non-required field for NoLegs. LegAllocID *string `fix:"1366"` - //LegPreAllocGrp Component - legpreallocgrp.LegPreAllocGrp + //LegPreAllocGrp is a non-required component for NoLegs. + LegPreAllocGrp *legpreallocgrp.LegPreAllocGrp //LegVolatility is a non-required field for NoLegs. LegVolatility *float64 `fix:"1379"` //LegDividendYield is a non-required field for NoLegs. diff --git a/fix50sp2/instrmtleggrp/InstrmtLegGrp.go b/fix50sp2/instrmtleggrp/InstrmtLegGrp.go index 9860548f4..a1b837342 100644 --- a/fix50sp2/instrmtleggrp/InstrmtLegGrp.go +++ b/fix50sp2/instrmtleggrp/InstrmtLegGrp.go @@ -6,8 +6,8 @@ import ( //NoLegs is a repeating group in InstrmtLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg } //InstrmtLegGrp is a fix50sp2 Component diff --git a/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go b/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go index 77c0e2d31..72ab13db0 100644 --- a/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go +++ b/fix50sp2/instrmtlegioigrp/InstrmtLegIOIGrp.go @@ -7,12 +7,12 @@ import ( //NoLegs is a repeating group in InstrmtLegIOIGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegIOIQty is a non-required field for NoLegs. LegIOIQty *string `fix:"682"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations } //InstrmtLegIOIGrp is a fix50sp2 Component diff --git a/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go b/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go index fa2c8c850..d14af0a1f 100644 --- a/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go +++ b/fix50sp2/instrmtlegseclistgrp/InstrmtLegSecListGrp.go @@ -8,16 +8,16 @@ import ( //NoLegs is a repeating group in InstrmtLegSecListGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` //LegSettlType is a non-required field for NoLegs. LegSettlType *string `fix:"587"` - //LegStipulations Component - legstipulations.LegStipulations - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } //InstrmtLegSecListGrp is a fix50sp2 Component diff --git a/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go b/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go index 387a1e078..e4cf5e689 100644 --- a/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go +++ b/fix50sp2/instrmtmdreqgrp/InstrmtMDReqGrp.go @@ -8,12 +8,12 @@ import ( //NoRelatedSym is a repeating group in InstrmtMDReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` //QuoteType is a non-required field for NoRelatedSym. diff --git a/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go b/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go index dd44aaa01..b907e027f 100644 --- a/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go +++ b/fix50sp2/instrmtstrkpxgrp/InstrmtStrkPxGrp.go @@ -7,10 +7,10 @@ import ( //NoStrikes is a repeating group in InstrmtStrkPxGrp type NoStrikes struct { - //Instrument Component + //Instrument is a required component for NoStrikes. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NoStrikes. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoStrikes. PrevClosePx *float64 `fix:"140"` //ClOrdID is a non-required field for NoStrikes. diff --git a/fix50sp2/instrument/Instrument.go b/fix50sp2/instrument/Instrument.go index 836e84d4a..582c0e433 100644 --- a/fix50sp2/instrument/Instrument.go +++ b/fix50sp2/instrument/Instrument.go @@ -18,8 +18,8 @@ type Instrument struct { SecurityID *string `fix:"48"` //SecurityIDSource is a non-required field for Instrument. SecurityIDSource *string `fix:"22"` - //SecAltIDGrp Component - secaltidgrp.SecAltIDGrp + //SecAltIDGrp is a non-required component for Instrument. + SecAltIDGrp *secaltidgrp.SecAltIDGrp //Product is a non-required field for Instrument. Product *int `fix:"460"` //CFICode is a non-required field for Instrument. @@ -88,8 +88,8 @@ type Instrument struct { CPProgram *int `fix:"875"` //CPRegType is a non-required field for Instrument. CPRegType *string `fix:"876"` - //EvntGrp Component - evntgrp.EvntGrp + //EvntGrp is a non-required component for Instrument. + EvntGrp *evntgrp.EvntGrp //DatedDate is a non-required field for Instrument. DatedDate *string `fix:"873"` //InterestAccrualDate is a non-required field for Instrument. @@ -110,8 +110,8 @@ type Instrument struct { PositionLimit *int `fix:"970"` //NTPositionLimit is a non-required field for Instrument. NTPositionLimit *int `fix:"971"` - //InstrumentParties Component - instrumentparties.InstrumentParties + //InstrumentParties is a non-required component for Instrument. + InstrumentParties *instrumentparties.InstrumentParties //UnitOfMeasure is a non-required field for Instrument. UnitOfMeasure *string `fix:"996"` //TimeUnit is a non-required field for Instrument. @@ -124,8 +124,8 @@ type Instrument struct { MinPriceIncrementAmount *float64 `fix:"1146"` //UnitOfMeasureQty is a non-required field for Instrument. UnitOfMeasureQty *float64 `fix:"1147"` - //SecurityXML Component - securityxml.SecurityXML + //SecurityXML is a non-required component for Instrument. + SecurityXML *securityxml.SecurityXML //ProductComplex is a non-required field for Instrument. ProductComplex *string `fix:"1227"` //PriceUnitOfMeasure is a non-required field for Instrument. @@ -180,76 +180,82 @@ type Instrument struct { UnderlyingPriceDeterminationMethod *int `fix:"1481"` //OptPayoutType is a non-required field for Instrument. OptPayoutType *int `fix:"1482"` - //ComplexEvents Component - complexevents.ComplexEvents + //ComplexEvents is a non-required component for Instrument. + ComplexEvents *complexevents.ComplexEvents } -func (m *Instrument) SetSymbol(v string) { m.Symbol = &v } -func (m *Instrument) SetSymbolSfx(v string) { m.SymbolSfx = &v } -func (m *Instrument) SetSecurityID(v string) { m.SecurityID = &v } -func (m *Instrument) SetSecurityIDSource(v string) { m.SecurityIDSource = &v } -func (m *Instrument) SetProduct(v int) { m.Product = &v } -func (m *Instrument) SetCFICode(v string) { m.CFICode = &v } -func (m *Instrument) SetSecurityType(v string) { m.SecurityType = &v } -func (m *Instrument) SetSecuritySubType(v string) { m.SecuritySubType = &v } -func (m *Instrument) SetMaturityMonthYear(v string) { m.MaturityMonthYear = &v } -func (m *Instrument) SetMaturityDate(v string) { m.MaturityDate = &v } -func (m *Instrument) SetCouponPaymentDate(v string) { m.CouponPaymentDate = &v } -func (m *Instrument) SetIssueDate(v string) { m.IssueDate = &v } -func (m *Instrument) SetRepoCollateralSecurityType(v int) { m.RepoCollateralSecurityType = &v } -func (m *Instrument) SetRepurchaseTerm(v int) { m.RepurchaseTerm = &v } -func (m *Instrument) SetRepurchaseRate(v float64) { m.RepurchaseRate = &v } -func (m *Instrument) SetFactor(v float64) { m.Factor = &v } -func (m *Instrument) SetCreditRating(v string) { m.CreditRating = &v } -func (m *Instrument) SetInstrRegistry(v string) { m.InstrRegistry = &v } -func (m *Instrument) SetCountryOfIssue(v string) { m.CountryOfIssue = &v } -func (m *Instrument) SetStateOrProvinceOfIssue(v string) { m.StateOrProvinceOfIssue = &v } -func (m *Instrument) SetLocaleOfIssue(v string) { m.LocaleOfIssue = &v } -func (m *Instrument) SetRedemptionDate(v string) { m.RedemptionDate = &v } -func (m *Instrument) SetStrikePrice(v float64) { m.StrikePrice = &v } -func (m *Instrument) SetStrikeCurrency(v string) { m.StrikeCurrency = &v } -func (m *Instrument) SetOptAttribute(v string) { m.OptAttribute = &v } -func (m *Instrument) SetContractMultiplier(v float64) { m.ContractMultiplier = &v } -func (m *Instrument) SetCouponRate(v float64) { m.CouponRate = &v } -func (m *Instrument) SetSecurityExchange(v string) { m.SecurityExchange = &v } -func (m *Instrument) SetIssuer(v string) { m.Issuer = &v } -func (m *Instrument) SetEncodedIssuerLen(v int) { m.EncodedIssuerLen = &v } -func (m *Instrument) SetEncodedIssuer(v string) { m.EncodedIssuer = &v } -func (m *Instrument) SetSecurityDesc(v string) { m.SecurityDesc = &v } -func (m *Instrument) SetEncodedSecurityDescLen(v int) { m.EncodedSecurityDescLen = &v } -func (m *Instrument) SetEncodedSecurityDesc(v string) { m.EncodedSecurityDesc = &v } -func (m *Instrument) SetPool(v string) { m.Pool = &v } -func (m *Instrument) SetContractSettlMonth(v string) { m.ContractSettlMonth = &v } -func (m *Instrument) SetCPProgram(v int) { m.CPProgram = &v } -func (m *Instrument) SetCPRegType(v string) { m.CPRegType = &v } -func (m *Instrument) SetDatedDate(v string) { m.DatedDate = &v } -func (m *Instrument) SetInterestAccrualDate(v string) { m.InterestAccrualDate = &v } -func (m *Instrument) SetSecurityStatus(v string) { m.SecurityStatus = &v } -func (m *Instrument) SetSettleOnOpenFlag(v string) { m.SettleOnOpenFlag = &v } -func (m *Instrument) SetInstrmtAssignmentMethod(v string) { m.InstrmtAssignmentMethod = &v } -func (m *Instrument) SetStrikeMultiplier(v float64) { m.StrikeMultiplier = &v } -func (m *Instrument) SetStrikeValue(v float64) { m.StrikeValue = &v } -func (m *Instrument) SetMinPriceIncrement(v float64) { m.MinPriceIncrement = &v } -func (m *Instrument) SetPositionLimit(v int) { m.PositionLimit = &v } -func (m *Instrument) SetNTPositionLimit(v int) { m.NTPositionLimit = &v } -func (m *Instrument) SetUnitOfMeasure(v string) { m.UnitOfMeasure = &v } -func (m *Instrument) SetTimeUnit(v string) { m.TimeUnit = &v } -func (m *Instrument) SetMaturityTime(v string) { m.MaturityTime = &v } -func (m *Instrument) SetSecurityGroup(v string) { m.SecurityGroup = &v } -func (m *Instrument) SetMinPriceIncrementAmount(v float64) { m.MinPriceIncrementAmount = &v } -func (m *Instrument) SetUnitOfMeasureQty(v float64) { m.UnitOfMeasureQty = &v } -func (m *Instrument) SetProductComplex(v string) { m.ProductComplex = &v } -func (m *Instrument) SetPriceUnitOfMeasure(v string) { m.PriceUnitOfMeasure = &v } -func (m *Instrument) SetPriceUnitOfMeasureQty(v float64) { m.PriceUnitOfMeasureQty = &v } -func (m *Instrument) SetSettlMethod(v string) { m.SettlMethod = &v } -func (m *Instrument) SetExerciseStyle(v int) { m.ExerciseStyle = &v } -func (m *Instrument) SetOptPayoutAmount(v float64) { m.OptPayoutAmount = &v } -func (m *Instrument) SetPriceQuoteMethod(v string) { m.PriceQuoteMethod = &v } -func (m *Instrument) SetListMethod(v int) { m.ListMethod = &v } -func (m *Instrument) SetCapPrice(v float64) { m.CapPrice = &v } -func (m *Instrument) SetFloorPrice(v float64) { m.FloorPrice = &v } -func (m *Instrument) SetPutOrCall(v int) { m.PutOrCall = &v } -func (m *Instrument) SetFlexibleIndicator(v bool) { m.FlexibleIndicator = &v } +func (m *Instrument) SetSymbol(v string) { m.Symbol = &v } +func (m *Instrument) SetSymbolSfx(v string) { m.SymbolSfx = &v } +func (m *Instrument) SetSecurityID(v string) { m.SecurityID = &v } +func (m *Instrument) SetSecurityIDSource(v string) { m.SecurityIDSource = &v } +func (m *Instrument) SetSecAltIDGrp(v secaltidgrp.SecAltIDGrp) { m.SecAltIDGrp = &v } +func (m *Instrument) SetProduct(v int) { m.Product = &v } +func (m *Instrument) SetCFICode(v string) { m.CFICode = &v } +func (m *Instrument) SetSecurityType(v string) { m.SecurityType = &v } +func (m *Instrument) SetSecuritySubType(v string) { m.SecuritySubType = &v } +func (m *Instrument) SetMaturityMonthYear(v string) { m.MaturityMonthYear = &v } +func (m *Instrument) SetMaturityDate(v string) { m.MaturityDate = &v } +func (m *Instrument) SetCouponPaymentDate(v string) { m.CouponPaymentDate = &v } +func (m *Instrument) SetIssueDate(v string) { m.IssueDate = &v } +func (m *Instrument) SetRepoCollateralSecurityType(v int) { m.RepoCollateralSecurityType = &v } +func (m *Instrument) SetRepurchaseTerm(v int) { m.RepurchaseTerm = &v } +func (m *Instrument) SetRepurchaseRate(v float64) { m.RepurchaseRate = &v } +func (m *Instrument) SetFactor(v float64) { m.Factor = &v } +func (m *Instrument) SetCreditRating(v string) { m.CreditRating = &v } +func (m *Instrument) SetInstrRegistry(v string) { m.InstrRegistry = &v } +func (m *Instrument) SetCountryOfIssue(v string) { m.CountryOfIssue = &v } +func (m *Instrument) SetStateOrProvinceOfIssue(v string) { m.StateOrProvinceOfIssue = &v } +func (m *Instrument) SetLocaleOfIssue(v string) { m.LocaleOfIssue = &v } +func (m *Instrument) SetRedemptionDate(v string) { m.RedemptionDate = &v } +func (m *Instrument) SetStrikePrice(v float64) { m.StrikePrice = &v } +func (m *Instrument) SetStrikeCurrency(v string) { m.StrikeCurrency = &v } +func (m *Instrument) SetOptAttribute(v string) { m.OptAttribute = &v } +func (m *Instrument) SetContractMultiplier(v float64) { m.ContractMultiplier = &v } +func (m *Instrument) SetCouponRate(v float64) { m.CouponRate = &v } +func (m *Instrument) SetSecurityExchange(v string) { m.SecurityExchange = &v } +func (m *Instrument) SetIssuer(v string) { m.Issuer = &v } +func (m *Instrument) SetEncodedIssuerLen(v int) { m.EncodedIssuerLen = &v } +func (m *Instrument) SetEncodedIssuer(v string) { m.EncodedIssuer = &v } +func (m *Instrument) SetSecurityDesc(v string) { m.SecurityDesc = &v } +func (m *Instrument) SetEncodedSecurityDescLen(v int) { m.EncodedSecurityDescLen = &v } +func (m *Instrument) SetEncodedSecurityDesc(v string) { m.EncodedSecurityDesc = &v } +func (m *Instrument) SetPool(v string) { m.Pool = &v } +func (m *Instrument) SetContractSettlMonth(v string) { m.ContractSettlMonth = &v } +func (m *Instrument) SetCPProgram(v int) { m.CPProgram = &v } +func (m *Instrument) SetCPRegType(v string) { m.CPRegType = &v } +func (m *Instrument) SetEvntGrp(v evntgrp.EvntGrp) { m.EvntGrp = &v } +func (m *Instrument) SetDatedDate(v string) { m.DatedDate = &v } +func (m *Instrument) SetInterestAccrualDate(v string) { m.InterestAccrualDate = &v } +func (m *Instrument) SetSecurityStatus(v string) { m.SecurityStatus = &v } +func (m *Instrument) SetSettleOnOpenFlag(v string) { m.SettleOnOpenFlag = &v } +func (m *Instrument) SetInstrmtAssignmentMethod(v string) { m.InstrmtAssignmentMethod = &v } +func (m *Instrument) SetStrikeMultiplier(v float64) { m.StrikeMultiplier = &v } +func (m *Instrument) SetStrikeValue(v float64) { m.StrikeValue = &v } +func (m *Instrument) SetMinPriceIncrement(v float64) { m.MinPriceIncrement = &v } +func (m *Instrument) SetPositionLimit(v int) { m.PositionLimit = &v } +func (m *Instrument) SetNTPositionLimit(v int) { m.NTPositionLimit = &v } +func (m *Instrument) SetInstrumentParties(v instrumentparties.InstrumentParties) { + m.InstrumentParties = &v +} +func (m *Instrument) SetUnitOfMeasure(v string) { m.UnitOfMeasure = &v } +func (m *Instrument) SetTimeUnit(v string) { m.TimeUnit = &v } +func (m *Instrument) SetMaturityTime(v string) { m.MaturityTime = &v } +func (m *Instrument) SetSecurityGroup(v string) { m.SecurityGroup = &v } +func (m *Instrument) SetMinPriceIncrementAmount(v float64) { m.MinPriceIncrementAmount = &v } +func (m *Instrument) SetUnitOfMeasureQty(v float64) { m.UnitOfMeasureQty = &v } +func (m *Instrument) SetSecurityXML(v securityxml.SecurityXML) { m.SecurityXML = &v } +func (m *Instrument) SetProductComplex(v string) { m.ProductComplex = &v } +func (m *Instrument) SetPriceUnitOfMeasure(v string) { m.PriceUnitOfMeasure = &v } +func (m *Instrument) SetPriceUnitOfMeasureQty(v float64) { m.PriceUnitOfMeasureQty = &v } +func (m *Instrument) SetSettlMethod(v string) { m.SettlMethod = &v } +func (m *Instrument) SetExerciseStyle(v int) { m.ExerciseStyle = &v } +func (m *Instrument) SetOptPayoutAmount(v float64) { m.OptPayoutAmount = &v } +func (m *Instrument) SetPriceQuoteMethod(v string) { m.PriceQuoteMethod = &v } +func (m *Instrument) SetListMethod(v int) { m.ListMethod = &v } +func (m *Instrument) SetCapPrice(v float64) { m.CapPrice = &v } +func (m *Instrument) SetFloorPrice(v float64) { m.FloorPrice = &v } +func (m *Instrument) SetPutOrCall(v int) { m.PutOrCall = &v } +func (m *Instrument) SetFlexibleIndicator(v bool) { m.FlexibleIndicator = &v } func (m *Instrument) SetFlexProductEligibilityIndicator(v bool) { m.FlexProductEligibilityIndicator = &v } @@ -270,4 +276,5 @@ func (m *Instrument) SetStrikePriceBoundaryPrecision(v float64) { m.StrikePriceB func (m *Instrument) SetUnderlyingPriceDeterminationMethod(v int) { m.UnderlyingPriceDeterminationMethod = &v } -func (m *Instrument) SetOptPayoutType(v int) { m.OptPayoutType = &v } +func (m *Instrument) SetOptPayoutType(v int) { m.OptPayoutType = &v } +func (m *Instrument) SetComplexEvents(v complexevents.ComplexEvents) { m.ComplexEvents = &v } diff --git a/fix50sp2/instrumentextension/InstrumentExtension.go b/fix50sp2/instrumentextension/InstrumentExtension.go index 796100e38..0bbaca794 100644 --- a/fix50sp2/instrumentextension/InstrumentExtension.go +++ b/fix50sp2/instrumentextension/InstrumentExtension.go @@ -10,9 +10,10 @@ type InstrumentExtension struct { DeliveryForm *int `fix:"668"` //PctAtRisk is a non-required field for InstrumentExtension. PctAtRisk *float64 `fix:"869"` - //AttrbGrp Component - attrbgrp.AttrbGrp + //AttrbGrp is a non-required component for InstrumentExtension. + AttrbGrp *attrbgrp.AttrbGrp } -func (m *InstrumentExtension) SetDeliveryForm(v int) { m.DeliveryForm = &v } -func (m *InstrumentExtension) SetPctAtRisk(v float64) { m.PctAtRisk = &v } +func (m *InstrumentExtension) SetDeliveryForm(v int) { m.DeliveryForm = &v } +func (m *InstrumentExtension) SetPctAtRisk(v float64) { m.PctAtRisk = &v } +func (m *InstrumentExtension) SetAttrbGrp(v attrbgrp.AttrbGrp) { m.AttrbGrp = &v } diff --git a/fix50sp2/instrumentleg/InstrumentLeg.go b/fix50sp2/instrumentleg/InstrumentLeg.go index 2e25084e4..66f3bd961 100644 --- a/fix50sp2/instrumentleg/InstrumentLeg.go +++ b/fix50sp2/instrumentleg/InstrumentLeg.go @@ -14,8 +14,8 @@ type InstrumentLeg struct { LegSecurityID *string `fix:"602"` //LegSecurityIDSource is a non-required field for InstrumentLeg. LegSecurityIDSource *string `fix:"603"` - //LegSecAltIDGrp Component - legsecaltidgrp.LegSecAltIDGrp + //LegSecAltIDGrp is a non-required component for InstrumentLeg. + LegSecAltIDGrp *legsecaltidgrp.LegSecAltIDGrp //LegProduct is a non-required field for InstrumentLeg. LegProduct *int `fix:"607"` //LegCFICode is a non-required field for InstrumentLeg. @@ -116,56 +116,57 @@ type InstrumentLeg struct { LegFlowScheduleType *int `fix:"1440"` } -func (m *InstrumentLeg) SetLegSymbol(v string) { m.LegSymbol = &v } -func (m *InstrumentLeg) SetLegSymbolSfx(v string) { m.LegSymbolSfx = &v } -func (m *InstrumentLeg) SetLegSecurityID(v string) { m.LegSecurityID = &v } -func (m *InstrumentLeg) SetLegSecurityIDSource(v string) { m.LegSecurityIDSource = &v } -func (m *InstrumentLeg) SetLegProduct(v int) { m.LegProduct = &v } -func (m *InstrumentLeg) SetLegCFICode(v string) { m.LegCFICode = &v } -func (m *InstrumentLeg) SetLegSecurityType(v string) { m.LegSecurityType = &v } -func (m *InstrumentLeg) SetLegSecuritySubType(v string) { m.LegSecuritySubType = &v } -func (m *InstrumentLeg) SetLegMaturityMonthYear(v string) { m.LegMaturityMonthYear = &v } -func (m *InstrumentLeg) SetLegMaturityDate(v string) { m.LegMaturityDate = &v } -func (m *InstrumentLeg) SetLegCouponPaymentDate(v string) { m.LegCouponPaymentDate = &v } -func (m *InstrumentLeg) SetLegIssueDate(v string) { m.LegIssueDate = &v } -func (m *InstrumentLeg) SetLegRepoCollateralSecurityType(v int) { m.LegRepoCollateralSecurityType = &v } -func (m *InstrumentLeg) SetLegRepurchaseTerm(v int) { m.LegRepurchaseTerm = &v } -func (m *InstrumentLeg) SetLegRepurchaseRate(v float64) { m.LegRepurchaseRate = &v } -func (m *InstrumentLeg) SetLegFactor(v float64) { m.LegFactor = &v } -func (m *InstrumentLeg) SetLegCreditRating(v string) { m.LegCreditRating = &v } -func (m *InstrumentLeg) SetLegInstrRegistry(v string) { m.LegInstrRegistry = &v } -func (m *InstrumentLeg) SetLegCountryOfIssue(v string) { m.LegCountryOfIssue = &v } -func (m *InstrumentLeg) SetLegStateOrProvinceOfIssue(v string) { m.LegStateOrProvinceOfIssue = &v } -func (m *InstrumentLeg) SetLegLocaleOfIssue(v string) { m.LegLocaleOfIssue = &v } -func (m *InstrumentLeg) SetLegRedemptionDate(v string) { m.LegRedemptionDate = &v } -func (m *InstrumentLeg) SetLegStrikePrice(v float64) { m.LegStrikePrice = &v } -func (m *InstrumentLeg) SetLegStrikeCurrency(v string) { m.LegStrikeCurrency = &v } -func (m *InstrumentLeg) SetLegOptAttribute(v string) { m.LegOptAttribute = &v } -func (m *InstrumentLeg) SetLegContractMultiplier(v float64) { m.LegContractMultiplier = &v } -func (m *InstrumentLeg) SetLegCouponRate(v float64) { m.LegCouponRate = &v } -func (m *InstrumentLeg) SetLegSecurityExchange(v string) { m.LegSecurityExchange = &v } -func (m *InstrumentLeg) SetLegIssuer(v string) { m.LegIssuer = &v } -func (m *InstrumentLeg) SetEncodedLegIssuerLen(v int) { m.EncodedLegIssuerLen = &v } -func (m *InstrumentLeg) SetEncodedLegIssuer(v string) { m.EncodedLegIssuer = &v } -func (m *InstrumentLeg) SetLegSecurityDesc(v string) { m.LegSecurityDesc = &v } -func (m *InstrumentLeg) SetEncodedLegSecurityDescLen(v int) { m.EncodedLegSecurityDescLen = &v } -func (m *InstrumentLeg) SetEncodedLegSecurityDesc(v string) { m.EncodedLegSecurityDesc = &v } -func (m *InstrumentLeg) SetLegRatioQty(v float64) { m.LegRatioQty = &v } -func (m *InstrumentLeg) SetLegSide(v string) { m.LegSide = &v } -func (m *InstrumentLeg) SetLegCurrency(v string) { m.LegCurrency = &v } -func (m *InstrumentLeg) SetLegPool(v string) { m.LegPool = &v } -func (m *InstrumentLeg) SetLegDatedDate(v string) { m.LegDatedDate = &v } -func (m *InstrumentLeg) SetLegContractSettlMonth(v string) { m.LegContractSettlMonth = &v } -func (m *InstrumentLeg) SetLegInterestAccrualDate(v string) { m.LegInterestAccrualDate = &v } -func (m *InstrumentLeg) SetLegUnitOfMeasure(v string) { m.LegUnitOfMeasure = &v } -func (m *InstrumentLeg) SetLegTimeUnit(v string) { m.LegTimeUnit = &v } -func (m *InstrumentLeg) SetLegOptionRatio(v float64) { m.LegOptionRatio = &v } -func (m *InstrumentLeg) SetLegPrice(v float64) { m.LegPrice = &v } -func (m *InstrumentLeg) SetLegMaturityTime(v string) { m.LegMaturityTime = &v } -func (m *InstrumentLeg) SetLegPutOrCall(v int) { m.LegPutOrCall = &v } -func (m *InstrumentLeg) SetLegExerciseStyle(v int) { m.LegExerciseStyle = &v } -func (m *InstrumentLeg) SetLegUnitOfMeasureQty(v float64) { m.LegUnitOfMeasureQty = &v } -func (m *InstrumentLeg) SetLegPriceUnitOfMeasure(v string) { m.LegPriceUnitOfMeasure = &v } -func (m *InstrumentLeg) SetLegPriceUnitOfMeasureQty(v float64) { m.LegPriceUnitOfMeasureQty = &v } -func (m *InstrumentLeg) SetLegContractMultiplierUnit(v int) { m.LegContractMultiplierUnit = &v } -func (m *InstrumentLeg) SetLegFlowScheduleType(v int) { m.LegFlowScheduleType = &v } +func (m *InstrumentLeg) SetLegSymbol(v string) { m.LegSymbol = &v } +func (m *InstrumentLeg) SetLegSymbolSfx(v string) { m.LegSymbolSfx = &v } +func (m *InstrumentLeg) SetLegSecurityID(v string) { m.LegSecurityID = &v } +func (m *InstrumentLeg) SetLegSecurityIDSource(v string) { m.LegSecurityIDSource = &v } +func (m *InstrumentLeg) SetLegSecAltIDGrp(v legsecaltidgrp.LegSecAltIDGrp) { m.LegSecAltIDGrp = &v } +func (m *InstrumentLeg) SetLegProduct(v int) { m.LegProduct = &v } +func (m *InstrumentLeg) SetLegCFICode(v string) { m.LegCFICode = &v } +func (m *InstrumentLeg) SetLegSecurityType(v string) { m.LegSecurityType = &v } +func (m *InstrumentLeg) SetLegSecuritySubType(v string) { m.LegSecuritySubType = &v } +func (m *InstrumentLeg) SetLegMaturityMonthYear(v string) { m.LegMaturityMonthYear = &v } +func (m *InstrumentLeg) SetLegMaturityDate(v string) { m.LegMaturityDate = &v } +func (m *InstrumentLeg) SetLegCouponPaymentDate(v string) { m.LegCouponPaymentDate = &v } +func (m *InstrumentLeg) SetLegIssueDate(v string) { m.LegIssueDate = &v } +func (m *InstrumentLeg) SetLegRepoCollateralSecurityType(v int) { m.LegRepoCollateralSecurityType = &v } +func (m *InstrumentLeg) SetLegRepurchaseTerm(v int) { m.LegRepurchaseTerm = &v } +func (m *InstrumentLeg) SetLegRepurchaseRate(v float64) { m.LegRepurchaseRate = &v } +func (m *InstrumentLeg) SetLegFactor(v float64) { m.LegFactor = &v } +func (m *InstrumentLeg) SetLegCreditRating(v string) { m.LegCreditRating = &v } +func (m *InstrumentLeg) SetLegInstrRegistry(v string) { m.LegInstrRegistry = &v } +func (m *InstrumentLeg) SetLegCountryOfIssue(v string) { m.LegCountryOfIssue = &v } +func (m *InstrumentLeg) SetLegStateOrProvinceOfIssue(v string) { m.LegStateOrProvinceOfIssue = &v } +func (m *InstrumentLeg) SetLegLocaleOfIssue(v string) { m.LegLocaleOfIssue = &v } +func (m *InstrumentLeg) SetLegRedemptionDate(v string) { m.LegRedemptionDate = &v } +func (m *InstrumentLeg) SetLegStrikePrice(v float64) { m.LegStrikePrice = &v } +func (m *InstrumentLeg) SetLegStrikeCurrency(v string) { m.LegStrikeCurrency = &v } +func (m *InstrumentLeg) SetLegOptAttribute(v string) { m.LegOptAttribute = &v } +func (m *InstrumentLeg) SetLegContractMultiplier(v float64) { m.LegContractMultiplier = &v } +func (m *InstrumentLeg) SetLegCouponRate(v float64) { m.LegCouponRate = &v } +func (m *InstrumentLeg) SetLegSecurityExchange(v string) { m.LegSecurityExchange = &v } +func (m *InstrumentLeg) SetLegIssuer(v string) { m.LegIssuer = &v } +func (m *InstrumentLeg) SetEncodedLegIssuerLen(v int) { m.EncodedLegIssuerLen = &v } +func (m *InstrumentLeg) SetEncodedLegIssuer(v string) { m.EncodedLegIssuer = &v } +func (m *InstrumentLeg) SetLegSecurityDesc(v string) { m.LegSecurityDesc = &v } +func (m *InstrumentLeg) SetEncodedLegSecurityDescLen(v int) { m.EncodedLegSecurityDescLen = &v } +func (m *InstrumentLeg) SetEncodedLegSecurityDesc(v string) { m.EncodedLegSecurityDesc = &v } +func (m *InstrumentLeg) SetLegRatioQty(v float64) { m.LegRatioQty = &v } +func (m *InstrumentLeg) SetLegSide(v string) { m.LegSide = &v } +func (m *InstrumentLeg) SetLegCurrency(v string) { m.LegCurrency = &v } +func (m *InstrumentLeg) SetLegPool(v string) { m.LegPool = &v } +func (m *InstrumentLeg) SetLegDatedDate(v string) { m.LegDatedDate = &v } +func (m *InstrumentLeg) SetLegContractSettlMonth(v string) { m.LegContractSettlMonth = &v } +func (m *InstrumentLeg) SetLegInterestAccrualDate(v string) { m.LegInterestAccrualDate = &v } +func (m *InstrumentLeg) SetLegUnitOfMeasure(v string) { m.LegUnitOfMeasure = &v } +func (m *InstrumentLeg) SetLegTimeUnit(v string) { m.LegTimeUnit = &v } +func (m *InstrumentLeg) SetLegOptionRatio(v float64) { m.LegOptionRatio = &v } +func (m *InstrumentLeg) SetLegPrice(v float64) { m.LegPrice = &v } +func (m *InstrumentLeg) SetLegMaturityTime(v string) { m.LegMaturityTime = &v } +func (m *InstrumentLeg) SetLegPutOrCall(v int) { m.LegPutOrCall = &v } +func (m *InstrumentLeg) SetLegExerciseStyle(v int) { m.LegExerciseStyle = &v } +func (m *InstrumentLeg) SetLegUnitOfMeasureQty(v float64) { m.LegUnitOfMeasureQty = &v } +func (m *InstrumentLeg) SetLegPriceUnitOfMeasure(v string) { m.LegPriceUnitOfMeasure = &v } +func (m *InstrumentLeg) SetLegPriceUnitOfMeasureQty(v float64) { m.LegPriceUnitOfMeasureQty = &v } +func (m *InstrumentLeg) SetLegContractMultiplierUnit(v int) { m.LegContractMultiplierUnit = &v } +func (m *InstrumentLeg) SetLegFlowScheduleType(v int) { m.LegFlowScheduleType = &v } diff --git a/fix50sp2/instrumentparties/InstrumentParties.go b/fix50sp2/instrumentparties/InstrumentParties.go index 0934636fe..9e7430055 100644 --- a/fix50sp2/instrumentparties/InstrumentParties.go +++ b/fix50sp2/instrumentparties/InstrumentParties.go @@ -12,8 +12,8 @@ type NoInstrumentParties struct { InstrumentPartyIDSource *string `fix:"1050"` //InstrumentPartyRole is a non-required field for NoInstrumentParties. InstrumentPartyRole *int `fix:"1051"` - //InstrumentPtysSubGrp Component - instrumentptyssubgrp.InstrumentPtysSubGrp + //InstrumentPtysSubGrp is a non-required component for NoInstrumentParties. + InstrumentPtysSubGrp *instrumentptyssubgrp.InstrumentPtysSubGrp } //InstrumentParties is a fix50sp2 Component diff --git a/fix50sp2/ioi/IOI.go b/fix50sp2/ioi/IOI.go index 58bef2882..68d76a937 100644 --- a/fix50sp2/ioi/IOI.go +++ b/fix50sp2/ioi/IOI.go @@ -30,26 +30,26 @@ type Message struct { IOITransType string `fix:"28"` //IOIRefID is a non-required field for IOI. IOIRefID *string `fix:"26"` - //Instrument Component + //Instrument is a required component for IOI. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for IOI. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for IOI. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for IOI. Side string `fix:"54"` //QtyType is a non-required field for IOI. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for IOI. + OrderQtyData *orderqtydata.OrderQtyData //IOIQty is a required field for IOI. IOIQty string `fix:"27"` //Currency is a non-required field for IOI. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations - //InstrmtLegIOIGrp Component - instrmtlegioigrp.InstrmtLegIOIGrp + //Stipulations is a non-required component for IOI. + Stipulations *stipulations.Stipulations + //InstrmtLegIOIGrp is a non-required component for IOI. + InstrmtLegIOIGrp *instrmtlegioigrp.InstrmtLegIOIGrp //PriceType is a non-required field for IOI. PriceType *int `fix:"423"` //Price is a non-required field for IOI. @@ -60,8 +60,8 @@ type Message struct { IOIQltyInd *string `fix:"25"` //IOINaturalFlag is a non-required field for IOI. IOINaturalFlag *bool `fix:"130"` - //IOIQualGrp Component - ioiqualgrp.IOIQualGrp + //IOIQualGrp is a non-required component for IOI. + IOIQualGrp *ioiqualgrp.IOIQualGrp //Text is a non-required field for IOI. Text *string `fix:"58"` //EncodedTextLen is a non-required field for IOI. @@ -72,39 +72,55 @@ type Message struct { TransactTime *time.Time `fix:"60"` //URLLink is a non-required field for IOI. URLLink *string `fix:"149"` - //RoutingGrp Component - routinggrp.RoutingGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RoutingGrp is a non-required component for IOI. + RoutingGrp *routinggrp.RoutingGrp + //SpreadOrBenchmarkCurveData is a non-required component for IOI. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for IOI. + YieldData *yielddata.YieldData + //Parties is a non-required component for IOI. + Parties *parties.Parties + //ApplicationSequenceControl is a non-required component for IOI. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetIOIID(v string) { m.IOIID = v } -func (m *Message) SetIOITransType(v string) { m.IOITransType = v } -func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetIOIQty(v string) { m.IOIQty = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } -func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = v } +func (m *Message) SetIOITransType(v string) { m.IOITransType = v } +func (m *Message) SetIOIRefID(v string) { m.IOIRefID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetIOIQty(v string) { m.IOIQty = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetInstrmtLegIOIGrp(v instrmtlegioigrp.InstrmtLegIOIGrp) { m.InstrmtLegIOIGrp = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetIOIQltyInd(v string) { m.IOIQltyInd = &v } +func (m *Message) SetIOINaturalFlag(v bool) { m.IOINaturalFlag = &v } +func (m *Message) SetIOIQualGrp(v ioiqualgrp.IOIQualGrp) { m.IOIQualGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/legordgrp/LegOrdGrp.go b/fix50sp2/legordgrp/LegOrdGrp.go index 1a293d904..d4147d85f 100644 --- a/fix50sp2/legordgrp/LegOrdGrp.go +++ b/fix50sp2/legordgrp/LegOrdGrp.go @@ -9,22 +9,22 @@ import ( //NoLegs is a repeating group in LegOrdGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations - //LegPreAllocGrp Component - legpreallocgrp.LegPreAllocGrp + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegPreAllocGrp is a non-required component for NoLegs. + LegPreAllocGrp *legpreallocgrp.LegPreAllocGrp //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegSettlType is a non-required field for NoLegs. diff --git a/fix50sp2/legpreallocgrp/LegPreAllocGrp.go b/fix50sp2/legpreallocgrp/LegPreAllocGrp.go index da0500030..9b209e3a1 100644 --- a/fix50sp2/legpreallocgrp/LegPreAllocGrp.go +++ b/fix50sp2/legpreallocgrp/LegPreAllocGrp.go @@ -16,8 +16,8 @@ type NoLegAllocs struct { LegAllocAcctIDSource *string `fix:"674"` //LegAllocSettlCurrency is a non-required field for NoLegAllocs. LegAllocSettlCurrency *string `fix:"1367"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoLegAllocs. + NestedParties2 *nestedparties2.NestedParties2 } //LegPreAllocGrp is a fix50sp2 Component diff --git a/fix50sp2/legquotgrp/LegQuotGrp.go b/fix50sp2/legquotgrp/LegQuotGrp.go index 56cf589f5..4969d08d8 100644 --- a/fix50sp2/legquotgrp/LegQuotGrp.go +++ b/fix50sp2/legquotgrp/LegQuotGrp.go @@ -9,8 +9,8 @@ import ( //NoLegs is a repeating group in LegQuotGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -19,18 +19,18 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegPriceType is a non-required field for NoLegs. LegPriceType *int `fix:"686"` //LegBidPx is a non-required field for NoLegs. LegBidPx *float64 `fix:"681"` //LegOfferPx is a non-required field for NoLegs. LegOfferPx *float64 `fix:"684"` - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` //LegRefID is a non-required field for NoLegs. diff --git a/fix50sp2/legquotstatgrp/LegQuotStatGrp.go b/fix50sp2/legquotstatgrp/LegQuotStatGrp.go index 8417372f2..8b5999737 100644 --- a/fix50sp2/legquotstatgrp/LegQuotStatGrp.go +++ b/fix50sp2/legquotstatgrp/LegQuotStatGrp.go @@ -8,8 +8,8 @@ import ( //NoLegs is a repeating group in LegQuotStatGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -18,10 +18,10 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` } diff --git a/fix50sp2/listcancelrequest/ListCancelRequest.go b/fix50sp2/listcancelrequest/ListCancelRequest.go index 134c50771..8fe79a211 100644 --- a/fix50sp2/listcancelrequest/ListCancelRequest.go +++ b/fix50sp2/listcancelrequest/ListCancelRequest.go @@ -27,8 +27,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for ListCancelRequest. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for ListCancelRequest. + Parties *parties.Parties fixt11.Trailer } @@ -42,6 +42,7 @@ func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/listordgrp/ListOrdGrp.go b/fix50sp2/listordgrp/ListOrdGrp.go index ec46f17ff..c0784c959 100644 --- a/fix50sp2/listordgrp/ListOrdGrp.go +++ b/fix50sp2/listordgrp/ListOrdGrp.go @@ -31,8 +31,8 @@ type NoOrders struct { ClOrdLinkID *string `fix:"583"` //SettlInstMode is a non-required field for NoOrders. SettlInstMode *string `fix:"160"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoOrders. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoOrders. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoOrders. @@ -51,8 +51,8 @@ type NoOrders struct { AllocID *string `fix:"70"` //PreallocMethod is a non-required field for NoOrders. PreallocMethod *string `fix:"591"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NoOrders. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for NoOrders. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoOrders. @@ -71,14 +71,14 @@ type NoOrders struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NoOrders. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NoOrders. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NoOrders. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NoOrders. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NoOrders. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoOrders. PrevClosePx *float64 `fix:"140"` //Side is a required field for NoOrders. @@ -89,11 +89,11 @@ type NoOrders struct { LocateReqd *bool `fix:"114"` //TransactTime is a non-required field for NoOrders. TransactTime *time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoOrders. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NoOrders. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoOrders. orderqtydata.OrderQtyData //OrdType is a non-required field for NoOrders. OrdType *string `fix:"40"` @@ -103,10 +103,10 @@ type NoOrders struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NoOrders. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoOrders. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoOrders. + YieldData *yielddata.YieldData //Currency is a non-required field for NoOrders. Currency *string `fix:"15"` //ComplianceID is a non-required field for NoOrders. @@ -127,8 +127,8 @@ type NoOrders struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NoOrders. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoOrders. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoOrders. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoOrders. @@ -159,10 +159,10 @@ type NoOrders struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NoOrders. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NoOrders. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NoOrders. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NoOrders. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NoOrders. @@ -171,18 +171,18 @@ type NoOrders struct { ParticipationRate *float64 `fix:"849"` //Designation is a non-required field for NoOrders. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NoOrders. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //MatchIncrement is a non-required field for NoOrders. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NoOrders. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NoOrders. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NoOrders. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NoOrders. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //RefOrderID is a non-required field for NoOrders. RefOrderID *string `fix:"1080"` //RefOrderIDSource is a non-required field for NoOrders. diff --git a/fix50sp2/liststatus/ListStatus.go b/fix50sp2/liststatus/ListStatus.go index b63a3c13f..0f9d2f4a8 100644 --- a/fix50sp2/liststatus/ListStatus.go +++ b/fix50sp2/liststatus/ListStatus.go @@ -35,7 +35,7 @@ type Message struct { TotNoOrders int `fix:"68"` //LastFragment is a non-required field for ListStatus. LastFragment *bool `fix:"893"` - //OrdListStatGrp Component + //OrdListStatGrp is a required component for ListStatus. ordliststatgrp.OrdListStatGrp //ContingencyType is a non-required field for ListStatus. ContingencyType *int `fix:"1385"` @@ -47,19 +47,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetListStatusType(v int) { m.ListStatusType = v } -func (m *Message) SetNoRpts(v int) { m.NoRpts = v } -func (m *Message) SetListOrderStatus(v int) { m.ListOrderStatus = v } -func (m *Message) SetRptSeq(v int) { m.RptSeq = v } -func (m *Message) SetListStatusText(v string) { m.ListStatusText = &v } -func (m *Message) SetEncodedListStatusTextLen(v int) { m.EncodedListStatusTextLen = &v } -func (m *Message) SetEncodedListStatusText(v string) { m.EncodedListStatusText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } -func (m *Message) SetListRejectReason(v int) { m.ListRejectReason = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetListStatusType(v int) { m.ListStatusType = v } +func (m *Message) SetNoRpts(v int) { m.NoRpts = v } +func (m *Message) SetListOrderStatus(v int) { m.ListOrderStatus = v } +func (m *Message) SetRptSeq(v int) { m.RptSeq = v } +func (m *Message) SetListStatusText(v string) { m.ListStatusText = &v } +func (m *Message) SetEncodedListStatusTextLen(v int) { m.EncodedListStatusTextLen = &v } +func (m *Message) SetEncodedListStatusText(v string) { m.EncodedListStatusText = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetOrdListStatGrp(v ordliststatgrp.OrdListStatGrp) { m.OrdListStatGrp = v } +func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } +func (m *Message) SetListRejectReason(v int) { m.ListRejectReason = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/liststrikeprice/ListStrikePrice.go b/fix50sp2/liststrikeprice/ListStrikePrice.go index 2d7d2a71d..c75caca93 100644 --- a/fix50sp2/liststrikeprice/ListStrikePrice.go +++ b/fix50sp2/liststrikeprice/ListStrikePrice.go @@ -18,7 +18,7 @@ type Message struct { TotNoStrikes int `fix:"422"` //LastFragment is a non-required field for ListStrikePrice. LastFragment *bool `fix:"893"` - //InstrmtStrkPxGrp Component + //InstrmtStrkPxGrp is a required component for ListStrikePrice. instrmtstrkpxgrp.InstrmtStrkPxGrp fixt11.Trailer } @@ -26,9 +26,10 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetTotNoStrikes(v int) { m.TotNoStrikes = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetTotNoStrikes(v int) { m.TotNoStrikes = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetInstrmtStrkPxGrp(v instrmtstrkpxgrp.InstrmtStrkPxGrp) { m.InstrmtStrkPxGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go b/fix50sp2/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go index deccf6f7e..105210679 100644 --- a/fix50sp2/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go +++ b/fix50sp2/marketdataincrementalrefresh/MarketDataIncrementalRefresh.go @@ -16,7 +16,7 @@ type Message struct { fixt11.Header //MDReqID is a non-required field for MarketDataIncrementalRefresh. MDReqID *string `fix:"262"` - //MDIncGrp Component + //MDIncGrp is a required component for MarketDataIncrementalRefresh. mdincgrp.MDIncGrp //ApplQueueDepth is a non-required field for MarketDataIncrementalRefresh. ApplQueueDepth *int `fix:"813"` @@ -28,22 +28,27 @@ type Message struct { MDFeedType *string `fix:"1022"` //TradeDate is a non-required field for MarketDataIncrementalRefresh. TradeDate *string `fix:"75"` - //RoutingGrp Component - routinggrp.RoutingGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //RoutingGrp is a non-required component for MarketDataIncrementalRefresh. + RoutingGrp *routinggrp.RoutingGrp + //ApplicationSequenceControl is a non-required component for MarketDataIncrementalRefresh. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } -func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetMDIncGrp(v mdincgrp.MDIncGrp) { m.MDIncGrp = v } +func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } +func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/marketdatarequest/MarketDataRequest.go b/fix50sp2/marketdatarequest/MarketDataRequest.go index 5f6f44ab5..7a87bec65 100644 --- a/fix50sp2/marketdatarequest/MarketDataRequest.go +++ b/fix50sp2/marketdatarequest/MarketDataRequest.go @@ -31,37 +31,41 @@ type Message struct { Scope *string `fix:"546"` //MDImplicitDelete is a non-required field for MarketDataRequest. MDImplicitDelete *bool `fix:"547"` - //MDReqGrp Component + //MDReqGrp is a required component for MarketDataRequest. mdreqgrp.MDReqGrp - //InstrmtMDReqGrp Component + //InstrmtMDReqGrp is a required component for MarketDataRequest. instrmtmdreqgrp.InstrmtMDReqGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for MarketDataRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ApplQueueAction is a non-required field for MarketDataRequest. ApplQueueAction *int `fix:"815"` //ApplQueueMax is a non-required field for MarketDataRequest. ApplQueueMax *int `fix:"812"` //MDQuoteType is a non-required field for MarketDataRequest. MDQuoteType *int `fix:"1070"` - //Parties Component - parties.Parties + //Parties is a non-required component for MarketDataRequest. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } -func (m *Message) SetMarketDepth(v int) { m.MarketDepth = v } -func (m *Message) SetMDUpdateType(v int) { m.MDUpdateType = &v } -func (m *Message) SetAggregatedBook(v bool) { m.AggregatedBook = &v } -func (m *Message) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } -func (m *Message) SetScope(v string) { m.Scope = &v } -func (m *Message) SetMDImplicitDelete(v bool) { m.MDImplicitDelete = &v } -func (m *Message) SetApplQueueAction(v int) { m.ApplQueueAction = &v } -func (m *Message) SetApplQueueMax(v int) { m.ApplQueueMax = &v } -func (m *Message) SetMDQuoteType(v int) { m.MDQuoteType = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } +func (m *Message) SetMarketDepth(v int) { m.MarketDepth = v } +func (m *Message) SetMDUpdateType(v int) { m.MDUpdateType = &v } +func (m *Message) SetAggregatedBook(v bool) { m.AggregatedBook = &v } +func (m *Message) SetOpenCloseSettlFlag(v string) { m.OpenCloseSettlFlag = &v } +func (m *Message) SetScope(v string) { m.Scope = &v } +func (m *Message) SetMDImplicitDelete(v bool) { m.MDImplicitDelete = &v } +func (m *Message) SetMDReqGrp(v mdreqgrp.MDReqGrp) { m.MDReqGrp = v } +func (m *Message) SetInstrmtMDReqGrp(v instrmtmdreqgrp.InstrmtMDReqGrp) { m.InstrmtMDReqGrp = v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetApplQueueAction(v int) { m.ApplQueueAction = &v } +func (m *Message) SetApplQueueMax(v int) { m.ApplQueueMax = &v } +func (m *Message) SetMDQuoteType(v int) { m.MDQuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/marketdatarequestreject/MarketDataRequestReject.go b/fix50sp2/marketdatarequestreject/MarketDataRequestReject.go index d1d00f435..01fac3054 100644 --- a/fix50sp2/marketdatarequestreject/MarketDataRequestReject.go +++ b/fix50sp2/marketdatarequestreject/MarketDataRequestReject.go @@ -17,27 +17,29 @@ type Message struct { MDReqID string `fix:"262"` //MDReqRejReason is a non-required field for MarketDataRequestReject. MDReqRejReason *string `fix:"281"` - //MDRjctGrp Component - mdrjctgrp.MDRjctGrp + //MDRjctGrp is a non-required component for MarketDataRequestReject. + MDRjctGrp *mdrjctgrp.MDRjctGrp //Text is a non-required field for MarketDataRequestReject. Text *string `fix:"58"` //EncodedTextLen is a non-required field for MarketDataRequestReject. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MarketDataRequestReject. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for MarketDataRequestReject. + Parties *parties.Parties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = v } -func (m *Message) SetMDReqRejReason(v string) { m.MDReqRejReason = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = v } +func (m *Message) SetMDReqRejReason(v string) { m.MDReqRejReason = &v } +func (m *Message) SetMDRjctGrp(v mdrjctgrp.MDRjctGrp) { m.MDRjctGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go b/fix50sp2/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go index ca2c7abc4..ea8643b05 100644 --- a/fix50sp2/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go +++ b/fix50sp2/marketdatasnapshotfullrefresh/MarketDataSnapshotFullRefresh.go @@ -19,19 +19,19 @@ type Message struct { fixt11.Header //MDReqID is a non-required field for MarketDataSnapshotFullRefresh. MDReqID *string `fix:"262"` - //Instrument Component + //Instrument is a required component for MarketDataSnapshotFullRefresh. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for MarketDataSnapshotFullRefresh. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for MarketDataSnapshotFullRefresh. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //FinancialStatus is a non-required field for MarketDataSnapshotFullRefresh. FinancialStatus *string `fix:"291"` //CorporateAction is a non-required field for MarketDataSnapshotFullRefresh. CorporateAction *string `fix:"292"` //NetChgPrevDay is a non-required field for MarketDataSnapshotFullRefresh. NetChgPrevDay *float64 `fix:"451"` - //MDFullGrp Component + //MDFullGrp is a required component for MarketDataSnapshotFullRefresh. mdfullgrp.MDFullGrp //ApplQueueDepth is a non-required field for MarketDataSnapshotFullRefresh. ApplQueueDepth *int `fix:"813"` @@ -47,8 +47,8 @@ type Message struct { MDFeedType *string `fix:"1022"` //TradeDate is a non-required field for MarketDataSnapshotFullRefresh. TradeDate *string `fix:"75"` - //RoutingGrp Component - routinggrp.RoutingGrp + //RoutingGrp is a non-required component for MarketDataSnapshotFullRefresh. + RoutingGrp *routinggrp.RoutingGrp //MDSubBookType is a non-required field for MarketDataSnapshotFullRefresh. MDSubBookType *int `fix:"1173"` //MarketDepth is a non-required field for MarketDataSnapshotFullRefresh. @@ -57,8 +57,8 @@ type Message struct { TotNumReports *int `fix:"911"` //RefreshIndicator is a non-required field for MarketDataSnapshotFullRefresh. RefreshIndicator *bool `fix:"1187"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for MarketDataSnapshotFullRefresh. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //MDStreamID is a non-required field for MarketDataSnapshotFullRefresh. MDStreamID *string `fix:"1500"` fixt11.Trailer @@ -67,22 +67,30 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } -func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } -func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } -func (m *Message) SetMDReportID(v int) { m.MDReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetMDSubBookType(v int) { m.MDSubBookType = &v } -func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } -func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } -func (m *Message) SetRefreshIndicator(v bool) { m.RefreshIndicator = &v } -func (m *Message) SetMDStreamID(v string) { m.MDStreamID = &v } +func (m *Message) SetMDReqID(v string) { m.MDReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetNetChgPrevDay(v float64) { m.NetChgPrevDay = &v } +func (m *Message) SetMDFullGrp(v mdfullgrp.MDFullGrp) { m.MDFullGrp = v } +func (m *Message) SetApplQueueDepth(v int) { m.ApplQueueDepth = &v } +func (m *Message) SetApplQueueResolution(v int) { m.ApplQueueResolution = &v } +func (m *Message) SetMDReportID(v int) { m.MDReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMDFeedType(v string) { m.MDFeedType = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetMDSubBookType(v int) { m.MDSubBookType = &v } +func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } +func (m *Message) SetTotNumReports(v int) { m.TotNumReports = &v } +func (m *Message) SetRefreshIndicator(v bool) { m.RefreshIndicator = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetMDStreamID(v string) { m.MDStreamID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/marketdefinition/MarketDefinition.go b/fix50sp2/marketdefinition/MarketDefinition.go index 9237c6ea5..6673962d2 100644 --- a/fix50sp2/marketdefinition/MarketDefinition.go +++ b/fix50sp2/marketdefinition/MarketDefinition.go @@ -35,14 +35,14 @@ type Message struct { ParentMktSegmID *string `fix:"1325"` //Currency is a non-required field for MarketDefinition. Currency *string `fix:"15"` - //BaseTradingRules Component - basetradingrules.BaseTradingRules - //OrdTypeRules Component - ordtyperules.OrdTypeRules - //TimeInForceRules Component - timeinforcerules.TimeInForceRules - //ExecInstRules Component - execinstrules.ExecInstRules + //BaseTradingRules is a non-required component for MarketDefinition. + BaseTradingRules *basetradingrules.BaseTradingRules + //OrdTypeRules is a non-required component for MarketDefinition. + OrdTypeRules *ordtyperules.OrdTypeRules + //TimeInForceRules is a non-required component for MarketDefinition. + TimeInForceRules *timeinforcerules.TimeInForceRules + //ExecInstRules is a non-required component for MarketDefinition. + ExecInstRules *execinstrules.ExecInstRules //TransactTime is a non-required field for MarketDefinition. TransactTime *time.Time `fix:"60"` //Text is a non-required field for MarketDefinition. @@ -51,27 +51,34 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MarketDefinition. EncodedText *string `fix:"355"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for MarketDefinition. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } -func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } -func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } -func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } -func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } +func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } +func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } +func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } +func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetBaseTradingRules(v basetradingrules.BaseTradingRules) { m.BaseTradingRules = &v } +func (m *Message) SetOrdTypeRules(v ordtyperules.OrdTypeRules) { m.OrdTypeRules = &v } +func (m *Message) SetTimeInForceRules(v timeinforcerules.TimeInForceRules) { m.TimeInForceRules = &v } +func (m *Message) SetExecInstRules(v execinstrules.ExecInstRules) { m.ExecInstRules = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go b/fix50sp2/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go index ed946802d..04c28f425 100644 --- a/fix50sp2/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go +++ b/fix50sp2/marketdefinitionupdatereport/MarketDefinitionUpdateReport.go @@ -37,14 +37,14 @@ type Message struct { ParentMktSegmID *string `fix:"1325"` //Currency is a non-required field for MarketDefinitionUpdateReport. Currency *string `fix:"15"` - //BaseTradingRules Component - basetradingrules.BaseTradingRules - //OrdTypeRules Component - ordtyperules.OrdTypeRules - //TimeInForceRules Component - timeinforcerules.TimeInForceRules - //ExecInstRules Component - execinstrules.ExecInstRules + //BaseTradingRules is a non-required component for MarketDefinitionUpdateReport. + BaseTradingRules *basetradingrules.BaseTradingRules + //OrdTypeRules is a non-required component for MarketDefinitionUpdateReport. + OrdTypeRules *ordtyperules.OrdTypeRules + //TimeInForceRules is a non-required component for MarketDefinitionUpdateReport. + TimeInForceRules *timeinforcerules.TimeInForceRules + //ExecInstRules is a non-required component for MarketDefinitionUpdateReport. + ExecInstRules *execinstrules.ExecInstRules //TransactTime is a non-required field for MarketDefinitionUpdateReport. TransactTime *time.Time `fix:"60"` //Text is a non-required field for MarketDefinitionUpdateReport. @@ -53,28 +53,35 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MarketDefinitionUpdateReport. EncodedText *string `fix:"355"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for MarketDefinitionUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } -func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } -func (m *Message) SetMarketUpdateAction(v string) { m.MarketUpdateAction = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } -func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } -func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } -func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMarketReportID(v string) { m.MarketReportID = v } +func (m *Message) SetMarketReqID(v string) { m.MarketReqID = &v } +func (m *Message) SetMarketUpdateAction(v string) { m.MarketUpdateAction = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetMarketSegmentDesc(v string) { m.MarketSegmentDesc = &v } +func (m *Message) SetEncodedMktSegmDescLen(v int) { m.EncodedMktSegmDescLen = &v } +func (m *Message) SetEncodedMktSegmDesc(v string) { m.EncodedMktSegmDesc = &v } +func (m *Message) SetParentMktSegmID(v string) { m.ParentMktSegmID = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetBaseTradingRules(v basetradingrules.BaseTradingRules) { m.BaseTradingRules = &v } +func (m *Message) SetOrdTypeRules(v ordtyperules.OrdTypeRules) { m.OrdTypeRules = &v } +func (m *Message) SetTimeInForceRules(v timeinforcerules.TimeInForceRules) { m.TimeInForceRules = &v } +func (m *Message) SetExecInstRules(v execinstrules.ExecInstRules) { m.ExecInstRules = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go b/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go index c98a22275..6da89f003 100644 --- a/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go +++ b/fix50sp2/marketsegmentgrp/MarketSegmentGrp.go @@ -11,10 +11,10 @@ type NoMarketSegments struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for NoMarketSegments. MarketSegmentID *string `fix:"1300"` - //SecurityTradingRules Component - securitytradingrules.SecurityTradingRules - //StrikeRules Component - strikerules.StrikeRules + //SecurityTradingRules is a non-required component for NoMarketSegments. + SecurityTradingRules *securitytradingrules.SecurityTradingRules + //StrikeRules is a non-required component for NoMarketSegments. + StrikeRules *strikerules.StrikeRules } //MarketSegmentGrp is a fix50sp2 Component diff --git a/fix50sp2/massquote/MassQuote.go b/fix50sp2/massquote/MassQuote.go index a2049b237..8cf4d7e19 100644 --- a/fix50sp2/massquote/MassQuote.go +++ b/fix50sp2/massquote/MassQuote.go @@ -21,8 +21,8 @@ type Message struct { QuoteType *int `fix:"537"` //QuoteResponseLevel is a non-required field for MassQuote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuote. + Parties *parties.Parties //Account is a non-required field for MassQuote. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuote. @@ -33,7 +33,7 @@ type Message struct { DefBidSize *float64 `fix:"293"` //DefOfferSize is a non-required field for MassQuote. DefOfferSize *float64 `fix:"294"` - //QuotSetGrp Component + //QuotSetGrp is a required component for MassQuote. quotsetgrp.QuotSetGrp fixt11.Trailer } @@ -41,15 +41,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDefBidSize(v float64) { m.DefBidSize = &v } -func (m *Message) SetDefOfferSize(v float64) { m.DefOfferSize = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDefBidSize(v float64) { m.DefBidSize = &v } +func (m *Message) SetDefOfferSize(v float64) { m.DefOfferSize = &v } +func (m *Message) SetQuotSetGrp(v quotsetgrp.QuotSetGrp) { m.QuotSetGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/massquoteacknowledgement/MassQuoteAcknowledgement.go b/fix50sp2/massquoteacknowledgement/MassQuoteAcknowledgement.go index 47d6da153..81c6e5a22 100644 --- a/fix50sp2/massquoteacknowledgement/MassQuoteAcknowledgement.go +++ b/fix50sp2/massquoteacknowledgement/MassQuoteAcknowledgement.go @@ -26,8 +26,8 @@ type Message struct { QuoteResponseLevel *int `fix:"301"` //QuoteType is a non-required field for MassQuoteAcknowledgement. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for MassQuoteAcknowledgement. + Parties *parties.Parties //Account is a non-required field for MassQuoteAcknowledgement. Account *string `fix:"1"` //AcctIDSource is a non-required field for MassQuoteAcknowledgement. @@ -40,31 +40,34 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for MassQuoteAcknowledgement. EncodedText *string `fix:"355"` - //QuotSetAckGrp Component - quotsetackgrp.QuotSetAckGrp + //QuotSetAckGrp is a non-required component for MassQuoteAcknowledgement. + QuotSetAckGrp *quotsetackgrp.QuotSetAckGrp //QuoteCancelType is a non-required field for MassQuoteAcknowledgement. QuoteCancelType *int `fix:"298"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for MassQuoteAcknowledgement. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } -func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = v } +func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetQuotSetAckGrp(v quotsetackgrp.QuotSetAckGrp) { m.QuotSetAckGrp = &v } +func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/mdfullgrp/MDFullGrp.go b/fix50sp2/mdfullgrp/MDFullGrp.go index 753fc51ac..7ffcccbad 100644 --- a/fix50sp2/mdfullgrp/MDFullGrp.go +++ b/fix50sp2/mdfullgrp/MDFullGrp.go @@ -105,20 +105,20 @@ type NoMDEntries struct { MDEntryForwardPoints *float64 `fix:"1027"` //MDEntryID is a non-required field for NoMDEntries. MDEntryID *string `fix:"278"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoMDEntries. + Parties *parties.Parties //SecondaryOrderID is a non-required field for NoMDEntries. SecondaryOrderID *string `fix:"198"` //OrdType is a non-required field for NoMDEntries. OrdType *string `fix:"40"` //PriceType is a non-required field for NoMDEntries. PriceType *int `fix:"423"` - //YieldData Component - yielddata.YieldData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //SecSizesGrp Component - secsizesgrp.SecSizesGrp + //YieldData is a non-required component for NoMDEntries. + YieldData *yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoMDEntries. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SecSizesGrp is a non-required component for NoMDEntries. + SecSizesGrp *secsizesgrp.SecSizesGrp //LotType is a non-required field for NoMDEntries. LotType *string `fix:"1093"` //SecurityTradingStatus is a non-required field for NoMDEntries. @@ -127,8 +127,8 @@ type NoMDEntries struct { HaltReasonInt *int `fix:"327"` //SettlCurrency is a non-required field for NoMDEntries. SettlCurrency *string `fix:"120"` - //RateSource Component - ratesource.RateSource + //RateSource is a non-required component for NoMDEntries. + RateSource *ratesource.RateSource //TrdType is a non-required field for NoMDEntries. TrdType *int `fix:"828"` //FirstPx is a non-required field for NoMDEntries. diff --git a/fix50sp2/mdincgrp/MDIncGrp.go b/fix50sp2/mdincgrp/MDIncGrp.go index 61a841237..b19d3db35 100644 --- a/fix50sp2/mdincgrp/MDIncGrp.go +++ b/fix50sp2/mdincgrp/MDIncGrp.go @@ -25,12 +25,12 @@ type NoMDEntries struct { MDEntryID *string `fix:"278"` //MDEntryRefID is a non-required field for NoMDEntries. MDEntryRefID *string `fix:"280"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoMDEntries. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for NoMDEntries. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoMDEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //FinancialStatus is a non-required field for NoMDEntries. FinancialStatus *string `fix:"291"` //CorporateAction is a non-required field for NoMDEntries. @@ -127,8 +127,8 @@ type NoMDEntries struct { MDEntryForwardPoints *float64 `fix:"1027"` //MDPriceLevel is a non-required field for NoMDEntries. MDPriceLevel *int `fix:"1023"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoMDEntries. + Parties *parties.Parties //SecondaryOrderID is a non-required field for NoMDEntries. SecondaryOrderID *string `fix:"198"` //OrdType is a non-required field for NoMDEntries. @@ -139,12 +139,12 @@ type NoMDEntries struct { MarketDepth *int `fix:"264"` //PriceType is a non-required field for NoMDEntries. PriceType *int `fix:"423"` - //YieldData Component - yielddata.YieldData - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //SecSizesGrp Component - secsizesgrp.SecSizesGrp + //YieldData is a non-required component for NoMDEntries. + YieldData *yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NoMDEntries. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SecSizesGrp is a non-required component for NoMDEntries. + SecSizesGrp *secsizesgrp.SecSizesGrp //LotType is a non-required field for NoMDEntries. LotType *string `fix:"1093"` //SecurityTradingStatus is a non-required field for NoMDEntries. @@ -161,12 +161,12 @@ type NoMDEntries struct { TransBkdTime *time.Time `fix:"483"` //TransactTime is a non-required field for NoMDEntries. TransactTime *time.Time `fix:"60"` - //StatsIndGrp Component - statsindgrp.StatsIndGrp + //StatsIndGrp is a non-required component for NoMDEntries. + StatsIndGrp *statsindgrp.StatsIndGrp //SettlCurrency is a non-required field for NoMDEntries. SettlCurrency *string `fix:"120"` - //RateSource Component - ratesource.RateSource + //RateSource is a non-required component for NoMDEntries. + RateSource *ratesource.RateSource //FirstPx is a non-required field for NoMDEntries. FirstPx *float64 `fix:"1025"` //LastPx is a non-required field for NoMDEntries. diff --git a/fix50sp2/multilegordercancelreplace/MultilegOrderCancelReplace.go b/fix50sp2/multilegordercancelreplace/MultilegOrderCancelReplace.go index 5f4b2f89a..9557a8c84 100644 --- a/fix50sp2/multilegordercancelreplace/MultilegOrderCancelReplace.go +++ b/fix50sp2/multilegordercancelreplace/MultilegOrderCancelReplace.go @@ -37,8 +37,8 @@ type Message struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for MultilegOrderCancelReplace. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for MultilegOrderCancelReplace. + Parties *parties.Parties //TradeOriginationDate is a non-required field for MultilegOrderCancelReplace. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for MultilegOrderCancelReplace. @@ -57,8 +57,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for MultilegOrderCancelReplace. AllocID *string `fix:"70"` - //PreAllocMlegGrp Component - preallocmleggrp.PreAllocMlegGrp + //PreAllocMlegGrp is a non-required component for MultilegOrderCancelReplace. + PreAllocMlegGrp *preallocmleggrp.PreAllocMlegGrp //SettlType is a non-required field for MultilegOrderCancelReplace. SettlType *string `fix:"63"` //SettlDate is a non-required field for MultilegOrderCancelReplace. @@ -77,27 +77,27 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for MultilegOrderCancelReplace. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for MultilegOrderCancelReplace. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for MultilegOrderCancelReplace. ProcessCode *string `fix:"81"` //Side is a required field for MultilegOrderCancelReplace. Side string `fix:"54"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for MultilegOrderCancelReplace. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for MultilegOrderCancelReplace. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for MultilegOrderCancelReplace. PrevClosePx *float64 `fix:"140"` - //LegOrdGrp Component - legordgrp.LegOrdGrp + //LegOrdGrp is a non-required component for MultilegOrderCancelReplace. + LegOrdGrp *legordgrp.LegOrdGrp //LocateReqd is a non-required field for MultilegOrderCancelReplace. LocateReqd *bool `fix:"114"` //TransactTime is a required field for MultilegOrderCancelReplace. TransactTime time.Time `fix:"60"` //QtyType is a non-required field for MultilegOrderCancelReplace. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for MultilegOrderCancelReplace. orderqtydata.OrderQtyData //OrdType is a required field for MultilegOrderCancelReplace. OrdType string `fix:"40"` @@ -127,8 +127,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for MultilegOrderCancelReplace. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for MultilegOrderCancelReplace. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for MultilegOrderCancelReplace. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for MultilegOrderCancelReplace. @@ -153,10 +153,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for MultilegOrderCancelReplace. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for MultilegOrderCancelReplace. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for MultilegOrderCancelReplace. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for MultilegOrderCancelReplace. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for MultilegOrderCancelReplace. @@ -173,18 +173,18 @@ type Message struct { Designation *string `fix:"494"` //MultiLegRptTypeReq is a non-required field for MultilegOrderCancelReplace. MultiLegRptTypeReq *int `fix:"563"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for MultilegOrderCancelReplace. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //MatchIncrement is a non-required field for MultilegOrderCancelReplace. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for MultilegOrderCancelReplace. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for MultilegOrderCancelReplace. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for MultilegOrderCancelReplace. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for MultilegOrderCancelReplace. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for MultilegOrderCancelReplace. PreTradeAnonymity *bool `fix:"1091"` //ExDestinationIDSource is a non-required field for MultilegOrderCancelReplace. @@ -203,62 +203,74 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocMlegGrp(v preallocmleggrp.PreAllocMlegGrp) { m.PreAllocMlegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLegOrdGrp(v legordgrp.LegOrdGrp) { m.LegOrdGrp = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -267,15 +279,24 @@ func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatu func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } -func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } -func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } +func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } +func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/nestedparties/NestedParties.go b/fix50sp2/nestedparties/NestedParties.go index ed7b3d333..a35fbdb35 100644 --- a/fix50sp2/nestedparties/NestedParties.go +++ b/fix50sp2/nestedparties/NestedParties.go @@ -12,8 +12,8 @@ type NoNestedPartyIDs struct { NestedPartyIDSource *string `fix:"525"` //NestedPartyRole is a non-required field for NoNestedPartyIDs. NestedPartyRole *int `fix:"538"` - //NstdPtysSubGrp Component - nstdptyssubgrp.NstdPtysSubGrp + //NstdPtysSubGrp is a non-required component for NoNestedPartyIDs. + NstdPtysSubGrp *nstdptyssubgrp.NstdPtysSubGrp } //NestedParties is a fix50sp2 Component diff --git a/fix50sp2/nestedparties2/NestedParties2.go b/fix50sp2/nestedparties2/NestedParties2.go index e69226b0b..3fc425feb 100644 --- a/fix50sp2/nestedparties2/NestedParties2.go +++ b/fix50sp2/nestedparties2/NestedParties2.go @@ -12,8 +12,8 @@ type NoNested2PartyIDs struct { Nested2PartyIDSource *string `fix:"758"` //Nested2PartyRole is a non-required field for NoNested2PartyIDs. Nested2PartyRole *int `fix:"759"` - //NstdPtys2SubGrp Component - nstdptys2subgrp.NstdPtys2SubGrp + //NstdPtys2SubGrp is a non-required component for NoNested2PartyIDs. + NstdPtys2SubGrp *nstdptys2subgrp.NstdPtys2SubGrp } //NestedParties2 is a fix50sp2 Component diff --git a/fix50sp2/nestedparties3/NestedParties3.go b/fix50sp2/nestedparties3/NestedParties3.go index a1fd54f9c..48c3ca576 100644 --- a/fix50sp2/nestedparties3/NestedParties3.go +++ b/fix50sp2/nestedparties3/NestedParties3.go @@ -12,8 +12,8 @@ type NoNested3PartyIDs struct { Nested3PartyIDSource *string `fix:"950"` //Nested3PartyRole is a non-required field for NoNested3PartyIDs. Nested3PartyRole *int `fix:"951"` - //NstdPtys3SubGrp Component - nstdptys3subgrp.NstdPtys3SubGrp + //NstdPtys3SubGrp is a non-required component for NoNested3PartyIDs. + NstdPtys3SubGrp *nstdptys3subgrp.NstdPtys3SubGrp } //NestedParties3 is a fix50sp2 Component diff --git a/fix50sp2/nestedparties4/NestedParties4.go b/fix50sp2/nestedparties4/NestedParties4.go index d00429d91..6d37849e6 100644 --- a/fix50sp2/nestedparties4/NestedParties4.go +++ b/fix50sp2/nestedparties4/NestedParties4.go @@ -12,8 +12,8 @@ type NoNested4PartyIDs struct { Nested4PartyIDSource *string `fix:"1416"` //Nested4PartyRole is a non-required field for NoNested4PartyIDs. Nested4PartyRole *int `fix:"1417"` - //NstdPtys4SubGrp Component - nstdptys4subgrp.NstdPtys4SubGrp + //NstdPtys4SubGrp is a non-required component for NoNested4PartyIDs. + NstdPtys4SubGrp *nstdptys4subgrp.NstdPtys4SubGrp } //NestedParties4 is a fix50sp2 Component diff --git a/fix50sp2/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go b/fix50sp2/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go index fcac557e7..f307d855d 100644 --- a/fix50sp2/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go +++ b/fix50sp2/networkcounterpartysystemstatusrequest/NetworkCounterpartySystemStatusRequest.go @@ -16,16 +16,17 @@ type Message struct { NetworkRequestType int `fix:"935"` //NetworkRequestID is a required field for NetworkCounterpartySystemStatusRequest. NetworkRequestID string `fix:"933"` - //CompIDReqGrp Component - compidreqgrp.CompIDReqGrp + //CompIDReqGrp is a non-required component for NetworkCounterpartySystemStatusRequest. + CompIDReqGrp *compidreqgrp.CompIDReqGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetNetworkRequestType(v int) { m.NetworkRequestType = v } -func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = v } +func (m *Message) SetNetworkRequestType(v int) { m.NetworkRequestType = v } +func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = v } +func (m *Message) SetCompIDReqGrp(v compidreqgrp.CompIDReqGrp) { m.CompIDReqGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go b/fix50sp2/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go index 385a7c9b3..b9c846f57 100644 --- a/fix50sp2/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go +++ b/fix50sp2/networkcounterpartysystemstatusresponse/NetworkCounterpartySystemStatusResponse.go @@ -20,7 +20,7 @@ type Message struct { NetworkResponseID string `fix:"932"` //LastNetworkResponseID is a non-required field for NetworkCounterpartySystemStatusResponse. LastNetworkResponseID *string `fix:"934"` - //CompIDStatGrp Component + //CompIDStatGrp is a required component for NetworkCounterpartySystemStatusResponse. compidstatgrp.CompIDStatGrp fixt11.Trailer } @@ -28,10 +28,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetNetworkStatusResponseType(v int) { m.NetworkStatusResponseType = v } -func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = &v } -func (m *Message) SetNetworkResponseID(v string) { m.NetworkResponseID = v } -func (m *Message) SetLastNetworkResponseID(v string) { m.LastNetworkResponseID = &v } +func (m *Message) SetNetworkStatusResponseType(v int) { m.NetworkStatusResponseType = v } +func (m *Message) SetNetworkRequestID(v string) { m.NetworkRequestID = &v } +func (m *Message) SetNetworkResponseID(v string) { m.NetworkResponseID = v } +func (m *Message) SetLastNetworkResponseID(v string) { m.LastNetworkResponseID = &v } +func (m *Message) SetCompIDStatGrp(v compidstatgrp.CompIDStatGrp) { m.CompIDStatGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/newordercross/NewOrderCross.go b/fix50sp2/newordercross/NewOrderCross.go index 51c015b58..ef6a3062a 100644 --- a/fix50sp2/newordercross/NewOrderCross.go +++ b/fix50sp2/newordercross/NewOrderCross.go @@ -32,14 +32,14 @@ type Message struct { CrossType int `fix:"549"` //CrossPrioritization is a required field for NewOrderCross. CrossPrioritization int `fix:"550"` - //SideCrossOrdModGrp Component + //SideCrossOrdModGrp is a required component for NewOrderCross. sidecrossordmodgrp.SideCrossOrdModGrp - //Instrument Component + //Instrument is a required component for NewOrderCross. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NewOrderCross. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NewOrderCross. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SettlType is a non-required field for NewOrderCross. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderCross. @@ -54,8 +54,8 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderCross. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderCross. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderCross. ProcessCode *string `fix:"81"` //PrevClosePx is a non-required field for NewOrderCross. @@ -64,8 +64,8 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderCross. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderCross. + Stipulations *stipulations.Stipulations //OrdType is a required field for NewOrderCross. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderCross. @@ -74,10 +74,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderCross. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderCross. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderCross. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderCross. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderCross. @@ -98,10 +98,10 @@ type Message struct { GTBookingInst *int `fix:"427"` //MaxShow is a non-required field for NewOrderCross. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderCross. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderCross. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderCross. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderCross. @@ -116,22 +116,22 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for NewOrderCross. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderCross. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //TransBkdTime is a non-required field for NewOrderCross. TransBkdTime *time.Time `fix:"483"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for NewOrderCross. + RootParties *rootparties.RootParties //MatchIncrement is a non-required field for NewOrderCross. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderCross. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderCross. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderCross. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderCross. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //ExDestinationIDSource is a non-required field for NewOrderCross. ExDestinationIDSource *string `fix:"1133"` fixt11.Trailer @@ -140,34 +140,50 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetCrossID(v string) { m.CrossID = v } -func (m *Message) SetCrossType(v int) { m.CrossType = v } -func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetCrossID(v string) { m.CrossID = v } +func (m *Message) SetCrossType(v int) { m.CrossType = v } +func (m *Message) SetCrossPrioritization(v int) { m.CrossPrioritization = v } +func (m *Message) SetSideCrossOrdModGrp(v sidecrossordmodgrp.SideCrossOrdModGrp) { + m.SideCrossOrdModGrp = v +} +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -175,11 +191,21 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetTransBkdTime(v time.Time) { m.TransBkdTime = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/neworderlist/NewOrderList.go b/fix50sp2/neworderlist/NewOrderList.go index 669f6b8a4..a9d971b7b 100644 --- a/fix50sp2/neworderlist/NewOrderList.go +++ b/fix50sp2/neworderlist/NewOrderList.go @@ -49,10 +49,10 @@ type Message struct { TotNoOrders int `fix:"68"` //LastFragment is a non-required field for NewOrderList. LastFragment *bool `fix:"893"` - //ListOrdGrp Component + //ListOrdGrp is a required component for NewOrderList. listordgrp.ListOrdGrp - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for NewOrderList. + RootParties *rootparties.RootParties //ContingencyType is a non-required field for NewOrderList. ContingencyType *int `fix:"1385"` fixt11.Trailer @@ -61,25 +61,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetListID(v string) { m.ListID = v } -func (m *Message) SetBidID(v string) { m.BidID = &v } -func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } -func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } -func (m *Message) SetBidType(v int) { m.BidType = v } -func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetListExecInstType(v string) { m.ListExecInstType = &v } -func (m *Message) SetListExecInst(v string) { m.ListExecInst = &v } -func (m *Message) SetEncodedListExecInstLen(v int) { m.EncodedListExecInstLen = &v } -func (m *Message) SetEncodedListExecInst(v string) { m.EncodedListExecInst = &v } -func (m *Message) SetAllowableOneSidednessPct(v float64) { m.AllowableOneSidednessPct = &v } -func (m *Message) SetAllowableOneSidednessValue(v float64) { m.AllowableOneSidednessValue = &v } -func (m *Message) SetAllowableOneSidednessCurr(v string) { m.AllowableOneSidednessCurr = &v } -func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } +func (m *Message) SetListID(v string) { m.ListID = v } +func (m *Message) SetBidID(v string) { m.BidID = &v } +func (m *Message) SetClientBidID(v string) { m.ClientBidID = &v } +func (m *Message) SetProgRptReqs(v int) { m.ProgRptReqs = &v } +func (m *Message) SetBidType(v int) { m.BidType = v } +func (m *Message) SetProgPeriodInterval(v int) { m.ProgPeriodInterval = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetListExecInstType(v string) { m.ListExecInstType = &v } +func (m *Message) SetListExecInst(v string) { m.ListExecInst = &v } +func (m *Message) SetEncodedListExecInstLen(v int) { m.EncodedListExecInstLen = &v } +func (m *Message) SetEncodedListExecInst(v string) { m.EncodedListExecInst = &v } +func (m *Message) SetAllowableOneSidednessPct(v float64) { m.AllowableOneSidednessPct = &v } +func (m *Message) SetAllowableOneSidednessValue(v float64) { m.AllowableOneSidednessValue = &v } +func (m *Message) SetAllowableOneSidednessCurr(v string) { m.AllowableOneSidednessCurr = &v } +func (m *Message) SetTotNoOrders(v int) { m.TotNoOrders = v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetListOrdGrp(v listordgrp.ListOrdGrp) { m.ListOrdGrp = v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetContingencyType(v int) { m.ContingencyType = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/newordermultileg/NewOrderMultileg.go b/fix50sp2/newordermultileg/NewOrderMultileg.go index 50812b876..f8825a930 100644 --- a/fix50sp2/newordermultileg/NewOrderMultileg.go +++ b/fix50sp2/newordermultileg/NewOrderMultileg.go @@ -31,8 +31,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderMultileg. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderMultileg. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderMultileg. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderMultileg. @@ -51,8 +51,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NewOrderMultileg. AllocID *string `fix:"70"` - //PreAllocMlegGrp Component - preallocmleggrp.PreAllocMlegGrp + //PreAllocMlegGrp is a non-required component for NewOrderMultileg. + PreAllocMlegGrp *preallocmleggrp.PreAllocMlegGrp //SettlType is a non-required field for NewOrderMultileg. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderMultileg. @@ -71,28 +71,28 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderMultileg. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderMultileg. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderMultileg. ProcessCode *string `fix:"81"` //Side is a required field for NewOrderMultileg. Side string `fix:"54"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for NewOrderMultileg. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for NewOrderMultileg. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NewOrderMultileg. PrevClosePx *float64 `fix:"140"` - //LegOrdGrp Component - legordgrp.LegOrdGrp + //LegOrdGrp is a non-required component for NewOrderMultileg. + LegOrdGrp *legordgrp.LegOrdGrp //LocateReqd is a non-required field for NewOrderMultileg. LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderMultileg. TransactTime time.Time `fix:"60"` //QtyType is a non-required field for NewOrderMultileg. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NewOrderMultileg. + OrderQtyData *orderqtydata.OrderQtyData //OrdType is a required field for NewOrderMultileg. OrdType string `fix:"40"` //PriceType is a non-required field for NewOrderMultileg. @@ -121,8 +121,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderMultileg. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderMultileg. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderMultileg. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderMultileg. @@ -147,10 +147,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderMultileg. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderMultileg. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderMultileg. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderMultileg. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderMultileg. @@ -167,20 +167,20 @@ type Message struct { Designation *string `fix:"494"` //MultiLegRptTypeReq is a non-required field for NewOrderMultileg. MultiLegRptTypeReq *int `fix:"563"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderMultileg. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //SwapPoints is a non-required field for NewOrderMultileg. SwapPoints *float64 `fix:"1069"` //MatchIncrement is a non-required field for NewOrderMultileg. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderMultileg. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderMultileg. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderMultileg. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderMultileg. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //RefOrderID is a non-required field for NewOrderMultileg. RefOrderID *string `fix:"1080"` //RefOrderIDSource is a non-required field for NewOrderMultileg. @@ -201,59 +201,71 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocMlegGrp(v preallocmleggrp.PreAllocMlegGrp) { m.PreAllocMlegGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetLegOrdGrp(v legordgrp.LegOrdGrp) { m.LegOrdGrp = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -262,17 +274,26 @@ func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatu func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } func (m *Message) SetMultiLegRptTypeReq(v int) { m.MultiLegRptTypeReq = &v } -func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } -func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } -func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetSwapPoints(v float64) { m.SwapPoints = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } +func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetMultilegModel(v int) { m.MultilegModel = &v } +func (m *Message) SetMultilegPriceMethod(v int) { m.MultilegPriceMethod = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/newordersingle/NewOrderSingle.go b/fix50sp2/newordersingle/NewOrderSingle.go index 455176001..41318255f 100644 --- a/fix50sp2/newordersingle/NewOrderSingle.go +++ b/fix50sp2/newordersingle/NewOrderSingle.go @@ -35,8 +35,8 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NewOrderSingle. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NewOrderSingle. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NewOrderSingle. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NewOrderSingle. @@ -55,8 +55,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NewOrderSingle. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NewOrderSingle. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for NewOrderSingle. SettlType *string `fix:"63"` //SettlDate is a non-required field for NewOrderSingle. @@ -75,16 +75,16 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for NewOrderSingle. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for NewOrderSingle. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //ProcessCode is a non-required field for NewOrderSingle. ProcessCode *string `fix:"81"` - //Instrument Component + //Instrument is a required component for NewOrderSingle. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NewOrderSingle. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NewOrderSingle. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NewOrderSingle. PrevClosePx *float64 `fix:"140"` //Side is a required field for NewOrderSingle. @@ -93,11 +93,11 @@ type Message struct { LocateReqd *bool `fix:"114"` //TransactTime is a required field for NewOrderSingle. TransactTime time.Time `fix:"60"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NewOrderSingle. + Stipulations *stipulations.Stipulations //QtyType is a non-required field for NewOrderSingle. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NewOrderSingle. orderqtydata.OrderQtyData //OrdType is a required field for NewOrderSingle. OrdType string `fix:"40"` @@ -107,10 +107,10 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for NewOrderSingle. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for NewOrderSingle. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NewOrderSingle. + YieldData *yielddata.YieldData //Currency is a non-required field for NewOrderSingle. Currency *string `fix:"15"` //ComplianceID is a non-required field for NewOrderSingle. @@ -131,8 +131,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for NewOrderSingle. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NewOrderSingle. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NewOrderSingle. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NewOrderSingle. @@ -163,10 +163,10 @@ type Message struct { CoveredOrUncovered *int `fix:"203"` //MaxShow is a non-required field for NewOrderSingle. MaxShow *float64 `fix:"210"` - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //PegInstructions is a non-required component for NewOrderSingle. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for NewOrderSingle. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for NewOrderSingle. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for NewOrderSingle. @@ -181,8 +181,8 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for NewOrderSingle. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for NewOrderSingle. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //ManualOrderIndicator is a non-required field for NewOrderSingle. ManualOrderIndicator *bool `fix:"1028"` //CustDirectedOrder is a non-required field for NewOrderSingle. @@ -193,18 +193,18 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for NewOrderSingle. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for NewOrderSingle. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //MatchIncrement is a non-required field for NewOrderSingle. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for NewOrderSingle. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for NewOrderSingle. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for NewOrderSingle. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for NewOrderSingle. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for NewOrderSingle. PreTradeAnonymity *bool `fix:"1091"` //RefOrderID is a non-required field for NewOrderSingle. @@ -219,62 +219,79 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } -func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetProcessCode(v string) { m.ProcessCode = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetPrevClosePx(v float64) { m.PrevClosePx = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } @@ -282,18 +299,28 @@ func (m *Message) SetCancellationRights(v string) { m.CancellationRights = func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } func (m *Message) SetRegistID(v string) { m.RegistID = &v } func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } -func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetRefOrderID(v string) { m.RefOrderID = &v } +func (m *Message) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/news/News.go b/fix50sp2/news/News.go index 7467b450e..b4b5a1275 100644 --- a/fix50sp2/news/News.go +++ b/fix50sp2/news/News.go @@ -29,15 +29,15 @@ type Message struct { EncodedHeadlineLen *int `fix:"358"` //EncodedHeadline is a non-required field for News. EncodedHeadline *string `fix:"359"` - //RoutingGrp Component - routinggrp.RoutingGrp - //InstrmtGrp Component - instrmtgrp.InstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //LinesOfTextGrp Component + //RoutingGrp is a non-required component for News. + RoutingGrp *routinggrp.RoutingGrp + //InstrmtGrp is a non-required component for News. + InstrmtGrp *instrmtgrp.InstrmtGrp + //InstrmtLegGrp is a non-required component for News. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for News. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //LinesOfTextGrp is a required component for News. linesoftextgrp.LinesOfTextGrp //URLLink is a non-required field for News. URLLink *string `fix:"149"` @@ -45,12 +45,12 @@ type Message struct { RawDataLength *int `fix:"95"` //RawData is a non-required field for News. RawData *string `fix:"96"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for News. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //NewsID is a non-required field for News. NewsID *string `fix:"1472"` - //NewsRefGrp Component - newsrefgrp.NewsRefGrp + //NewsRefGrp is a non-required component for News. + NewsRefGrp *newsrefgrp.NewsRefGrp //NewsCategory is a non-required field for News. NewsCategory *int `fix:"1473"` //LanguageCode is a non-required field for News. @@ -65,19 +65,28 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } -func (m *Message) SetUrgency(v string) { m.Urgency = &v } -func (m *Message) SetHeadline(v string) { m.Headline = v } -func (m *Message) SetEncodedHeadlineLen(v int) { m.EncodedHeadlineLen = &v } -func (m *Message) SetEncodedHeadline(v string) { m.EncodedHeadline = &v } -func (m *Message) SetURLLink(v string) { m.URLLink = &v } -func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } -func (m *Message) SetRawData(v string) { m.RawData = &v } -func (m *Message) SetNewsID(v string) { m.NewsID = &v } -func (m *Message) SetNewsCategory(v int) { m.NewsCategory = &v } -func (m *Message) SetLanguageCode(v string) { m.LanguageCode = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetOrigTime(v time.Time) { m.OrigTime = &v } +func (m *Message) SetUrgency(v string) { m.Urgency = &v } +func (m *Message) SetHeadline(v string) { m.Headline = v } +func (m *Message) SetEncodedHeadlineLen(v int) { m.EncodedHeadlineLen = &v } +func (m *Message) SetEncodedHeadline(v string) { m.EncodedHeadline = &v } +func (m *Message) SetRoutingGrp(v routinggrp.RoutingGrp) { m.RoutingGrp = &v } +func (m *Message) SetInstrmtGrp(v instrmtgrp.InstrmtGrp) { m.InstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetLinesOfTextGrp(v linesoftextgrp.LinesOfTextGrp) { m.LinesOfTextGrp = v } +func (m *Message) SetURLLink(v string) { m.URLLink = &v } +func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } +func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetNewsID(v string) { m.NewsID = &v } +func (m *Message) SetNewsRefGrp(v newsrefgrp.NewsRefGrp) { m.NewsRefGrp = &v } +func (m *Message) SetNewsCategory(v int) { m.NewsCategory = &v } +func (m *Message) SetLanguageCode(v string) { m.LanguageCode = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/ordallocgrp/OrdAllocGrp.go b/fix50sp2/ordallocgrp/OrdAllocGrp.go index 596e46e83..7205892b3 100644 --- a/fix50sp2/ordallocgrp/OrdAllocGrp.go +++ b/fix50sp2/ordallocgrp/OrdAllocGrp.go @@ -16,8 +16,8 @@ type NoOrders struct { SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoOrders. + NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. diff --git a/fix50sp2/ordercancelreplacerequest/OrderCancelReplaceRequest.go b/fix50sp2/ordercancelreplacerequest/OrderCancelReplaceRequest.go index 509662d38..e92b65285 100644 --- a/fix50sp2/ordercancelreplacerequest/OrderCancelReplaceRequest.go +++ b/fix50sp2/ordercancelreplacerequest/OrderCancelReplaceRequest.go @@ -30,8 +30,8 @@ type Message struct { fixt11.Header //OrderID is a non-required field for OrderCancelReplaceRequest. OrderID *string `fix:"37"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderCancelReplaceRequest. + Parties *parties.Parties //TradeOriginationDate is a non-required field for OrderCancelReplaceRequest. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for OrderCancelReplaceRequest. @@ -62,8 +62,8 @@ type Message struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for OrderCancelReplaceRequest. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for OrderCancelReplaceRequest. + PreAllocGrp *preallocgrp.PreAllocGrp //SettlType is a non-required field for OrderCancelReplaceRequest. SettlType *string `fix:"63"` //SettlDate is a non-required field for OrderCancelReplaceRequest. @@ -82,21 +82,21 @@ type Message struct { MaxFloor *float64 `fix:"111"` //ExDestination is a non-required field for OrderCancelReplaceRequest. ExDestination *string `fix:"100"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp - //Instrument Component + //TrdgSesGrp is a non-required component for OrderCancelReplaceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp + //Instrument is a required component for OrderCancelReplaceRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderCancelReplaceRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderCancelReplaceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderCancelReplaceRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelReplaceRequest. TransactTime time.Time `fix:"60"` //QtyType is a non-required field for OrderCancelReplaceRequest. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelReplaceRequest. orderqtydata.OrderQtyData //OrdType is a required field for OrderCancelReplaceRequest. OrdType string `fix:"40"` @@ -106,14 +106,14 @@ type Message struct { Price *float64 `fix:"44"` //StopPx is a non-required field for OrderCancelReplaceRequest. StopPx *float64 `fix:"99"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //PegInstructions Component - peginstructions.PegInstructions - //DiscretionInstructions Component - discretioninstructions.DiscretionInstructions + //SpreadOrBenchmarkCurveData is a non-required component for OrderCancelReplaceRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for OrderCancelReplaceRequest. + YieldData *yielddata.YieldData + //PegInstructions is a non-required component for OrderCancelReplaceRequest. + PegInstructions *peginstructions.PegInstructions + //DiscretionInstructions is a non-required component for OrderCancelReplaceRequest. + DiscretionInstructions *discretioninstructions.DiscretionInstructions //TargetStrategy is a non-required field for OrderCancelReplaceRequest. TargetStrategy *int `fix:"847"` //TargetStrategyParameters is a non-required field for OrderCancelReplaceRequest. @@ -136,8 +136,8 @@ type Message struct { ExpireTime *time.Time `fix:"126"` //GTBookingInst is a non-required field for OrderCancelReplaceRequest. GTBookingInst *int `fix:"427"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for OrderCancelReplaceRequest. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for OrderCancelReplaceRequest. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for OrderCancelReplaceRequest. @@ -178,8 +178,8 @@ type Message struct { RegistID *string `fix:"513"` //Designation is a non-required field for OrderCancelReplaceRequest. Designation *string `fix:"494"` - //StrategyParametersGrp Component - strategyparametersgrp.StrategyParametersGrp + //StrategyParametersGrp is a non-required component for OrderCancelReplaceRequest. + StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp //ManualOrderIndicator is a non-required field for OrderCancelReplaceRequest. ManualOrderIndicator *bool `fix:"1028"` //CustDirectedOrder is a non-required field for OrderCancelReplaceRequest. @@ -190,18 +190,18 @@ type Message struct { CustOrderHandlingInst *string `fix:"1031"` //OrderHandlingInstSource is a non-required field for OrderCancelReplaceRequest. OrderHandlingInstSource *int `fix:"1032"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for OrderCancelReplaceRequest. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //MatchIncrement is a non-required field for OrderCancelReplaceRequest. MatchIncrement *float64 `fix:"1089"` //MaxPriceLevels is a non-required field for OrderCancelReplaceRequest. MaxPriceLevels *int `fix:"1090"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for OrderCancelReplaceRequest. + DisplayInstruction *displayinstruction.DisplayInstruction //PriceProtectionScope is a non-required field for OrderCancelReplaceRequest. PriceProtectionScope *string `fix:"1092"` - //TriggeringInstruction Component - triggeringinstruction.TriggeringInstruction + //TriggeringInstruction is a non-required component for OrderCancelReplaceRequest. + TriggeringInstruction *triggeringinstruction.TriggeringInstruction //PreTradeAnonymity is a non-required field for OrderCancelReplaceRequest. PreTradeAnonymity *bool `fix:"1091"` //ExDestinationIDSource is a non-required field for OrderCancelReplaceRequest. @@ -212,79 +212,105 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } -func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } -func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } -func (m *Message) SetAllocID(v string) { m.AllocID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } -func (m *Message) SetExecInst(v string) { m.ExecInst = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetStopPx(v float64) { m.StopPx = &v } -func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } -func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } -func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } -func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetPrice2(v float64) { m.Price2 = &v } -func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } -func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } -func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } -func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } -func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } -func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } -func (m *Message) SetRegistID(v string) { m.RegistID = &v } -func (m *Message) SetDesignation(v string) { m.Designation = &v } -func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } -func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } -func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } -func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } -func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } -func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } -func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } -func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradeOriginationDate(v string) { m.TradeOriginationDate = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetDayBookingInst(v string) { m.DayBookingInst = &v } +func (m *Message) SetBookingUnit(v string) { m.BookingUnit = &v } +func (m *Message) SetPreallocMethod(v string) { m.PreallocMethod = &v } +func (m *Message) SetAllocID(v string) { m.AllocID = &v } +func (m *Message) SetPreAllocGrp(v preallocgrp.PreAllocGrp) { m.PreAllocGrp = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetCashMargin(v string) { m.CashMargin = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetHandlInst(v string) { m.HandlInst = &v } +func (m *Message) SetExecInst(v string) { m.ExecInst = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetMaxFloor(v float64) { m.MaxFloor = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetOrdType(v string) { m.OrdType = v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetStopPx(v float64) { m.StopPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetPegInstructions(v peginstructions.PegInstructions) { m.PegInstructions = &v } +func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions) { + m.DiscretionInstructions = &v +} +func (m *Message) SetTargetStrategy(v int) { m.TargetStrategy = &v } +func (m *Message) SetTargetStrategyParameters(v string) { m.TargetStrategyParameters = &v } +func (m *Message) SetParticipationRate(v float64) { m.ParticipationRate = &v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetSolicitedFlag(v bool) { m.SolicitedFlag = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *Message) SetEffectiveTime(v time.Time) { m.EffectiveTime = &v } +func (m *Message) SetExpireDate(v string) { m.ExpireDate = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetGTBookingInst(v int) { m.GTBookingInst = &v } +func (m *Message) SetCommissionData(v commissiondata.CommissionData) { m.CommissionData = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetForexReq(v bool) { m.ForexReq = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetPrice2(v float64) { m.Price2 = &v } +func (m *Message) SetPositionEffect(v string) { m.PositionEffect = &v } +func (m *Message) SetCoveredOrUncovered(v int) { m.CoveredOrUncovered = &v } +func (m *Message) SetMaxShow(v float64) { m.MaxShow = &v } +func (m *Message) SetLocateReqd(v bool) { m.LocateReqd = &v } +func (m *Message) SetCancellationRights(v string) { m.CancellationRights = &v } +func (m *Message) SetMoneyLaunderingStatus(v string) { m.MoneyLaunderingStatus = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = &v } +func (m *Message) SetDesignation(v string) { m.Designation = &v } +func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp) { + m.StrategyParametersGrp = &v +} +func (m *Message) SetManualOrderIndicator(v bool) { m.ManualOrderIndicator = &v } +func (m *Message) SetCustDirectedOrder(v bool) { m.CustDirectedOrder = &v } +func (m *Message) SetReceivedDeptID(v string) { m.ReceivedDeptID = &v } +func (m *Message) SetCustOrderHandlingInst(v string) { m.CustOrderHandlingInst = &v } +func (m *Message) SetOrderHandlingInstSource(v int) { m.OrderHandlingInstSource = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetMatchIncrement(v float64) { m.MatchIncrement = &v } +func (m *Message) SetMaxPriceLevels(v int) { m.MaxPriceLevels = &v } +func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} +func (m *Message) SetPriceProtectionScope(v string) { m.PriceProtectionScope = &v } +func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction) { + m.TriggeringInstruction = &v +} +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/ordercancelrequest/OrderCancelRequest.go b/fix50sp2/ordercancelrequest/OrderCancelRequest.go index acfcfdcd7..fa58206f7 100644 --- a/fix50sp2/ordercancelrequest/OrderCancelRequest.go +++ b/fix50sp2/ordercancelrequest/OrderCancelRequest.go @@ -37,19 +37,19 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for OrderCancelRequest. AccountType *int `fix:"581"` - //Parties Component - parties.Parties - //Instrument Component + //Parties is a non-required component for OrderCancelRequest. + Parties *parties.Parties + //Instrument is a required component for OrderCancelRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderCancelRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderCancelRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderCancelRequest. Side string `fix:"54"` //TransactTime is a required field for OrderCancelRequest. TransactTime time.Time `fix:"60"` - //OrderQtyData Component + //OrderQtyData is a required component for OrderCancelRequest. orderqtydata.OrderQtyData //ComplianceID is a non-required field for OrderCancelRequest. ComplianceID *string `fix:"376"` @@ -65,22 +65,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetListID(v string) { m.ListID = &v } -func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetSide(v string) { m.Side = v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetOrigClOrdID(v string) { m.OrigClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetListID(v string) { m.ListID = &v } +func (m *Message) SetOrigOrdModTime(v time.Time) { m.OrigOrdModTime = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = v } +func (m *Message) SetComplianceID(v string) { m.ComplianceID = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/ordermassactionreport/OrderMassActionReport.go b/fix50sp2/ordermassactionreport/OrderMassActionReport.go index 86cf4ea1e..d36f1e0a8 100644 --- a/fix50sp2/ordermassactionreport/OrderMassActionReport.go +++ b/fix50sp2/ordermassactionreport/OrderMassActionReport.go @@ -34,8 +34,8 @@ type Message struct { MassActionRejectReason *int `fix:"1376"` //TotalAffectedOrders is a non-required field for OrderMassActionReport. TotalAffectedOrders *int `fix:"533"` - //AffectedOrdGrp Component - affectedordgrp.AffectedOrdGrp + //AffectedOrdGrp is a non-required component for OrderMassActionReport. + AffectedOrdGrp *affectedordgrp.AffectedOrdGrp //MarketID is a non-required field for OrderMassActionReport. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for OrderMassActionReport. @@ -44,12 +44,12 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassActionReport. TradingSessionSubID *string `fix:"625"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Parties is a non-required component for OrderMassActionReport. + Parties *parties.Parties + //Instrument is a non-required component for OrderMassActionReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassActionReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassActionReport. Side *string `fix:"54"` //TransactTime is a non-required field for OrderMassActionReport. @@ -60,33 +60,43 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassActionReport. EncodedText *string `fix:"355"` - //NotAffectedOrdersGrp Component - notaffectedordersgrp.NotAffectedOrdersGrp - //TargetParties Component - targetparties.TargetParties + //NotAffectedOrdersGrp is a non-required component for OrderMassActionReport. + NotAffectedOrdersGrp *notaffectedordersgrp.NotAffectedOrdersGrp + //TargetParties is a non-required component for OrderMassActionReport. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } -func (m *Message) SetMassActionType(v int) { m.MassActionType = v } -func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } -func (m *Message) SetMassActionResponse(v int) { m.MassActionResponse = v } -func (m *Message) SetMassActionRejectReason(v int) { m.MassActionRejectReason = &v } -func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } +func (m *Message) SetMassActionType(v int) { m.MassActionType = v } +func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } +func (m *Message) SetMassActionResponse(v int) { m.MassActionResponse = v } +func (m *Message) SetMassActionRejectReason(v int) { m.MassActionRejectReason = &v } +func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } +func (m *Message) SetAffectedOrdGrp(v affectedordgrp.AffectedOrdGrp) { m.AffectedOrdGrp = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetNotAffectedOrdersGrp(v notaffectedordersgrp.NotAffectedOrdersGrp) { + m.NotAffectedOrdersGrp = &v +} +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/ordermassactionrequest/OrderMassActionRequest.go b/fix50sp2/ordermassactionrequest/OrderMassActionRequest.go index bc41999c1..a381a38e9 100644 --- a/fix50sp2/ordermassactionrequest/OrderMassActionRequest.go +++ b/fix50sp2/ordermassactionrequest/OrderMassActionRequest.go @@ -32,12 +32,12 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassActionRequest. TradingSessionSubID *string `fix:"625"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Parties is a non-required component for OrderMassActionRequest. + Parties *parties.Parties + //Instrument is a non-required component for OrderMassActionRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassActionRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassActionRequest. Side *string `fix:"54"` //TransactTime is a required field for OrderMassActionRequest. @@ -48,27 +48,33 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassActionRequest. EncodedText *string `fix:"355"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for OrderMassActionRequest. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassActionType(v int) { m.MassActionType = v } -func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassActionType(v int) { m.MassActionType = v } +func (m *Message) SetMassActionScope(v int) { m.MassActionScope = v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/ordermasscancelreport/OrderMassCancelReport.go b/fix50sp2/ordermasscancelreport/OrderMassCancelReport.go index 7a0340c94..ee38b3f7d 100644 --- a/fix50sp2/ordermasscancelreport/OrderMassCancelReport.go +++ b/fix50sp2/ordermasscancelreport/OrderMassCancelReport.go @@ -34,16 +34,16 @@ type Message struct { MassCancelRejectReason *int `fix:"532"` //TotalAffectedOrders is a non-required field for OrderMassCancelReport. TotalAffectedOrders *int `fix:"533"` - //AffectedOrdGrp Component - affectedordgrp.AffectedOrdGrp + //AffectedOrdGrp is a non-required component for OrderMassCancelReport. + AffectedOrdGrp *affectedordgrp.AffectedOrdGrp //TradingSessionID is a non-required field for OrderMassCancelReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelReport. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelReport. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelReport. Side *string `fix:"54"` //TransactTime is a non-required field for OrderMassCancelReport. @@ -54,42 +54,52 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassCancelReport. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassCancelReport. + Parties *parties.Parties //MassActionReportID is a required field for OrderMassCancelReport. MassActionReportID string `fix:"1369"` - //NotAffectedOrdersGrp Component - notaffectedordersgrp.NotAffectedOrdersGrp + //NotAffectedOrdersGrp is a non-required component for OrderMassCancelReport. + NotAffectedOrdersGrp *notaffectedordersgrp.NotAffectedOrdersGrp //MarketID is a non-required field for OrderMassCancelReport. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for OrderMassCancelReport. MarketSegmentID *string `fix:"1300"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for OrderMassCancelReport. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = v } -func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetMassCancelResponse(v string) { m.MassCancelResponse = v } -func (m *Message) SetMassCancelRejectReason(v int) { m.MassCancelRejectReason = &v } -func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = v } +func (m *Message) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetMassCancelResponse(v string) { m.MassCancelResponse = v } +func (m *Message) SetMassCancelRejectReason(v int) { m.MassCancelRejectReason = &v } +func (m *Message) SetTotalAffectedOrders(v int) { m.TotalAffectedOrders = &v } +func (m *Message) SetAffectedOrdGrp(v affectedordgrp.AffectedOrdGrp) { m.AffectedOrdGrp = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetMassActionReportID(v string) { m.MassActionReportID = v } +func (m *Message) SetNotAffectedOrdersGrp(v notaffectedordersgrp.NotAffectedOrdersGrp) { + m.NotAffectedOrdersGrp = &v +} +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/ordermasscancelrequest/OrderMassCancelRequest.go b/fix50sp2/ordermasscancelrequest/OrderMassCancelRequest.go index ce933608e..ae307315d 100644 --- a/fix50sp2/ordermasscancelrequest/OrderMassCancelRequest.go +++ b/fix50sp2/ordermasscancelrequest/OrderMassCancelRequest.go @@ -26,10 +26,10 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassCancelRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassCancelRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassCancelRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassCancelRequest. Side *string `fix:"54"` //TransactTime is a required field for OrderMassCancelRequest. @@ -40,32 +40,38 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for OrderMassCancelRequest. EncodedText *string `fix:"355"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassCancelRequest. + Parties *parties.Parties //MarketID is a non-required field for OrderMassCancelRequest. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for OrderMassCancelRequest. MarketSegmentID *string `fix:"1300"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for OrderMassCancelRequest. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetMassCancelRequestType(v string) { m.MassCancelRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/ordermassstatusrequest/OrderMassStatusRequest.go b/fix50sp2/ordermassstatusrequest/OrderMassStatusRequest.go index 2514d3db3..0eb3c39e9 100644 --- a/fix50sp2/ordermassstatusrequest/OrderMassStatusRequest.go +++ b/fix50sp2/ordermassstatusrequest/OrderMassStatusRequest.go @@ -19,8 +19,8 @@ type Message struct { MassStatusReqID string `fix:"584"` //MassStatusReqType is a required field for OrderMassStatusRequest. MassStatusReqType int `fix:"585"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderMassStatusRequest. + Parties *parties.Parties //Account is a non-required field for OrderMassStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderMassStatusRequest. @@ -29,27 +29,33 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for OrderMassStatusRequest. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //Instrument is a non-required component for OrderMassStatusRequest. + Instrument *instrument.Instrument + //UnderlyingInstrument is a non-required component for OrderMassStatusRequest. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //Side is a non-required field for OrderMassStatusRequest. Side *string `fix:"54"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for OrderMassStatusRequest. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } -func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMassStatusReqID(v string) { m.MassStatusReqID = v } +func (m *Message) SetMassStatusReqType(v int) { m.MassStatusReqType = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument) { + m.UnderlyingInstrument = &v +} +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/orderstatusrequest/OrderStatusRequest.go b/fix50sp2/orderstatusrequest/OrderStatusRequest.go index 25564b2e5..c5cf41740 100644 --- a/fix50sp2/orderstatusrequest/OrderStatusRequest.go +++ b/fix50sp2/orderstatusrequest/OrderStatusRequest.go @@ -23,20 +23,20 @@ type Message struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for OrderStatusRequest. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for OrderStatusRequest. + Parties *parties.Parties //OrdStatusReqID is a non-required field for OrderStatusRequest. OrdStatusReqID *string `fix:"790"` //Account is a non-required field for OrderStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for OrderStatusRequest. AcctIDSource *int `fix:"660"` - //Instrument Component + //Instrument is a required component for OrderStatusRequest. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for OrderStatusRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for OrderStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a required field for OrderStatusRequest. Side string `fix:"54"` fixt11.Trailer @@ -45,14 +45,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } -func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetSide(v string) { m.Side = v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *Message) SetClOrdLinkID(v string) { m.ClOrdLinkID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetOrdStatusReqID(v string) { m.OrdStatusReqID = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/parties/Parties.go b/fix50sp2/parties/Parties.go index 2dc0acd68..944d6e74d 100644 --- a/fix50sp2/parties/Parties.go +++ b/fix50sp2/parties/Parties.go @@ -12,8 +12,8 @@ type NoPartyIDs struct { PartyIDSource *string `fix:"447"` //PartyRole is a non-required field for NoPartyIDs. PartyRole *int `fix:"452"` - //PtysSubGrp Component - ptyssubgrp.PtysSubGrp + //PtysSubGrp is a non-required component for NoPartyIDs. + PtysSubGrp *ptyssubgrp.PtysSubGrp } //Parties is a fix50sp2 Component diff --git a/fix50sp2/partyaltids/PartyAltIDs.go b/fix50sp2/partyaltids/PartyAltIDs.go index bf2477cee..ac71fe290 100644 --- a/fix50sp2/partyaltids/PartyAltIDs.go +++ b/fix50sp2/partyaltids/PartyAltIDs.go @@ -10,8 +10,8 @@ type NoPartyAltIDs struct { PartyAltID *string `fix:"1517"` //PartyAltIDSource is a non-required field for NoPartyAltIDs. PartyAltIDSource *string `fix:"1518"` - //AltPtysSubGrp Component - altptyssubgrp.AltPtysSubGrp + //AltPtysSubGrp is a non-required component for NoPartyAltIDs. + AltPtysSubGrp *altptyssubgrp.AltPtysSubGrp } //PartyAltIDs is a fix50sp2 Component diff --git a/fix50sp2/partydetail/PartyDetail.go b/fix50sp2/partydetail/PartyDetail.go index 63bb47234..0a5e6707e 100644 --- a/fix50sp2/partydetail/PartyDetail.go +++ b/fix50sp2/partydetail/PartyDetail.go @@ -15,16 +15,20 @@ type PartyDetail struct { PartyIDSource string `fix:"447"` //PartyRole is a required field for PartyDetail. PartyRole int `fix:"452"` - //PtysSubGrp Component - ptyssubgrp.PtysSubGrp - //PartyAltIDs Component - partyaltids.PartyAltIDs - //ContextParties Component - contextparties.ContextParties - //RiskLimits Component - risklimits.RiskLimits + //PtysSubGrp is a non-required component for PartyDetail. + PtysSubGrp *ptyssubgrp.PtysSubGrp + //PartyAltIDs is a non-required component for PartyDetail. + PartyAltIDs *partyaltids.PartyAltIDs + //ContextParties is a non-required component for PartyDetail. + ContextParties *contextparties.ContextParties + //RiskLimits is a non-required component for PartyDetail. + RiskLimits *risklimits.RiskLimits } -func (m *PartyDetail) SetPartyID(v string) { m.PartyID = v } -func (m *PartyDetail) SetPartyIDSource(v string) { m.PartyIDSource = v } -func (m *PartyDetail) SetPartyRole(v int) { m.PartyRole = v } +func (m *PartyDetail) SetPartyID(v string) { m.PartyID = v } +func (m *PartyDetail) SetPartyIDSource(v string) { m.PartyIDSource = v } +func (m *PartyDetail) SetPartyRole(v int) { m.PartyRole = v } +func (m *PartyDetail) SetPtysSubGrp(v ptyssubgrp.PtysSubGrp) { m.PtysSubGrp = &v } +func (m *PartyDetail) SetPartyAltIDs(v partyaltids.PartyAltIDs) { m.PartyAltIDs = &v } +func (m *PartyDetail) SetContextParties(v contextparties.ContextParties) { m.ContextParties = &v } +func (m *PartyDetail) SetRiskLimits(v risklimits.RiskLimits) { m.RiskLimits = &v } diff --git a/fix50sp2/partydetailslistreport/PartyDetailsListReport.go b/fix50sp2/partydetailslistreport/PartyDetailsListReport.go index cf50bfb20..8515cb263 100644 --- a/fix50sp2/partydetailslistreport/PartyDetailsListReport.go +++ b/fix50sp2/partydetailslistreport/PartyDetailsListReport.go @@ -13,8 +13,8 @@ import ( type Message struct { FIXMsgType string `fix:"CG"` fixt11.Header - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for PartyDetailsListReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //PartyDetailsListReportID is a required field for PartyDetailsListReport. PartyDetailsListReportID string `fix:"1510"` //PartyDetailsListRequestID is a non-required field for PartyDetailsListReport. @@ -25,8 +25,8 @@ type Message struct { TotNoPartyList *int `fix:"1512"` //LastFragment is a non-required field for PartyDetailsListReport. LastFragment *bool `fix:"893"` - //PartyListGrp Component - partylistgrp.PartyListGrp + //PartyListGrp is a non-required component for PartyDetailsListReport. + PartyListGrp *partylistgrp.PartyListGrp //Text is a non-required field for PartyDetailsListReport. Text *string `fix:"58"` //EncodedTextLen is a non-required field for PartyDetailsListReport. @@ -39,14 +39,18 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPartyDetailsListReportID(v string) { m.PartyDetailsListReportID = v } -func (m *Message) SetPartyDetailsListRequestID(v string) { m.PartyDetailsListRequestID = &v } -func (m *Message) SetPartyDetailsRequestResult(v int) { m.PartyDetailsRequestResult = &v } -func (m *Message) SetTotNoPartyList(v int) { m.TotNoPartyList = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetPartyDetailsListReportID(v string) { m.PartyDetailsListReportID = v } +func (m *Message) SetPartyDetailsListRequestID(v string) { m.PartyDetailsListRequestID = &v } +func (m *Message) SetPartyDetailsRequestResult(v int) { m.PartyDetailsRequestResult = &v } +func (m *Message) SetTotNoPartyList(v int) { m.TotNoPartyList = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetPartyListGrp(v partylistgrp.PartyListGrp) { m.PartyListGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/partydetailslistrequest/PartyDetailsListRequest.go b/fix50sp2/partydetailslistrequest/PartyDetailsListRequest.go index 5d4a205cc..3b6c83cf4 100644 --- a/fix50sp2/partydetailslistrequest/PartyDetailsListRequest.go +++ b/fix50sp2/partydetailslistrequest/PartyDetailsListRequest.go @@ -17,14 +17,14 @@ type Message struct { fixt11.Header //PartyDetailsListRequestID is a required field for PartyDetailsListRequest. PartyDetailsListRequestID string `fix:"1505"` - //PartyListResponseTypeGrp Component + //PartyListResponseTypeGrp is a required component for PartyDetailsListRequest. partylistresponsetypegrp.PartyListResponseTypeGrp - //Parties Component - parties.Parties - //RequestedPartyRoleGrp Component - requestedpartyrolegrp.RequestedPartyRoleGrp - //PartyRelationships Component - partyrelationships.PartyRelationships + //Parties is a non-required component for PartyDetailsListRequest. + Parties *parties.Parties + //RequestedPartyRoleGrp is a non-required component for PartyDetailsListRequest. + RequestedPartyRoleGrp *requestedpartyrolegrp.RequestedPartyRoleGrp + //PartyRelationships is a non-required component for PartyDetailsListRequest. + PartyRelationships *partyrelationships.PartyRelationships //SubscriptionRequestType is a non-required field for PartyDetailsListRequest. SubscriptionRequestType *string `fix:"263"` //Text is a non-required field for PartyDetailsListRequest. @@ -40,10 +40,20 @@ type Message struct { func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetPartyDetailsListRequestID(v string) { m.PartyDetailsListRequestID = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPartyListResponseTypeGrp(v partylistresponsetypegrp.PartyListResponseTypeGrp) { + m.PartyListResponseTypeGrp = v +} +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetRequestedPartyRoleGrp(v requestedpartyrolegrp.RequestedPartyRoleGrp) { + m.RequestedPartyRoleGrp = &v +} +func (m *Message) SetPartyRelationships(v partyrelationships.PartyRelationships) { + m.PartyRelationships = &v +} +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/partylistgrp/PartyListGrp.go b/fix50sp2/partylistgrp/PartyListGrp.go index 4ae6b6cb3..9f05df9ff 100644 --- a/fix50sp2/partylistgrp/PartyListGrp.go +++ b/fix50sp2/partylistgrp/PartyListGrp.go @@ -7,10 +7,10 @@ import ( //NoPartyList is a repeating group in PartyListGrp type NoPartyList struct { - //PartyDetail Component - partydetail.PartyDetail - //RelatedPartyGrp Component - relatedpartygrp.RelatedPartyGrp + //PartyDetail is a non-required component for NoPartyList. + PartyDetail *partydetail.PartyDetail + //RelatedPartyGrp is a non-required component for NoPartyList. + RelatedPartyGrp *relatedpartygrp.RelatedPartyGrp } //PartyListGrp is a fix50sp2 Component diff --git a/fix50sp2/positionmaintenancereport/PositionMaintenanceReport.go b/fix50sp2/positionmaintenancereport/PositionMaintenanceReport.go index 7512af59e..86eb62968 100644 --- a/fix50sp2/positionmaintenancereport/PositionMaintenanceReport.go +++ b/fix50sp2/positionmaintenancereport/PositionMaintenanceReport.go @@ -39,30 +39,30 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceReport. SettlSessSubID *string `fix:"717"` - //Parties Component - parties.Parties + //Parties is a non-required component for PositionMaintenanceReport. + Parties *parties.Parties //Account is a non-required field for PositionMaintenanceReport. Account *string `fix:"1"` //AcctIDSource is a non-required field for PositionMaintenanceReport. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionMaintenanceReport. AccountType *int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceReport. instrument.Instrument //Currency is a non-required field for PositionMaintenanceReport. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //InstrmtLegGrp is a non-required component for PositionMaintenanceReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for PositionMaintenanceReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //TrdgSesGrp is a non-required component for PositionMaintenanceReport. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a non-required field for PositionMaintenanceReport. TransactTime *time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceReport. positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for PositionMaintenanceReport. + PositionAmountData *positionamountdata.PositionAmountData //AdjustmentType is a non-required field for PositionMaintenanceReport. AdjustmentType *int `fix:"718"` //ThresholdAmount is a non-required field for PositionMaintenanceReport. @@ -87,21 +87,30 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosTransType(v int) { m.PosTransType = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } -func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } -func (m *Message) SetPosMaintStatus(v int) { m.PosMaintStatus = v } -func (m *Message) SetPosMaintResult(v int) { m.PosMaintResult = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosTransType(v int) { m.PosTransType = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } +func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } +func (m *Message) SetPosMaintStatus(v int) { m.PosMaintStatus = v } +func (m *Message) SetPosMaintResult(v int) { m.PosMaintResult = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } func (m *Message) SetText(v string) { m.Text = &v } diff --git a/fix50sp2/positionmaintenancerequest/PositionMaintenanceRequest.go b/fix50sp2/positionmaintenancerequest/PositionMaintenanceRequest.go index 9e4590ec6..4e6add70a 100644 --- a/fix50sp2/positionmaintenancerequest/PositionMaintenanceRequest.go +++ b/fix50sp2/positionmaintenancerequest/PositionMaintenanceRequest.go @@ -35,7 +35,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceRequest. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionMaintenanceRequest. parties.Parties //Account is a non-required field for PositionMaintenanceRequest. Account *string `fix:"1"` @@ -43,19 +43,19 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionMaintenanceRequest. AccountType *int `fix:"581"` - //Instrument Component + //Instrument is a required component for PositionMaintenanceRequest. instrument.Instrument //Currency is a non-required field for PositionMaintenanceRequest. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //InstrmtLegGrp is a non-required component for PositionMaintenanceRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for PositionMaintenanceRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //TrdgSesGrp is a non-required component for PositionMaintenanceRequest. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a non-required field for PositionMaintenanceRequest. TransactTime *time.Time `fix:"60"` - //PositionQty Component + //PositionQty is a required component for PositionMaintenanceRequest. positionqty.PositionQty //AdjustmentType is a non-required field for PositionMaintenanceRequest. AdjustmentType *int `fix:"718"` @@ -71,8 +71,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for PositionMaintenanceRequest. EncodedText *string `fix:"355"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for PositionMaintenanceRequest. + PositionAmountData *positionamountdata.PositionAmountData //SettlCurrency is a non-required field for PositionMaintenanceRequest. SettlCurrency *string `fix:"120"` fixt11.Trailer @@ -81,27 +81,36 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosTransType(v int) { m.PosTransType = v } -func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } -func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } -func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } -func (m *Message) SetContraryInstructionIndicator(v bool) { m.ContraryInstructionIndicator = &v } -func (m *Message) SetPriorSpreadIndicator(v bool) { m.PriorSpreadIndicator = &v } -func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosTransType(v int) { m.PosTransType = v } +func (m *Message) SetPosMaintAction(v int) { m.PosMaintAction = v } +func (m *Message) SetOrigPosReqRefID(v string) { m.OrigPosReqRefID = &v } +func (m *Message) SetPosMaintRptRefID(v string) { m.PosMaintRptRefID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = v } +func (m *Message) SetAdjustmentType(v int) { m.AdjustmentType = &v } +func (m *Message) SetContraryInstructionIndicator(v bool) { m.ContraryInstructionIndicator = &v } +func (m *Message) SetPriorSpreadIndicator(v bool) { m.PriorSpreadIndicator = &v } +func (m *Message) SetThresholdAmount(v float64) { m.ThresholdAmount = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/positionqty/PositionQty.go b/fix50sp2/positionqty/PositionQty.go index 1322b22b1..10820a44d 100644 --- a/fix50sp2/positionqty/PositionQty.go +++ b/fix50sp2/positionqty/PositionQty.go @@ -14,8 +14,8 @@ type NoPositions struct { ShortQty *float64 `fix:"705"` //PosQtyStatus is a non-required field for NoPositions. PosQtyStatus *int `fix:"706"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoPositions. + NestedParties *nestedparties.NestedParties //QuantityDate is a non-required field for NoPositions. QuantityDate *string `fix:"976"` } diff --git a/fix50sp2/positionreport/PositionReport.go b/fix50sp2/positionreport/PositionReport.go index 7e3b1fd9f..be3f0a2dd 100644 --- a/fix50sp2/positionreport/PositionReport.go +++ b/fix50sp2/positionreport/PositionReport.go @@ -38,7 +38,7 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionReport. SettlSessSubID *string `fix:"717"` - //Parties Component + //Parties is a required component for PositionReport. parties.Parties //Account is a non-required field for PositionReport. Account *string `fix:"1"` @@ -46,8 +46,8 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for PositionReport. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for PositionReport. + Instrument *instrument.Instrument //Currency is a non-required field for PositionReport. Currency *string `fix:"15"` //SettlPrice is a non-required field for PositionReport. @@ -56,14 +56,14 @@ type Message struct { SettlPriceType *int `fix:"731"` //PriorSettlPrice is a non-required field for PositionReport. PriorSettlPrice *float64 `fix:"734"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //PosUndInstrmtGrp Component - posundinstrmtgrp.PosUndInstrmtGrp - //PositionQty Component - positionqty.PositionQty - //PositionAmountData Component - positionamountdata.PositionAmountData + //InstrmtLegGrp is a non-required component for PositionReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //PosUndInstrmtGrp is a non-required component for PositionReport. + PosUndInstrmtGrp *posundinstrmtgrp.PosUndInstrmtGrp + //PositionQty is a non-required component for PositionReport. + PositionQty *positionqty.PositionQty + //PositionAmountData is a non-required component for PositionReport. + PositionAmountData *positionamountdata.PositionAmountData //RegistStatus is a non-required field for PositionReport. RegistStatus *string `fix:"506"` //DeliveryDate is a non-required field for PositionReport. @@ -82,8 +82,8 @@ type Message struct { SettlCurrency *string `fix:"120"` //MessageEventSource is a non-required field for PositionReport. MessageEventSource *string `fix:"1011"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for PositionReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //ModelType is a non-required field for PositionReport. ModelType *int `fix:"1434"` //PriceDelta is a non-required field for PositionReport. @@ -94,34 +94,45 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } -func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } -func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } -func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } -func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetModelType(v int) { m.ModelType = &v } -func (m *Message) SetPriceDelta(v float64) { m.PriceDelta = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlPrice(v float64) { m.SettlPrice = &v } +func (m *Message) SetSettlPriceType(v int) { m.SettlPriceType = &v } +func (m *Message) SetPriorSettlPrice(v float64) { m.PriorSettlPrice = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetPosUndInstrmtGrp(v posundinstrmtgrp.PosUndInstrmtGrp) { m.PosUndInstrmtGrp = &v } +func (m *Message) SetPositionQty(v positionqty.PositionQty) { m.PositionQty = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetRegistStatus(v string) { m.RegistStatus = &v } +func (m *Message) SetDeliveryDate(v string) { m.DeliveryDate = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetModelType(v int) { m.ModelType = &v } +func (m *Message) SetPriceDelta(v float64) { m.PriceDelta = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go b/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go index dec9cc843..05a03830f 100644 --- a/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go +++ b/fix50sp2/posundinstrmtgrp/PosUndInstrmtGrp.go @@ -7,14 +7,14 @@ import ( //NoUnderlyings is a repeating group in PosUndInstrmtGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //UnderlyingSettlPrice is a non-required field for NoUnderlyings. UnderlyingSettlPrice *float64 `fix:"732"` //UnderlyingSettlPriceType is a non-required field for NoUnderlyings. UnderlyingSettlPriceType *int `fix:"733"` - //UnderlyingAmount Component - underlyingamount.UnderlyingAmount + //UnderlyingAmount is a non-required component for NoUnderlyings. + UnderlyingAmount *underlyingamount.UnderlyingAmount //UnderlyingDeliveryAmount is a non-required field for NoUnderlyings. UnderlyingDeliveryAmount *float64 `fix:"1037"` } diff --git a/fix50sp2/preallocgrp/PreAllocGrp.go b/fix50sp2/preallocgrp/PreAllocGrp.go index abf27da36..c952a9c98 100644 --- a/fix50sp2/preallocgrp/PreAllocGrp.go +++ b/fix50sp2/preallocgrp/PreAllocGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoAllocs. + NestedParties *nestedparties.NestedParties //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } diff --git a/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go b/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go index 8d90ecd8f..34332cdfe 100644 --- a/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go +++ b/fix50sp2/preallocmleggrp/PreAllocMlegGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties3 Component - nestedparties3.NestedParties3 + //NestedParties3 is a non-required component for NoAllocs. + NestedParties3 *nestedparties3.NestedParties3 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` } diff --git a/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go b/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go index 3f4c71e94..f2fad2b9a 100644 --- a/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go +++ b/fix50sp2/quotcxlentriesgrp/QuotCxlEntriesGrp.go @@ -9,14 +9,14 @@ import ( //NoQuoteEntries is a repeating group in QuotCxlEntriesGrp type NoQuoteEntries struct { - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for NoQuoteEntries. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoQuoteEntries. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp } //QuotCxlEntriesGrp is a fix50sp2 Component diff --git a/fix50sp2/quote/Quote.go b/fix50sp2/quote/Quote.go index d43c345fb..33acf16ed 100644 --- a/fix50sp2/quote/Quote.go +++ b/fix50sp2/quote/Quote.go @@ -31,26 +31,26 @@ type Message struct { QuoteRespID *string `fix:"693"` //QuoteType is a non-required field for Quote. QuoteType *int `fix:"537"` - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotQualGrp is a non-required component for Quote. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuoteResponseLevel is a non-required field for Quote. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for Quote. + Parties *parties.Parties //TradingSessionID is a non-required field for Quote. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for Quote. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for Quote. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for Quote. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for Quote. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for Quote. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for Quote. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for Quote. SettlType *string `fix:"63"` //SettlDate is a non-required field for Quote. @@ -61,16 +61,16 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for Quote. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for Quote. + Stipulations *stipulations.Stipulations //Account is a non-required field for Quote. Account *string `fix:"1"` //AcctIDSource is a non-required field for Quote. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for Quote. AccountType *int `fix:"581"` - //LegQuotGrp Component - legquotgrp.LegQuotGrp + //LegQuotGrp is a non-required component for Quote. + LegQuotGrp *legquotgrp.LegQuotGrp //BidPx is a non-required field for Quote. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for Quote. @@ -131,10 +131,10 @@ type Message struct { OrderCapacity *string `fix:"528"` //PriceType is a non-required field for Quote. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for Quote. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for Quote. + YieldData *yielddata.YieldData //Text is a non-required field for Quote. Text *string `fix:"58"` //EncodedTextLen is a non-required field for Quote. @@ -159,72 +159,85 @@ type Message struct { OrderRestrictions *string `fix:"529"` //SettlCurrency is a non-required field for Quote. SettlCurrency *string `fix:"120"` - //RateSource Component - ratesource.RateSource + //RateSource is a non-required component for Quote. + RateSource *ratesource.RateSource fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetBidSwapPoints(v float64) { m.BidSwapPoints = &v } -func (m *Message) SetOfferSwapPoints(v float64) { m.OfferSwapPoints = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } -func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotGrp(v legquotgrp.LegQuotGrp) { m.LegQuotGrp = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetBidSwapPoints(v float64) { m.BidSwapPoints = &v } +func (m *Message) SetOfferSwapPoints(v float64) { m.OfferSwapPoints = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetRateSource(v ratesource.RateSource) { m.RateSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/quotecancel/QuoteCancel.go b/fix50sp2/quotecancel/QuoteCancel.go index e6dbfe738..4da90f686 100644 --- a/fix50sp2/quotecancel/QuoteCancel.go +++ b/fix50sp2/quotecancel/QuoteCancel.go @@ -22,8 +22,8 @@ type Message struct { QuoteCancelType int `fix:"298"` //QuoteResponseLevel is a non-required field for QuoteCancel. QuoteResponseLevel *int `fix:"301"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteCancel. + Parties *parties.Parties //Account is a non-required field for QuoteCancel. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteCancel. @@ -34,14 +34,14 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteCancel. TradingSessionSubID *string `fix:"625"` - //QuotCxlEntriesGrp Component - quotcxlentriesgrp.QuotCxlEntriesGrp + //QuotCxlEntriesGrp is a non-required component for QuoteCancel. + QuotCxlEntriesGrp *quotcxlentriesgrp.QuotCxlEntriesGrp //QuoteMsgID is a non-required field for QuoteCancel. QuoteMsgID *string `fix:"1166"` //QuoteType is a non-required field for QuoteCancel. QuoteType *int `fix:"537"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for QuoteCancel. + TargetParties *targetparties.TargetParties fixt11.Trailer } @@ -52,13 +52,18 @@ func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = v } func (m *Message) SetQuoteResponseLevel(v int) { m.QuoteResponseLevel = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetAccountType(v int) { m.AccountType = &v } func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuotCxlEntriesGrp(v quotcxlentriesgrp.QuotCxlEntriesGrp) { + m.QuotCxlEntriesGrp = &v +} +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go b/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go index 68dcc5898..5382544ff 100644 --- a/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go +++ b/fix50sp2/quotentryackgrp/QuotEntryAckGrp.go @@ -10,10 +10,10 @@ import ( type NoQuoteEntries struct { //QuoteEntryID is a non-required field for NoQuoteEntries. QuoteEntryID *string `fix:"299"` - //Instrument Component - instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. diff --git a/fix50sp2/quotentrygrp/QuotEntryGrp.go b/fix50sp2/quotentrygrp/QuotEntryGrp.go index d610d786f..bae097694 100644 --- a/fix50sp2/quotentrygrp/QuotEntryGrp.go +++ b/fix50sp2/quotentrygrp/QuotEntryGrp.go @@ -10,10 +10,10 @@ import ( type NoQuoteEntries struct { //QuoteEntryID is a required field for NoQuoteEntries. QuoteEntryID string `fix:"299"` - //Instrument Component - instrument.Instrument - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for NoQuoteEntries. + Instrument *instrument.Instrument + //InstrmtLegGrp is a non-required component for NoQuoteEntries. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //BidPx is a non-required field for NoQuoteEntries. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for NoQuoteEntries. diff --git a/fix50sp2/quoterequest/QuoteRequest.go b/fix50sp2/quoterequest/QuoteRequest.go index fc96a64d8..5006d9669 100644 --- a/fix50sp2/quoterequest/QuoteRequest.go +++ b/fix50sp2/quoterequest/QuoteRequest.go @@ -21,7 +21,7 @@ type Message struct { ClOrdID *string `fix:"11"` //OrderCapacity is a non-required field for QuoteRequest. OrderCapacity *string `fix:"528"` - //QuotReqGrp Component + //QuotReqGrp is a required component for QuoteRequest. quotreqgrp.QuotReqGrp //Text is a non-required field for QuoteRequest. Text *string `fix:"58"` @@ -29,8 +29,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for QuoteRequest. EncodedText *string `fix:"355"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for QuoteRequest. + RootParties *rootparties.RootParties //PrivateQuote is a non-required field for QuoteRequest. PrivateQuote *bool `fix:"1171"` //RespondentType is a non-required field for QuoteRequest. @@ -47,18 +47,20 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } -func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } -func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } +func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetQuotReqGrp(v quotreqgrp.QuotReqGrp) { m.QuotReqGrp = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/quoterequestreject/QuoteRequestReject.go b/fix50sp2/quoterequestreject/QuoteRequestReject.go index f78780896..73953b038 100644 --- a/fix50sp2/quoterequestreject/QuoteRequestReject.go +++ b/fix50sp2/quoterequestreject/QuoteRequestReject.go @@ -19,7 +19,7 @@ type Message struct { RFQReqID *string `fix:"644"` //QuoteRequestRejectReason is a required field for QuoteRequestReject. QuoteRequestRejectReason int `fix:"658"` - //QuotReqRjctGrp Component + //QuotReqRjctGrp is a required component for QuoteRequestReject. quotreqrjctgrp.QuotReqRjctGrp //Text is a non-required field for QuoteRequestReject. Text *string `fix:"58"` @@ -27,8 +27,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for QuoteRequestReject. EncodedText *string `fix:"355"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for QuoteRequestReject. + RootParties *rootparties.RootParties //PrivateQuote is a non-required field for QuoteRequestReject. PrivateQuote *bool `fix:"1171"` //RespondentType is a non-required field for QuoteRequestReject. @@ -41,15 +41,17 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } -func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } -func (m *Message) SetQuoteRequestRejectReason(v int) { m.QuoteRequestRejectReason = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } -func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = v } +func (m *Message) SetRFQReqID(v string) { m.RFQReqID = &v } +func (m *Message) SetQuoteRequestRejectReason(v int) { m.QuoteRequestRejectReason = v } +func (m *Message) SetQuotReqRjctGrp(v quotreqrjctgrp.QuotReqRjctGrp) { m.QuotReqRjctGrp = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetRespondentType(v int) { m.RespondentType = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/quoteresponse/QuoteResponse.go b/fix50sp2/quoteresponse/QuoteResponse.go index 7dd7abf91..8083eb081 100644 --- a/fix50sp2/quoteresponse/QuoteResponse.go +++ b/fix50sp2/quoteresponse/QuoteResponse.go @@ -36,24 +36,24 @@ type Message struct { IOIID *string `fix:"23"` //QuoteType is a non-required field for QuoteResponse. QuoteType *int `fix:"537"` - //QuotQualGrp Component - quotqualgrp.QuotQualGrp - //Parties Component - parties.Parties + //QuotQualGrp is a non-required component for QuoteResponse. + QuotQualGrp *quotqualgrp.QuotQualGrp + //Parties is a non-required component for QuoteResponse. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteResponse. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteResponse. TradingSessionSubID *string `fix:"625"` - //Instrument Component + //Instrument is a required component for QuoteResponse. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for QuoteResponse. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteResponse. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for QuoteResponse. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteResponse. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteResponse. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteResponse. @@ -64,16 +64,16 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteResponse. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteResponse. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteResponse. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for QuoteResponse. AccountType *int `fix:"581"` - //LegQuotGrp Component - legquotgrp.LegQuotGrp + //LegQuotGrp is a non-required component for QuoteResponse. + LegQuotGrp *legquotgrp.LegQuotGrp //BidPx is a non-required field for QuoteResponse. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for QuoteResponse. @@ -140,10 +140,10 @@ type Message struct { Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteResponse. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteResponse. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteResponse. + YieldData *yielddata.YieldData //ExDestinationIDSource is a non-required field for QuoteResponse. ExDestinationIDSource *string `fix:"1133"` //QuoteMsgID is a non-required field for QuoteResponse. @@ -160,62 +160,74 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetIOIID(v string) { m.IOIID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } -func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteRespType(v int) { m.QuoteRespType = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetIOIID(v string) { m.IOIID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotGrp(v legquotgrp.LegQuotGrp) { m.LegQuotGrp = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetPreTradeAnonymity(v bool) { m.PreTradeAnonymity = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/quotestatusreport/QuoteStatusReport.go b/fix50sp2/quotestatusreport/QuoteStatusReport.go index 1f931e938..84a14f485 100644 --- a/fix50sp2/quotestatusreport/QuoteStatusReport.go +++ b/fix50sp2/quotestatusreport/QuoteStatusReport.go @@ -33,22 +33,22 @@ type Message struct { QuoteRespID *string `fix:"693"` //QuoteType is a non-required field for QuoteStatusReport. QuoteType *int `fix:"537"` - //Parties Component - parties.Parties + //Parties is a non-required component for QuoteStatusReport. + Parties *parties.Parties //TradingSessionID is a non-required field for QuoteStatusReport. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for QuoteStatusReport. TradingSessionSubID *string `fix:"625"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for QuoteStatusReport. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for QuoteStatusReport. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteStatusReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Side is a non-required field for QuoteStatusReport. Side *string `fix:"54"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for QuoteStatusReport. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for QuoteStatusReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for QuoteStatusReport. @@ -59,28 +59,28 @@ type Message struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for QuoteStatusReport. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for QuoteStatusReport. + Stipulations *stipulations.Stipulations //Account is a non-required field for QuoteStatusReport. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusReport. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for QuoteStatusReport. AccountType *int `fix:"581"` - //LegQuotStatGrp Component - legquotstatgrp.LegQuotStatGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //LegQuotStatGrp is a non-required component for QuoteStatusReport. + LegQuotStatGrp *legquotstatgrp.LegQuotStatGrp + //QuotQualGrp is a non-required component for QuoteStatusReport. + QuotQualGrp *quotqualgrp.QuotQualGrp //ExpireTime is a non-required field for QuoteStatusReport. ExpireTime *time.Time `fix:"126"` //Price is a non-required field for QuoteStatusReport. Price *float64 `fix:"44"` //PriceType is a non-required field for QuoteStatusReport. PriceType *int `fix:"423"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //SpreadOrBenchmarkCurveData is a non-required component for QuoteStatusReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for QuoteStatusReport. + YieldData *yielddata.YieldData //BidPx is a non-required field for QuoteStatusReport. BidPx *float64 `fix:"132"` //OfferPx is a non-required field for QuoteStatusReport. @@ -161,73 +161,86 @@ type Message struct { OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for QuoteStatusReport. OrderRestrictions *string `fix:"529"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for QuoteStatusReport. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } -func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } -func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } -func (m *Message) SetPrice(v float64) { m.Price = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetBidPx(v float64) { m.BidPx = &v } -func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } -func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } -func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } -func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } -func (m *Message) SetBidSize(v float64) { m.BidSize = &v } -func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } -func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } -func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } -func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } -func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } -func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } -func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } -func (m *Message) SetMidPx(v float64) { m.MidPx = &v } -func (m *Message) SetBidYield(v float64) { m.BidYield = &v } -func (m *Message) SetMidYield(v float64) { m.MidYield = &v } -func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetOrdType(v string) { m.OrdType = &v } -func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } -func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } -func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } -func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } -func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } -func (m *Message) SetCommType(v string) { m.CommType = &v } -func (m *Message) SetCommission(v float64) { m.Commission = &v } -func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } -func (m *Message) SetExDestination(v string) { m.ExDestination = &v } -func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } -func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } -func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } -func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } -func (m *Message) SetMinQty(v float64) { m.MinQty = &v } -func (m *Message) SetBookingType(v int) { m.BookingType = &v } -func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } -func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteReqID(v string) { m.QuoteReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetQuoteRespID(v string) { m.QuoteRespID = &v } +func (m *Message) SetQuoteType(v int) { m.QuoteType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlDate2(v string) { m.SettlDate2 = &v } +func (m *Message) SetOrderQty2(v float64) { m.OrderQty2 = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetLegQuotStatGrp(v legquotstatgrp.LegQuotStatGrp) { m.LegQuotStatGrp = &v } +func (m *Message) SetQuotQualGrp(v quotqualgrp.QuotQualGrp) { m.QuotQualGrp = &v } +func (m *Message) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *Message) SetPrice(v float64) { m.Price = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetBidPx(v float64) { m.BidPx = &v } +func (m *Message) SetOfferPx(v float64) { m.OfferPx = &v } +func (m *Message) SetMktBidPx(v float64) { m.MktBidPx = &v } +func (m *Message) SetMktOfferPx(v float64) { m.MktOfferPx = &v } +func (m *Message) SetMinBidSize(v float64) { m.MinBidSize = &v } +func (m *Message) SetBidSize(v float64) { m.BidSize = &v } +func (m *Message) SetMinOfferSize(v float64) { m.MinOfferSize = &v } +func (m *Message) SetOfferSize(v float64) { m.OfferSize = &v } +func (m *Message) SetValidUntilTime(v time.Time) { m.ValidUntilTime = &v } +func (m *Message) SetBidSpotRate(v float64) { m.BidSpotRate = &v } +func (m *Message) SetOfferSpotRate(v float64) { m.OfferSpotRate = &v } +func (m *Message) SetBidForwardPoints(v float64) { m.BidForwardPoints = &v } +func (m *Message) SetOfferForwardPoints(v float64) { m.OfferForwardPoints = &v } +func (m *Message) SetMidPx(v float64) { m.MidPx = &v } +func (m *Message) SetBidYield(v float64) { m.BidYield = &v } +func (m *Message) SetMidYield(v float64) { m.MidYield = &v } +func (m *Message) SetOfferYield(v float64) { m.OfferYield = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetOrdType(v string) { m.OrdType = &v } +func (m *Message) SetBidForwardPoints2(v float64) { m.BidForwardPoints2 = &v } +func (m *Message) SetOfferForwardPoints2(v float64) { m.OfferForwardPoints2 = &v } +func (m *Message) SetSettlCurrBidFxRate(v float64) { m.SettlCurrBidFxRate = &v } +func (m *Message) SetSettlCurrOfferFxRate(v float64) { m.SettlCurrOfferFxRate = &v } +func (m *Message) SetSettlCurrFxRateCalc(v string) { m.SettlCurrFxRateCalc = &v } +func (m *Message) SetCommType(v string) { m.CommType = &v } +func (m *Message) SetCommission(v float64) { m.Commission = &v } +func (m *Message) SetCustOrderCapacity(v int) { m.CustOrderCapacity = &v } +func (m *Message) SetExDestination(v string) { m.ExDestination = &v } +func (m *Message) SetQuoteStatus(v int) { m.QuoteStatus = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetExDestinationIDSource(v string) { m.ExDestinationIDSource = &v } +func (m *Message) SetQuoteCancelType(v int) { m.QuoteCancelType = &v } +func (m *Message) SetQuoteMsgID(v string) { m.QuoteMsgID = &v } +func (m *Message) SetQuoteRejectReason(v int) { m.QuoteRejectReason = &v } +func (m *Message) SetMinQty(v float64) { m.MinQty = &v } +func (m *Message) SetBookingType(v int) { m.BookingType = &v } +func (m *Message) SetOrderCapacity(v string) { m.OrderCapacity = &v } +func (m *Message) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/quotestatusrequest/QuoteStatusRequest.go b/fix50sp2/quotestatusrequest/QuoteStatusRequest.go index 2d52e121e..20a8e8741 100644 --- a/fix50sp2/quotestatusrequest/QuoteStatusRequest.go +++ b/fix50sp2/quotestatusrequest/QuoteStatusRequest.go @@ -21,16 +21,16 @@ type Message struct { QuoteStatusReqID *string `fix:"649"` //QuoteID is a non-required field for QuoteStatusRequest. QuoteID *string `fix:"117"` - //Instrument Component - instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //Parties Component - parties.Parties + //Instrument is a non-required component for QuoteStatusRequest. + Instrument *instrument.Instrument + //FinancingDetails is a non-required component for QuoteStatusRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for QuoteStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for QuoteStatusRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //Parties is a non-required component for QuoteStatusRequest. + Parties *parties.Parties //Account is a non-required field for QuoteStatusRequest. Account *string `fix:"1"` //AcctIDSource is a non-required field for QuoteStatusRequest. @@ -43,22 +43,28 @@ type Message struct { TradingSessionSubID *string `fix:"625"` //SubscriptionRequestType is a non-required field for QuoteStatusRequest. SubscriptionRequestType *string `fix:"263"` - //TargetParties Component - targetparties.TargetParties + //TargetParties is a non-required component for QuoteStatusRequest. + TargetParties *targetparties.TargetParties fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } -func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetQuoteStatusReqID(v string) { m.QuoteStatusReqID = &v } +func (m *Message) SetQuoteID(v string) { m.QuoteID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTargetParties(v targetparties.TargetParties) { m.TargetParties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/quotreqgrp/QuotReqGrp.go b/fix50sp2/quotreqgrp/QuotReqGrp.go index 144f809cc..b092758d4 100644 --- a/fix50sp2/quotreqgrp/QuotReqGrp.go +++ b/fix50sp2/quotreqgrp/QuotReqGrp.go @@ -17,12 +17,12 @@ import ( //NoRelatedSym is a repeating group in QuotReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. @@ -39,8 +39,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -51,18 +51,18 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for NoRelatedSym. AccountType *int `fix:"581"` - //QuotReqLegsGrp Component - quotreqlegsgrp.QuotReqLegsGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotReqLegsGrp is a non-required component for NoRelatedSym. + QuotReqLegsGrp *quotreqlegsgrp.QuotReqLegsGrp + //QuotQualGrp is a non-required component for NoRelatedSym. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuotePriceType is a non-required field for NoRelatedSym. QuotePriceType *int `fix:"692"` //OrdType is a non-required field for NoRelatedSym. @@ -73,24 +73,24 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties //MinQty is a non-required field for NoRelatedSym. MinQty *float64 `fix:"110"` //SettlCurrency is a non-required field for NoRelatedSym. SettlCurrency *string `fix:"120"` - //RateSource Component - ratesource.RateSource + //RateSource is a non-required component for NoRelatedSym. + RateSource *ratesource.RateSource } //QuotReqGrp is a fix50sp2 Component diff --git a/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go b/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go index ec699749e..6ee9e55d8 100644 --- a/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go +++ b/fix50sp2/quotreqlegsgrp/QuotReqLegsGrp.go @@ -9,8 +9,8 @@ import ( //NoLegs is a repeating group in QuotReqLegsGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. @@ -19,12 +19,12 @@ type NoLegs struct { LegSettlType *string `fix:"587"` //LegSettlDate is a non-required field for NoLegs. LegSettlDate *string `fix:"588"` - //LegStipulations Component - legstipulations.LegStipulations - //NestedParties Component - nestedparties.NestedParties - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData //LegOrderQty is a non-required field for NoLegs. LegOrderQty *float64 `fix:"685"` //LegRefID is a non-required field for NoLegs. diff --git a/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go b/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go index 0786f1ea0..886fd3705 100644 --- a/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go +++ b/fix50sp2/quotreqrjctgrp/QuotReqRjctGrp.go @@ -16,12 +16,12 @@ import ( //NoRelatedSym is a repeating group in QuotReqRjctGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. @@ -38,8 +38,8 @@ type NoRelatedSym struct { Side *string `fix:"54"` //QtyType is a non-required field for NoRelatedSym. QtyType *int `fix:"854"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for NoRelatedSym. + OrderQtyData *orderqtydata.OrderQtyData //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //SettlDate is a non-required field for NoRelatedSym. @@ -50,18 +50,18 @@ type NoRelatedSym struct { OrderQty2 *float64 `fix:"192"` //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //Account is a non-required field for NoRelatedSym. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoRelatedSym. AcctIDSource *int `fix:"660"` //AccountType is a non-required field for NoRelatedSym. AccountType *int `fix:"581"` - //QuotReqLegsGrp Component - quotreqlegsgrp.QuotReqLegsGrp - //QuotQualGrp Component - quotqualgrp.QuotQualGrp + //QuotReqLegsGrp is a non-required component for NoRelatedSym. + QuotReqLegsGrp *quotreqlegsgrp.QuotReqLegsGrp + //QuotQualGrp is a non-required component for NoRelatedSym. + QuotQualGrp *quotqualgrp.QuotQualGrp //QuotePriceType is a non-required field for NoRelatedSym. QuotePriceType *int `fix:"692"` //OrdType is a non-required field for NoRelatedSym. @@ -70,18 +70,18 @@ type NoRelatedSym struct { ExpireTime *time.Time `fix:"126"` //TransactTime is a non-required field for NoRelatedSym. TransactTime *time.Time `fix:"60"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //PriceType is a non-required field for NoRelatedSym. PriceType *int `fix:"423"` //Price is a non-required field for NoRelatedSym. Price *float64 `fix:"44"` //Price2 is a non-required field for NoRelatedSym. Price2 *float64 `fix:"640"` - //YieldData Component - yielddata.YieldData - //Parties Component - parties.Parties + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData + //Parties is a non-required component for NoRelatedSym. + Parties *parties.Parties } //QuotReqRjctGrp is a fix50sp2 Component diff --git a/fix50sp2/quotsetackgrp/QuotSetAckGrp.go b/fix50sp2/quotsetackgrp/QuotSetAckGrp.go index 3111bfe99..e104da952 100644 --- a/fix50sp2/quotsetackgrp/QuotSetAckGrp.go +++ b/fix50sp2/quotsetackgrp/QuotSetAckGrp.go @@ -10,14 +10,14 @@ import ( type NoQuoteSets struct { //QuoteSetID is a non-required field for NoQuoteSets. QuoteSetID *string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //TotNoQuoteEntries is a non-required field for NoQuoteSets. TotNoQuoteEntries *int `fix:"304"` //LastFragment is a non-required field for NoQuoteSets. LastFragment *bool `fix:"893"` - //QuotEntryAckGrp Component - quotentryackgrp.QuotEntryAckGrp + //QuotEntryAckGrp is a non-required component for NoQuoteSets. + QuotEntryAckGrp *quotentryackgrp.QuotEntryAckGrp //TotNoCxldQuotes is a non-required field for NoQuoteSets. TotNoCxldQuotes *int `fix:"1168"` //TotNoAccQuotes is a non-required field for NoQuoteSets. diff --git a/fix50sp2/quotsetgrp/QuotSetGrp.go b/fix50sp2/quotsetgrp/QuotSetGrp.go index 685fb2b8f..7bdf4d649 100644 --- a/fix50sp2/quotsetgrp/QuotSetGrp.go +++ b/fix50sp2/quotsetgrp/QuotSetGrp.go @@ -10,15 +10,15 @@ import ( type NoQuoteSets struct { //QuoteSetID is a required field for NoQuoteSets. QuoteSetID string `fix:"302"` - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoQuoteSets. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //QuoteSetValidUntilTime is a non-required field for NoQuoteSets. QuoteSetValidUntilTime *time.Time `fix:"367"` //TotNoQuoteEntries is a required field for NoQuoteSets. TotNoQuoteEntries int `fix:"304"` //LastFragment is a non-required field for NoQuoteSets. LastFragment *bool `fix:"893"` - //QuotEntryGrp Component + //QuotEntryGrp is a required component for NoQuoteSets. quotentrygrp.QuotEntryGrp } diff --git a/fix50sp2/registrationinstructions/RegistrationInstructions.go b/fix50sp2/registrationinstructions/RegistrationInstructions.go index 61d66a7f3..84ef84a31 100644 --- a/fix50sp2/registrationinstructions/RegistrationInstructions.go +++ b/fix50sp2/registrationinstructions/RegistrationInstructions.go @@ -22,8 +22,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructions. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructions. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructions. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructions. @@ -34,25 +34,28 @@ type Message struct { TaxAdvantageType *int `fix:"495"` //OwnershipType is a non-required field for RegistrationInstructions. OwnershipType *string `fix:"517"` - //RgstDtlsGrp Component - rgstdtlsgrp.RgstDtlsGrp - //RgstDistInstGrp Component - rgstdistinstgrp.RgstDistInstGrp + //RgstDtlsGrp is a non-required component for RegistrationInstructions. + RgstDtlsGrp *rgstdtlsgrp.RgstDtlsGrp + //RgstDistInstGrp is a non-required component for RegistrationInstructions. + RgstDistInstGrp *rgstdistinstgrp.RgstDistInstGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetRegistID(v string) { m.RegistID = v } -func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } -func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } -func (m *Message) SetTaxAdvantageType(v int) { m.TaxAdvantageType = &v } -func (m *Message) SetOwnershipType(v string) { m.OwnershipType = &v } +func (m *Message) SetRegistID(v string) { m.RegistID = v } +func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } +func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetRegistAcctType(v string) { m.RegistAcctType = &v } +func (m *Message) SetTaxAdvantageType(v int) { m.TaxAdvantageType = &v } +func (m *Message) SetOwnershipType(v string) { m.OwnershipType = &v } +func (m *Message) SetRgstDtlsGrp(v rgstdtlsgrp.RgstDtlsGrp) { m.RgstDtlsGrp = &v } +func (m *Message) SetRgstDistInstGrp(v rgstdistinstgrp.RgstDistInstGrp) { m.RgstDistInstGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/registrationinstructionsresponse/RegistrationInstructionsResponse.go b/fix50sp2/registrationinstructionsresponse/RegistrationInstructionsResponse.go index 7b6014631..017a98837 100644 --- a/fix50sp2/registrationinstructionsresponse/RegistrationInstructionsResponse.go +++ b/fix50sp2/registrationinstructionsresponse/RegistrationInstructionsResponse.go @@ -20,8 +20,8 @@ type Message struct { RegistRefID string `fix:"508"` //ClOrdID is a non-required field for RegistrationInstructionsResponse. ClOrdID *string `fix:"11"` - //Parties Component - parties.Parties + //Parties is a non-required component for RegistrationInstructionsResponse. + Parties *parties.Parties //Account is a non-required field for RegistrationInstructionsResponse. Account *string `fix:"1"` //AcctIDSource is a non-required field for RegistrationInstructionsResponse. @@ -42,6 +42,7 @@ func (m *Message) SetRegistID(v string) { m.RegistID = v } func (m *Message) SetRegistTransType(v string) { m.RegistTransType = v } func (m *Message) SetRegistRefID(v string) { m.RegistRefID = v } func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAccount(v string) { m.Account = &v } func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } func (m *Message) SetRegistStatus(v string) { m.RegistStatus = v } diff --git a/fix50sp2/relatedcontextparties/RelatedContextParties.go b/fix50sp2/relatedcontextparties/RelatedContextParties.go index b1f7306df..3eaab9938 100644 --- a/fix50sp2/relatedcontextparties/RelatedContextParties.go +++ b/fix50sp2/relatedcontextparties/RelatedContextParties.go @@ -12,8 +12,8 @@ type NoRelatedContextPartyIDs struct { RelatedContextPartyIDSource *string `fix:"1577"` //RelatedContextPartyRole is a non-required field for NoRelatedContextPartyIDs. RelatedContextPartyRole *int `fix:"1578"` - //RelatedContextPtysSubGrp Component - relatedcontextptyssubgrp.RelatedContextPtysSubGrp + //RelatedContextPtysSubGrp is a non-required component for NoRelatedContextPartyIDs. + RelatedContextPtysSubGrp *relatedcontextptyssubgrp.RelatedContextPtysSubGrp } //RelatedContextParties is a fix50sp2 Component diff --git a/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go b/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go index dc284ee45..58c408e14 100644 --- a/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go +++ b/fix50sp2/relatedpartyaltids/RelatedPartyAltIDs.go @@ -10,8 +10,8 @@ type NoRelatedPartyAltIDs struct { RelatedPartyAltID *string `fix:"1570"` //RelatedPartyAltIDSource is a non-required field for NoRelatedPartyAltIDs. RelatedPartyAltIDSource *string `fix:"1571"` - //RelatedAltPtysSubGrp Component - relatedaltptyssubgrp.RelatedAltPtysSubGrp + //RelatedAltPtysSubGrp is a non-required component for NoRelatedPartyAltIDs. + RelatedAltPtysSubGrp *relatedaltptyssubgrp.RelatedAltPtysSubGrp } //RelatedPartyAltIDs is a fix50sp2 Component diff --git a/fix50sp2/relatedpartydetail/RelatedPartyDetail.go b/fix50sp2/relatedpartydetail/RelatedPartyDetail.go index e02fea172..bb048722d 100644 --- a/fix50sp2/relatedpartydetail/RelatedPartyDetail.go +++ b/fix50sp2/relatedpartydetail/RelatedPartyDetail.go @@ -15,16 +15,28 @@ type RelatedPartyDetail struct { RelatedPartyIDSource *string `fix:"1564"` //RelatedPartyRole is a non-required field for RelatedPartyDetail. RelatedPartyRole *int `fix:"1565"` - //RelatedPtysSubGrp Component - relatedptyssubgrp.RelatedPtysSubGrp - //RelatedPartyAltIDs Component - relatedpartyaltids.RelatedPartyAltIDs - //RelatedContextParties Component - relatedcontextparties.RelatedContextParties - //RelationshipRiskLimits Component - relationshiprisklimits.RelationshipRiskLimits + //RelatedPtysSubGrp is a non-required component for RelatedPartyDetail. + RelatedPtysSubGrp *relatedptyssubgrp.RelatedPtysSubGrp + //RelatedPartyAltIDs is a non-required component for RelatedPartyDetail. + RelatedPartyAltIDs *relatedpartyaltids.RelatedPartyAltIDs + //RelatedContextParties is a non-required component for RelatedPartyDetail. + RelatedContextParties *relatedcontextparties.RelatedContextParties + //RelationshipRiskLimits is a non-required component for RelatedPartyDetail. + RelationshipRiskLimits *relationshiprisklimits.RelationshipRiskLimits } func (m *RelatedPartyDetail) SetRelatedPartyID(v string) { m.RelatedPartyID = &v } func (m *RelatedPartyDetail) SetRelatedPartyIDSource(v string) { m.RelatedPartyIDSource = &v } func (m *RelatedPartyDetail) SetRelatedPartyRole(v int) { m.RelatedPartyRole = &v } +func (m *RelatedPartyDetail) SetRelatedPtysSubGrp(v relatedptyssubgrp.RelatedPtysSubGrp) { + m.RelatedPtysSubGrp = &v +} +func (m *RelatedPartyDetail) SetRelatedPartyAltIDs(v relatedpartyaltids.RelatedPartyAltIDs) { + m.RelatedPartyAltIDs = &v +} +func (m *RelatedPartyDetail) SetRelatedContextParties(v relatedcontextparties.RelatedContextParties) { + m.RelatedContextParties = &v +} +func (m *RelatedPartyDetail) SetRelationshipRiskLimits(v relationshiprisklimits.RelationshipRiskLimits) { + m.RelationshipRiskLimits = &v +} diff --git a/fix50sp2/relatedpartygrp/RelatedPartyGrp.go b/fix50sp2/relatedpartygrp/RelatedPartyGrp.go index 8273cba8f..4d24f4443 100644 --- a/fix50sp2/relatedpartygrp/RelatedPartyGrp.go +++ b/fix50sp2/relatedpartygrp/RelatedPartyGrp.go @@ -7,10 +7,10 @@ import ( //NoRelatedPartyIDs is a repeating group in RelatedPartyGrp type NoRelatedPartyIDs struct { - //RelatedPartyDetail Component - relatedpartydetail.RelatedPartyDetail - //PartyRelationships Component - partyrelationships.PartyRelationships + //RelatedPartyDetail is a non-required component for NoRelatedPartyIDs. + RelatedPartyDetail *relatedpartydetail.RelatedPartyDetail + //PartyRelationships is a non-required component for NoRelatedPartyIDs. + PartyRelationships *partyrelationships.PartyRelationships } //RelatedPartyGrp is a fix50sp2 Component diff --git a/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go b/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go index 394a6b81e..08b153023 100644 --- a/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go +++ b/fix50sp2/relationshipriskinstrumentscope/RelationshipRiskInstrumentScope.go @@ -16,8 +16,8 @@ type NoRelationshipRiskInstruments struct { RelationshipRiskSecurityID *string `fix:"1591"` //RelationshipRiskSecurityIDSource is a non-required field for NoRelationshipRiskInstruments. RelationshipRiskSecurityIDSource *string `fix:"1592"` - //RelationshipRiskSecAltIDGrp Component - relationshiprisksecaltidgrp.RelationshipRiskSecAltIDGrp + //RelationshipRiskSecAltIDGrp is a non-required component for NoRelationshipRiskInstruments. + RelationshipRiskSecAltIDGrp *relationshiprisksecaltidgrp.RelationshipRiskSecAltIDGrp //RelationshipRiskProduct is a non-required field for NoRelationshipRiskInstruments. RelationshipRiskProduct *int `fix:"1596"` //RelationshipRiskProductComplex is a non-required field for NoRelationshipRiskInstruments. diff --git a/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go b/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go index 561b3ae32..c1fc864e4 100644 --- a/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go +++ b/fix50sp2/relationshiprisklimits/RelationshipRiskLimits.go @@ -15,10 +15,10 @@ type NoRelationshipRiskLimits struct { RelationshipRiskLimitCurrency *string `fix:"1585"` //RelationshipRiskLimitPlatform is a non-required field for NoRelationshipRiskLimits. RelationshipRiskLimitPlatform *string `fix:"1586"` - //RelationshipRiskInstrumentScope Component - relationshipriskinstrumentscope.RelationshipRiskInstrumentScope - //RelationshipRiskWarningLevels Component - relationshipriskwarninglevels.RelationshipRiskWarningLevels + //RelationshipRiskInstrumentScope is a non-required component for NoRelationshipRiskLimits. + RelationshipRiskInstrumentScope *relationshipriskinstrumentscope.RelationshipRiskInstrumentScope + //RelationshipRiskWarningLevels is a non-required component for NoRelationshipRiskLimits. + RelationshipRiskWarningLevels *relationshipriskwarninglevels.RelationshipRiskWarningLevels } //RelationshipRiskLimits is a fix50sp2 Component diff --git a/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go b/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go index beeed754d..4bc5abdd2 100644 --- a/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go +++ b/fix50sp2/relsymderivsecgrp/RelSymDerivSecGrp.go @@ -10,22 +10,22 @@ import ( //NoRelatedSym is a repeating group in RelSymDerivSecGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NoRelatedSym. EncodedText *string `fix:"355"` - //SecondaryPriceLimits Component - secondarypricelimits.SecondaryPriceLimits + //SecondaryPriceLimits is a non-required component for NoRelatedSym. + SecondaryPriceLimits *secondarypricelimits.SecondaryPriceLimits //CorporateAction is a non-required field for NoRelatedSym. CorporateAction *string `fix:"292"` //RelSymTransactTime is a non-required field for NoRelatedSym. diff --git a/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go b/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go index 5ebb509c3..2c02772fa 100644 --- a/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go +++ b/fix50sp2/relsymderivsecupdgrp/RelSymDerivSecUpdGrp.go @@ -12,16 +12,16 @@ import ( type NoRelatedSym struct { //ListUpdateAction is a non-required field for NoRelatedSym. ListUpdateAction *string `fix:"1324"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //SecondaryPriceLimits Component - secondarypricelimits.SecondaryPriceLimits + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //SecondaryPriceLimits is a non-required component for NoRelatedSym. + SecondaryPriceLimits *secondarypricelimits.SecondaryPriceLimits //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. diff --git a/fix50sp2/requestforpositions/RequestForPositions.go b/fix50sp2/requestforpositions/RequestForPositions.go index d608c3bdb..3dc7a78b1 100644 --- a/fix50sp2/requestforpositions/RequestForPositions.go +++ b/fix50sp2/requestforpositions/RequestForPositions.go @@ -25,7 +25,7 @@ type Message struct { MatchStatus *string `fix:"573"` //SubscriptionRequestType is a non-required field for RequestForPositions. SubscriptionRequestType *string `fix:"263"` - //Parties Component + //Parties is a required component for RequestForPositions. parties.Parties //Account is a non-required field for RequestForPositions. Account *string `fix:"1"` @@ -33,22 +33,22 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for RequestForPositions. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositions. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositions. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for RequestForPositions. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for RequestForPositions. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //ClearingBusinessDate is a required field for RequestForPositions. ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for RequestForPositions. SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for RequestForPositions. SettlSessSubID *string `fix:"717"` - //TrdgSesGrp Component - trdgsesgrp.TrdgSesGrp + //TrdgSesGrp is a non-required component for RequestForPositions. + TrdgSesGrp *trdgsesgrp.TrdgSesGrp //TransactTime is a required field for RequestForPositions. TransactTime time.Time `fix:"60"` //ResponseTransportType is a non-required field for RequestForPositions. @@ -69,24 +69,29 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosReqID(v string) { m.PosReqID = v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp) { m.TrdgSesGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/requestforpositionsack/RequestForPositionsAck.go b/fix50sp2/requestforpositionsack/RequestForPositionsAck.go index 680c82481..24a73c620 100644 --- a/fix50sp2/requestforpositionsack/RequestForPositionsAck.go +++ b/fix50sp2/requestforpositionsack/RequestForPositionsAck.go @@ -27,7 +27,7 @@ type Message struct { PosReqResult int `fix:"728"` //PosReqStatus is a required field for RequestForPositionsAck. PosReqStatus int `fix:"729"` - //Parties Component + //Parties is a required component for RequestForPositionsAck. parties.Parties //Account is a non-required field for RequestForPositionsAck. Account *string `fix:"1"` @@ -35,14 +35,14 @@ type Message struct { AcctIDSource *int `fix:"660"` //AccountType is a non-required field for RequestForPositionsAck. AccountType *int `fix:"581"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for RequestForPositionsAck. + Instrument *instrument.Instrument //Currency is a non-required field for RequestForPositionsAck. Currency *string `fix:"15"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for RequestForPositionsAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for RequestForPositionsAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //ResponseTransportType is a non-required field for RequestForPositionsAck. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for RequestForPositionsAck. @@ -73,28 +73,32 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } -func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } -func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } -func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } -func (m *Message) SetAccount(v string) { m.Account = &v } -func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } -func (m *Message) SetAccountType(v int) { m.AccountType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetPosMaintRptID(v string) { m.PosMaintRptID = v } +func (m *Message) SetPosReqID(v string) { m.PosReqID = &v } +func (m *Message) SetTotalNumPosReports(v int) { m.TotalNumPosReports = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetPosReqResult(v int) { m.PosReqResult = v } +func (m *Message) SetPosReqStatus(v int) { m.PosReqStatus = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = v } +func (m *Message) SetAccount(v string) { m.Account = &v } +func (m *Message) SetAcctIDSource(v int) { m.AcctIDSource = &v } +func (m *Message) SetAccountType(v int) { m.AccountType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetPosReqType(v int) { m.PosReqType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/rfqreqgrp/RFQReqGrp.go b/fix50sp2/rfqreqgrp/RFQReqGrp.go index 1bdcd822d..81a913653 100644 --- a/fix50sp2/rfqreqgrp/RFQReqGrp.go +++ b/fix50sp2/rfqreqgrp/RFQReqGrp.go @@ -8,12 +8,12 @@ import ( //NoRelatedSym is a repeating group in RFQReqGrp type NoRelatedSym struct { - //Instrument Component + //Instrument is a required component for NoRelatedSym. instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for NoRelatedSym. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //PrevClosePx is a non-required field for NoRelatedSym. PrevClosePx *float64 `fix:"140"` //QuoteRequestType is a non-required field for NoRelatedSym. diff --git a/fix50sp2/rfqrequest/RFQRequest.go b/fix50sp2/rfqrequest/RFQRequest.go index 09fade8a0..0754c13ae 100644 --- a/fix50sp2/rfqrequest/RFQRequest.go +++ b/fix50sp2/rfqrequest/RFQRequest.go @@ -15,14 +15,14 @@ type Message struct { fixt11.Header //RFQReqID is a required field for RFQRequest. RFQReqID string `fix:"644"` - //RFQReqGrp Component + //RFQReqGrp is a required component for RFQRequest. rfqreqgrp.RFQReqGrp //SubscriptionRequestType is a non-required field for RFQRequest. SubscriptionRequestType *string `fix:"263"` //PrivateQuote is a non-required field for RFQRequest. PrivateQuote *bool `fix:"1171"` - //Parties Component - parties.Parties + //Parties is a non-required component for RFQRequest. + Parties *parties.Parties fixt11.Trailer } @@ -30,8 +30,10 @@ type Message struct { func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetRFQReqID(v string) { m.RFQReqID = v } +func (m *Message) SetRFQReqGrp(v rfqreqgrp.RFQReqGrp) { m.RFQReqGrp = v } func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } func (m *Message) SetPrivateQuote(v bool) { m.PrivateQuote = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go b/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go index bca4fd265..42ee4409e 100644 --- a/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go +++ b/fix50sp2/rgstdtlsgrp/RgstDtlsGrp.go @@ -14,8 +14,8 @@ type NoRegistDtls struct { MailingDtls *string `fix:"474"` //MailingInst is a non-required field for NoRegistDtls. MailingInst *string `fix:"482"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoRegistDtls. + NestedParties *nestedparties.NestedParties //OwnerType is a non-required field for NoRegistDtls. OwnerType *int `fix:"522"` //DateOfBirth is a non-required field for NoRegistDtls. diff --git a/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go b/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go index b648104a9..d5f1830cd 100644 --- a/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go +++ b/fix50sp2/riskinstrumentscope/RiskInstrumentScope.go @@ -16,8 +16,8 @@ type NoRiskInstruments struct { RiskSecurityID *string `fix:"1538"` //RiskSecurityIDSource is a non-required field for NoRiskInstruments. RiskSecurityIDSource *string `fix:"1539"` - //RiskSecAltIDGrp Component - risksecaltidgrp.RiskSecAltIDGrp + //RiskSecAltIDGrp is a non-required component for NoRiskInstruments. + RiskSecAltIDGrp *risksecaltidgrp.RiskSecAltIDGrp //RiskProduct is a non-required field for NoRiskInstruments. RiskProduct *int `fix:"1543"` //RiskProductComplex is a non-required field for NoRiskInstruments. diff --git a/fix50sp2/risklimits/RiskLimits.go b/fix50sp2/risklimits/RiskLimits.go index 899cf4d28..b3e0a6ee4 100644 --- a/fix50sp2/risklimits/RiskLimits.go +++ b/fix50sp2/risklimits/RiskLimits.go @@ -15,10 +15,10 @@ type NoRiskLimits struct { RiskLimitCurrency *string `fix:"1532"` //RiskLimitPlatform is a non-required field for NoRiskLimits. RiskLimitPlatform *string `fix:"1533"` - //RiskInstrumentScope Component - riskinstrumentscope.RiskInstrumentScope - //RiskWarningLevels Component - riskwarninglevels.RiskWarningLevels + //RiskInstrumentScope is a non-required component for NoRiskLimits. + RiskInstrumentScope *riskinstrumentscope.RiskInstrumentScope + //RiskWarningLevels is a non-required component for NoRiskLimits. + RiskWarningLevels *riskwarninglevels.RiskWarningLevels } //RiskLimits is a fix50sp2 Component diff --git a/fix50sp2/rootparties/RootParties.go b/fix50sp2/rootparties/RootParties.go index 5f22760ba..1bd1c7dce 100644 --- a/fix50sp2/rootparties/RootParties.go +++ b/fix50sp2/rootparties/RootParties.go @@ -12,8 +12,8 @@ type NoRootPartyIDs struct { RootPartyIDSource *string `fix:"1118"` //RootPartyRole is a non-required field for NoRootPartyIDs. RootPartyRole *int `fix:"1119"` - //RootSubParties Component - rootsubparties.RootSubParties + //RootSubParties is a non-required component for NoRootPartyIDs. + RootSubParties *rootsubparties.RootSubParties } //RootParties is a fix50sp2 Component diff --git a/fix50sp2/seclistgrp/SecListGrp.go b/fix50sp2/seclistgrp/SecListGrp.go index 2a2e7b5dd..78d6710a2 100644 --- a/fix50sp2/seclistgrp/SecListGrp.go +++ b/fix50sp2/seclistgrp/SecListGrp.go @@ -16,34 +16,34 @@ import ( //NoRelatedSym is a repeating group in SecListGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations - //InstrmtLegSecListGrp Component - instrmtlegseclistgrp.InstrmtLegSecListGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations + //InstrmtLegSecListGrp is a non-required component for NoRelatedSym. + InstrmtLegSecListGrp *instrmtlegseclistgrp.InstrmtLegSecListGrp + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NoRelatedSym. EncodedText *string `fix:"355"` - //SecurityTradingRules Component - securitytradingrules.SecurityTradingRules - //StrikeRules Component - strikerules.StrikeRules + //SecurityTradingRules is a non-required component for NoRelatedSym. + SecurityTradingRules *securitytradingrules.SecurityTradingRules + //StrikeRules is a non-required component for NoRelatedSym. + StrikeRules *strikerules.StrikeRules //RelSymTransactTime is a non-required field for NoRelatedSym. RelSymTransactTime *time.Time `fix:"1504"` } diff --git a/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go b/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go index 6b5f2b9ce..c8311a64c 100644 --- a/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go +++ b/fix50sp2/seclstupdrelsymgrp/SecLstUpdRelSymGrp.go @@ -16,36 +16,36 @@ import ( //NoRelatedSym is a repeating group in SecLstUpdRelSymGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //SecLstUpdRelSymsLegGrp Component - seclstupdrelsymsleggrp.SecLstUpdRelSymsLegGrp - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for NoRelatedSym. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for NoRelatedSym. + FinancingDetails *financingdetails.FinancingDetails + //SecLstUpdRelSymsLegGrp is a non-required component for NoRelatedSym. + SecLstUpdRelSymsLegGrp *seclstupdrelsymsleggrp.SecLstUpdRelSymsLegGrp + //SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for NoRelatedSym. + YieldData *yielddata.YieldData //Text is a non-required field for NoRelatedSym. Text *string `fix:"58"` //EncodedTextLen is a non-required field for NoRelatedSym. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for NoRelatedSym. EncodedText *string `fix:"355"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for NoRelatedSym. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for NoRelatedSym. Currency *string `fix:"15"` - //Stipulations Component - stipulations.Stipulations + //Stipulations is a non-required component for NoRelatedSym. + Stipulations *stipulations.Stipulations //ListUpdateAction is a non-required field for NoRelatedSym. ListUpdateAction *string `fix:"1324"` - //SecurityTradingRules Component - securitytradingrules.SecurityTradingRules - //StrikeRules Component - strikerules.StrikeRules + //SecurityTradingRules is a non-required component for NoRelatedSym. + SecurityTradingRules *securitytradingrules.SecurityTradingRules + //StrikeRules is a non-required component for NoRelatedSym. + StrikeRules *strikerules.StrikeRules //RelSymTransactTime is a non-required field for NoRelatedSym. RelSymTransactTime *time.Time `fix:"1504"` } diff --git a/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go b/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go index 0c627f753..e6e9529b9 100644 --- a/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go +++ b/fix50sp2/seclstupdrelsymsleggrp/SecLstUpdRelSymsLegGrp.go @@ -8,16 +8,16 @@ import ( //NoLegs is a repeating group in SecLstUpdRelSymsLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` //LegSettlType is a non-required field for NoLegs. LegSettlType *string `fix:"587"` - //LegStipulations Component - legstipulations.LegStipulations - //LegBenchmarkCurveData Component - legbenchmarkcurvedata.LegBenchmarkCurveData + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations + //LegBenchmarkCurveData is a non-required component for NoLegs. + LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData } //SecLstUpdRelSymsLegGrp is a fix50sp2 Component diff --git a/fix50sp2/securitydefinition/SecurityDefinition.go b/fix50sp2/securitydefinition/SecurityDefinition.go index 08a7fdab2..f61c19776 100644 --- a/fix50sp2/securitydefinition/SecurityDefinition.go +++ b/fix50sp2/securitydefinition/SecurityDefinition.go @@ -27,12 +27,12 @@ type Message struct { SecurityResponseID *string `fix:"322"` //SecurityResponseType is a non-required field for SecurityDefinition. SecurityResponseType *int `fix:"323"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinition. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinition. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityDefinition. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinition. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinition. @@ -41,24 +41,24 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for SecurityDefinition. EncodedText *string `fix:"355"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for SecurityDefinition. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //SecurityReportID is a non-required field for SecurityDefinition. SecurityReportID *int `fix:"964"` //ClearingBusinessDate is a non-required field for SecurityDefinition. ClearingBusinessDate *string `fix:"715"` - //Stipulations Component - stipulations.Stipulations - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for SecurityDefinition. + Stipulations *stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for SecurityDefinition. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for SecurityDefinition. + YieldData *yielddata.YieldData //CorporateAction is a non-required field for SecurityDefinition. CorporateAction *string `fix:"292"` - //MarketSegmentGrp Component - marketsegmentgrp.MarketSegmentGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //MarketSegmentGrp is a non-required component for SecurityDefinition. + MarketSegmentGrp *marketsegmentgrp.MarketSegmentGrp + //ApplicationSequenceControl is a non-required component for SecurityDefinition. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //TransactTime is a non-required field for SecurityDefinition. TransactTime *time.Time `fix:"60"` fixt11.Trailer @@ -67,17 +67,32 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetMarketSegmentGrp(v marketsegmentgrp.MarketSegmentGrp) { m.MarketSegmentGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/securitydefinitionrequest/SecurityDefinitionRequest.go b/fix50sp2/securitydefinitionrequest/SecurityDefinitionRequest.go index e0653a2b7..f25f591aa 100644 --- a/fix50sp2/securitydefinitionrequest/SecurityDefinitionRequest.go +++ b/fix50sp2/securitydefinitionrequest/SecurityDefinitionRequest.go @@ -22,12 +22,12 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityRequestType is a required field for SecurityDefinitionRequest. SecurityRequestType int `fix:"321"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinitionRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityDefinitionRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityDefinitionRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinitionRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinitionRequest. @@ -40,18 +40,18 @@ type Message struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for SecurityDefinitionRequest. TradingSessionSubID *string `fix:"625"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrmtLegGrp is a non-required component for SecurityDefinitionRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //ExpirationCycle is a non-required field for SecurityDefinitionRequest. ExpirationCycle *int `fix:"827"` //SubscriptionRequestType is a non-required field for SecurityDefinitionRequest. SubscriptionRequestType *string `fix:"263"` - //Stipulations Component - stipulations.Stipulations - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData + //Stipulations is a non-required component for SecurityDefinitionRequest. + Stipulations *stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for SecurityDefinitionRequest. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for SecurityDefinitionRequest. + YieldData *yielddata.YieldData //MarketID is a non-required field for SecurityDefinitionRequest. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityDefinitionRequest. @@ -62,18 +62,29 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityRequestType(v int) { m.SecurityRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetExpirationCycle(v int) { m.ExpirationCycle = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go b/fix50sp2/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go index d008c1e3a..78ea482b7 100644 --- a/fix50sp2/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go +++ b/fix50sp2/securitydefinitionupdatereport/SecurityDefinitionUpdateReport.go @@ -35,10 +35,10 @@ type Message struct { SecurityUpdateAction *string `fix:"980"` //CorporateAction is a non-required field for SecurityDefinitionUpdateReport. CorporateAction *string `fix:"292"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //Instrument is a non-required component for SecurityDefinitionUpdateReport. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for SecurityDefinitionUpdateReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //Currency is a non-required field for SecurityDefinitionUpdateReport. Currency *string `fix:"15"` //Text is a non-required field for SecurityDefinitionUpdateReport. @@ -47,20 +47,20 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for SecurityDefinitionUpdateReport. EncodedText *string `fix:"355"` - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //Stipulations Component - stipulations.Stipulations - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData - //YieldData Component - yielddata.YieldData - //MarketSegmentGrp Component - marketsegmentgrp.MarketSegmentGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //InstrmtLegGrp is a non-required component for SecurityDefinitionUpdateReport. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityDefinitionUpdateReport. + InstrumentExtension *instrumentextension.InstrumentExtension + //Stipulations is a non-required component for SecurityDefinitionUpdateReport. + Stipulations *stipulations.Stipulations + //SpreadOrBenchmarkCurveData is a non-required component for SecurityDefinitionUpdateReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //YieldData is a non-required component for SecurityDefinitionUpdateReport. + YieldData *yielddata.YieldData + //MarketSegmentGrp is a non-required component for SecurityDefinitionUpdateReport. + MarketSegmentGrp *marketsegmentgrp.MarketSegmentGrp + //ApplicationSequenceControl is a non-required component for SecurityDefinitionUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //TransactTime is a non-required field for SecurityDefinitionUpdateReport. TransactTime *time.Time `fix:"60"` fixt11.Trailer @@ -69,18 +69,33 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetStipulations(v stipulations.Stipulations) { m.Stipulations = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetMarketSegmentGrp(v marketsegmentgrp.MarketSegmentGrp) { m.MarketSegmentGrp = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/securitylist/SecurityList.go b/fix50sp2/securitylist/SecurityList.go index ea257e4d5..1af7a8eec 100644 --- a/fix50sp2/securitylist/SecurityList.go +++ b/fix50sp2/securitylist/SecurityList.go @@ -24,8 +24,8 @@ type Message struct { TotNoRelatedSym *int `fix:"393"` //LastFragment is a non-required field for SecurityList. LastFragment *bool `fix:"893"` - //SecListGrp Component - seclistgrp.SecListGrp + //SecListGrp is a non-required component for SecurityList. + SecListGrp *seclistgrp.SecListGrp //SecurityReportID is a non-required field for SecurityList. SecurityReportID *int `fix:"964"` //ClearingBusinessDate is a non-required field for SecurityList. @@ -34,8 +34,8 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityList. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityList. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //SecurityListID is a non-required field for SecurityList. SecurityListID *string `fix:"1465"` //SecurityListRefID is a non-required field for SecurityList. @@ -58,15 +58,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecListGrp(v seclistgrp.SecListGrp) { m.SecListGrp = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} func (m *Message) SetSecurityListID(v string) { m.SecurityListID = &v } func (m *Message) SetSecurityListRefID(v string) { m.SecurityListRefID = &v } func (m *Message) SetSecurityListDesc(v string) { m.SecurityListDesc = &v } diff --git a/fix50sp2/securitylistrequest/SecurityListRequest.go b/fix50sp2/securitylistrequest/SecurityListRequest.go index 7094c19d8..3764ab7cd 100644 --- a/fix50sp2/securitylistrequest/SecurityListRequest.go +++ b/fix50sp2/securitylistrequest/SecurityListRequest.go @@ -20,16 +20,16 @@ type Message struct { SecurityReqID string `fix:"320"` //SecurityListRequestType is a required field for SecurityListRequest. SecurityListRequestType int `fix:"559"` - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for SecurityListRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for SecurityListRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for SecurityListRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for SecurityListRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityListRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityListRequest. Currency *string `fix:"15"` //Text is a non-required field for SecurityListRequest. @@ -60,20 +60,27 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetSecurityListID(v string) { m.SecurityListID = &v } -func (m *Message) SetSecurityListType(v int) { m.SecurityListType = &v } -func (m *Message) SetSecurityListTypeSource(v int) { m.SecurityListTypeSource = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityListRequestType(v int) { m.SecurityListRequestType = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityListID(v string) { m.SecurityListID = &v } +func (m *Message) SetSecurityListType(v int) { m.SecurityListType = &v } +func (m *Message) SetSecurityListTypeSource(v int) { m.SecurityListTypeSource = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/securitylistupdatereport/SecurityListUpdateReport.go b/fix50sp2/securitylistupdatereport/SecurityListUpdateReport.go index 730b41dbe..7d50d0abf 100644 --- a/fix50sp2/securitylistupdatereport/SecurityListUpdateReport.go +++ b/fix50sp2/securitylistupdatereport/SecurityListUpdateReport.go @@ -32,14 +32,14 @@ type Message struct { CorporateAction *string `fix:"292"` //LastFragment is a non-required field for SecurityListUpdateReport. LastFragment *bool `fix:"893"` - //SecLstUpdRelSymGrp Component - seclstupdrelsymgrp.SecLstUpdRelSymGrp + //SecLstUpdRelSymGrp is a non-required component for SecurityListUpdateReport. + SecLstUpdRelSymGrp *seclstupdrelsymgrp.SecLstUpdRelSymGrp //MarketID is a non-required field for SecurityListUpdateReport. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityListUpdateReport. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityListUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //SecurityListID is a non-required field for SecurityListUpdateReport. SecurityListID *string `fix:"1465"` //SecurityListRefID is a non-required field for SecurityListUpdateReport. @@ -62,17 +62,23 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } -func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } -func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReportID(v int) { m.SecurityReportID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = &v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = &v } +func (m *Message) SetSecurityRequestResult(v int) { m.SecurityRequestResult = &v } +func (m *Message) SetTotNoRelatedSym(v int) { m.TotNoRelatedSym = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetSecurityUpdateAction(v string) { m.SecurityUpdateAction = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecLstUpdRelSymGrp(v seclstupdrelsymgrp.SecLstUpdRelSymGrp) { + m.SecLstUpdRelSymGrp = &v +} +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} func (m *Message) SetSecurityListID(v string) { m.SecurityListID = &v } func (m *Message) SetSecurityListRefID(v string) { m.SecurityListRefID = &v } func (m *Message) SetSecurityListDesc(v string) { m.SecurityListDesc = &v } diff --git a/fix50sp2/securitystatus/SecurityStatus.go b/fix50sp2/securitystatus/SecurityStatus.go index eeef8a2be..158a0e496 100644 --- a/fix50sp2/securitystatus/SecurityStatus.go +++ b/fix50sp2/securitystatus/SecurityStatus.go @@ -19,14 +19,14 @@ type Message struct { fixt11.Header //SecurityStatusReqID is a non-required field for SecurityStatus. SecurityStatusReqID *string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatus. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityStatus. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityStatus. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityStatus. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityStatus. Currency *string `fix:"15"` //TradingSessionID is a non-required field for SecurityStatus. @@ -79,41 +79,50 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityStatus. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityStatus. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } -func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } -func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } -func (m *Message) SetHaltReasonInt(v int) { m.HaltReasonInt = &v } -func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } -func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } -func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } -func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } -func (m *Message) SetHighPx(v float64) { m.HighPx = &v } -func (m *Message) SetLowPx(v float64) { m.LowPx = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetFirstPx(v float64) { m.FirstPx = &v } -func (m *Message) SetSecurityTradingEvent(v int) { m.SecurityTradingEvent = &v } -func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } -func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSecurityTradingStatus(v int) { m.SecurityTradingStatus = &v } +func (m *Message) SetFinancialStatus(v string) { m.FinancialStatus = &v } +func (m *Message) SetCorporateAction(v string) { m.CorporateAction = &v } +func (m *Message) SetHaltReasonInt(v int) { m.HaltReasonInt = &v } +func (m *Message) SetInViewOfCommon(v bool) { m.InViewOfCommon = &v } +func (m *Message) SetDueToRelated(v bool) { m.DueToRelated = &v } +func (m *Message) SetBuyVolume(v float64) { m.BuyVolume = &v } +func (m *Message) SetSellVolume(v float64) { m.SellVolume = &v } +func (m *Message) SetHighPx(v float64) { m.HighPx = &v } +func (m *Message) SetLowPx(v float64) { m.LowPx = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetAdjustment(v int) { m.Adjustment = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetFirstPx(v float64) { m.FirstPx = &v } +func (m *Message) SetSecurityTradingEvent(v int) { m.SecurityTradingEvent = &v } +func (m *Message) SetMDBookType(v int) { m.MDBookType = &v } +func (m *Message) SetMarketDepth(v int) { m.MarketDepth = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/securitystatusrequest/SecurityStatusRequest.go b/fix50sp2/securitystatusrequest/SecurityStatusRequest.go index d6c66be0b..8a7d0ec3d 100644 --- a/fix50sp2/securitystatusrequest/SecurityStatusRequest.go +++ b/fix50sp2/securitystatusrequest/SecurityStatusRequest.go @@ -17,14 +17,14 @@ type Message struct { fixt11.Header //SecurityStatusReqID is a required field for SecurityStatusRequest. SecurityStatusReqID string `fix:"324"` - //Instrument Component + //Instrument is a required component for SecurityStatusRequest. instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //InstrumentExtension is a non-required component for SecurityStatusRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //UndInstrmtGrp is a non-required component for SecurityStatusRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for SecurityStatusRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Currency is a non-required field for SecurityStatusRequest. Currency *string `fix:"15"` //SubscriptionRequestType is a required field for SecurityStatusRequest. @@ -43,13 +43,19 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityStatusReqID(v string) { m.SecurityStatusReqID = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/securitytradingrules/SecurityTradingRules.go b/fix50sp2/securitytradingrules/SecurityTradingRules.go index 83bd89592..7824d5b25 100644 --- a/fix50sp2/securitytradingrules/SecurityTradingRules.go +++ b/fix50sp2/securitytradingrules/SecurityTradingRules.go @@ -8,10 +8,20 @@ import ( //SecurityTradingRules is a fix50sp2 Component type SecurityTradingRules struct { - //BaseTradingRules Component - basetradingrules.BaseTradingRules - //TradingSessionRulesGrp Component - tradingsessionrulesgrp.TradingSessionRulesGrp - //NestedInstrumentAttribute Component - nestedinstrumentattribute.NestedInstrumentAttribute + //BaseTradingRules is a non-required component for SecurityTradingRules. + BaseTradingRules *basetradingrules.BaseTradingRules + //TradingSessionRulesGrp is a non-required component for SecurityTradingRules. + TradingSessionRulesGrp *tradingsessionrulesgrp.TradingSessionRulesGrp + //NestedInstrumentAttribute is a non-required component for SecurityTradingRules. + NestedInstrumentAttribute *nestedinstrumentattribute.NestedInstrumentAttribute +} + +func (m *SecurityTradingRules) SetBaseTradingRules(v basetradingrules.BaseTradingRules) { + m.BaseTradingRules = &v +} +func (m *SecurityTradingRules) SetTradingSessionRulesGrp(v tradingsessionrulesgrp.TradingSessionRulesGrp) { + m.TradingSessionRulesGrp = &v +} +func (m *SecurityTradingRules) SetNestedInstrumentAttribute(v nestedinstrumentattribute.NestedInstrumentAttribute) { + m.NestedInstrumentAttribute = &v } diff --git a/fix50sp2/securitytypes/SecurityTypes.go b/fix50sp2/securitytypes/SecurityTypes.go index 1ae4272f5..d11fc58a3 100644 --- a/fix50sp2/securitytypes/SecurityTypes.go +++ b/fix50sp2/securitytypes/SecurityTypes.go @@ -23,8 +23,8 @@ type Message struct { TotNoSecurityTypes *int `fix:"557"` //LastFragment is a non-required field for SecurityTypes. LastFragment *bool `fix:"893"` - //SecTypesGrp Component - sectypesgrp.SecTypesGrp + //SecTypesGrp is a non-required component for SecurityTypes. + SecTypesGrp *sectypesgrp.SecTypesGrp //Text is a non-required field for SecurityTypes. Text *string `fix:"58"` //EncodedTextLen is a non-required field for SecurityTypes. @@ -41,27 +41,31 @@ type Message struct { MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for SecurityTypes. MarketSegmentID *string `fix:"1300"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SecurityTypes. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } -func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } -func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } -func (m *Message) SetTotNoSecurityTypes(v int) { m.TotNoSecurityTypes = &v } -func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetSecurityReqID(v string) { m.SecurityReqID = v } +func (m *Message) SetSecurityResponseID(v string) { m.SecurityResponseID = v } +func (m *Message) SetSecurityResponseType(v int) { m.SecurityResponseType = v } +func (m *Message) SetTotNoSecurityTypes(v int) { m.TotNoSecurityTypes = &v } +func (m *Message) SetLastFragment(v bool) { m.LastFragment = &v } +func (m *Message) SetSecTypesGrp(v sectypesgrp.SecTypesGrp) { m.SecTypesGrp = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/settldetails/SettlDetails.go b/fix50sp2/settldetails/SettlDetails.go index 1069246d4..7b17a0fd9 100644 --- a/fix50sp2/settldetails/SettlDetails.go +++ b/fix50sp2/settldetails/SettlDetails.go @@ -8,8 +8,8 @@ import ( type NoSettlDetails struct { //SettlObligSource is a non-required field for NoSettlDetails. SettlObligSource *string `fix:"1164"` - //SettlParties Component - settlparties.SettlParties + //SettlParties is a non-required component for NoSettlDetails. + SettlParties *settlparties.SettlParties } //SettlDetails is a fix50sp2 Component diff --git a/fix50sp2/settlementinstructionrequest/SettlementInstructionRequest.go b/fix50sp2/settlementinstructionrequest/SettlementInstructionRequest.go index 2137f0402..39275081f 100644 --- a/fix50sp2/settlementinstructionrequest/SettlementInstructionRequest.go +++ b/fix50sp2/settlementinstructionrequest/SettlementInstructionRequest.go @@ -17,8 +17,8 @@ type Message struct { SettlInstReqID string `fix:"791"` //TransactTime is a required field for SettlementInstructionRequest. TransactTime time.Time `fix:"60"` - //Parties Component - parties.Parties + //Parties is a non-required component for SettlementInstructionRequest. + Parties *parties.Parties //AllocAccount is a non-required field for SettlementInstructionRequest. AllocAccount *string `fix:"79"` //AllocAcctIDSource is a non-required field for SettlementInstructionRequest. @@ -53,6 +53,7 @@ func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } func (m *Message) SetAllocAccount(v string) { m.AllocAccount = &v } func (m *Message) SetAllocAcctIDSource(v int) { m.AllocAcctIDSource = &v } func (m *Message) SetSide(v string) { m.Side = &v } diff --git a/fix50sp2/settlementinstructions/SettlementInstructions.go b/fix50sp2/settlementinstructions/SettlementInstructions.go index a3cfb051e..bbabea9f1 100644 --- a/fix50sp2/settlementinstructions/SettlementInstructions.go +++ b/fix50sp2/settlementinstructions/SettlementInstructions.go @@ -31,23 +31,24 @@ type Message struct { ClOrdID *string `fix:"11"` //TransactTime is a required field for SettlementInstructions. TransactTime time.Time `fix:"60"` - //SettlInstGrp Component - settlinstgrp.SettlInstGrp + //SettlInstGrp is a non-required component for SettlementInstructions. + SettlInstGrp *settlinstgrp.SettlInstGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetSettlInstMsgID(v string) { m.SettlInstMsgID = v } -func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = &v } -func (m *Message) SetSettlInstMode(v string) { m.SettlInstMode = v } -func (m *Message) SetSettlInstReqRejCode(v int) { m.SettlInstReqRejCode = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetSettlInstMsgID(v string) { m.SettlInstMsgID = v } +func (m *Message) SetSettlInstReqID(v string) { m.SettlInstReqID = &v } +func (m *Message) SetSettlInstMode(v string) { m.SettlInstMode = v } +func (m *Message) SetSettlInstReqRejCode(v int) { m.SettlInstReqRejCode = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = v } +func (m *Message) SetSettlInstGrp(v settlinstgrp.SettlInstGrp) { m.SettlInstGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/settlementobligationreport/SettlementObligationReport.go b/fix50sp2/settlementobligationreport/SettlementObligationReport.go index 7f06247bf..3b514ce2e 100644 --- a/fix50sp2/settlementobligationreport/SettlementObligationReport.go +++ b/fix50sp2/settlementobligationreport/SettlementObligationReport.go @@ -30,10 +30,10 @@ type Message struct { EncodedText *string `fix:"355"` //TransactTime is a non-required field for SettlementObligationReport. TransactTime *time.Time `fix:"60"` - //SettlObligationInstructions Component + //SettlObligationInstructions is a required component for SettlementObligationReport. settlobligationinstructions.SettlObligationInstructions - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for SettlementObligationReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } @@ -48,6 +48,12 @@ func (m *Message) SetText(v string) { m.Text = &v } func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetSettlObligationInstructions(v settlobligationinstructions.SettlObligationInstructions) { + m.SettlObligationInstructions = v +} +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/settlinstgrp/SettlInstGrp.go b/fix50sp2/settlinstgrp/SettlInstGrp.go index 2ab6e756e..279ed368e 100644 --- a/fix50sp2/settlinstgrp/SettlInstGrp.go +++ b/fix50sp2/settlinstgrp/SettlInstGrp.go @@ -14,8 +14,8 @@ type NoSettlInst struct { SettlInstTransType *string `fix:"163"` //SettlInstRefID is a non-required field for NoSettlInst. SettlInstRefID *string `fix:"214"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSettlInst. + Parties *parties.Parties //Side is a non-required field for NoSettlInst. Side *string `fix:"54"` //Product is a non-required field for NoSettlInst. @@ -30,8 +30,8 @@ type NoSettlInst struct { ExpireTime *time.Time `fix:"126"` //LastUpdateTime is a non-required field for NoSettlInst. LastUpdateTime *time.Time `fix:"779"` - //SettlInstructionsData Component - settlinstructionsdata.SettlInstructionsData + //SettlInstructionsData is a non-required component for NoSettlInst. + SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //PaymentMethod is a non-required field for NoSettlInst. PaymentMethod *int `fix:"492"` //PaymentRef is a non-required field for NoSettlInst. diff --git a/fix50sp2/settlinstructionsdata/SettlInstructionsData.go b/fix50sp2/settlinstructionsdata/SettlInstructionsData.go index 08c20c055..51d75f1ed 100644 --- a/fix50sp2/settlinstructionsdata/SettlInstructionsData.go +++ b/fix50sp2/settlinstructionsdata/SettlInstructionsData.go @@ -14,11 +14,12 @@ type SettlInstructionsData struct { StandInstDbName *string `fix:"170"` //StandInstDbID is a non-required field for SettlInstructionsData. StandInstDbID *string `fix:"171"` - //DlvyInstGrp Component - dlvyinstgrp.DlvyInstGrp + //DlvyInstGrp is a non-required component for SettlInstructionsData. + DlvyInstGrp *dlvyinstgrp.DlvyInstGrp } -func (m *SettlInstructionsData) SetSettlDeliveryType(v int) { m.SettlDeliveryType = &v } -func (m *SettlInstructionsData) SetStandInstDbType(v int) { m.StandInstDbType = &v } -func (m *SettlInstructionsData) SetStandInstDbName(v string) { m.StandInstDbName = &v } -func (m *SettlInstructionsData) SetStandInstDbID(v string) { m.StandInstDbID = &v } +func (m *SettlInstructionsData) SetSettlDeliveryType(v int) { m.SettlDeliveryType = &v } +func (m *SettlInstructionsData) SetStandInstDbType(v int) { m.StandInstDbType = &v } +func (m *SettlInstructionsData) SetStandInstDbName(v string) { m.StandInstDbName = &v } +func (m *SettlInstructionsData) SetStandInstDbID(v string) { m.StandInstDbID = &v } +func (m *SettlInstructionsData) SetDlvyInstGrp(v dlvyinstgrp.DlvyInstGrp) { m.DlvyInstGrp = &v } diff --git a/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go b/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go index 74e1e0bb6..2b464a9d4 100644 --- a/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go +++ b/fix50sp2/settlobligationinstructions/SettlObligationInstructions.go @@ -29,18 +29,18 @@ type NoSettlOblig struct { SettlCurrFxRate *float64 `fix:"155"` //SettlDate is a non-required field for NoSettlOblig. SettlDate *string `fix:"64"` - //Instrument Component - instrument.Instrument - //Parties Component - parties.Parties + //Instrument is a non-required component for NoSettlOblig. + Instrument *instrument.Instrument + //Parties is a non-required component for NoSettlOblig. + Parties *parties.Parties //EffectiveTime is a non-required field for NoSettlOblig. EffectiveTime *time.Time `fix:"168"` //ExpireTime is a non-required field for NoSettlOblig. ExpireTime *time.Time `fix:"126"` //LastUpdateTime is a non-required field for NoSettlOblig. LastUpdateTime *time.Time `fix:"779"` - //SettlDetails Component - settldetails.SettlDetails + //SettlDetails is a non-required component for NoSettlOblig. + SettlDetails *settldetails.SettlDetails } //SettlObligationInstructions is a fix50sp2 Component diff --git a/fix50sp2/settlparties/SettlParties.go b/fix50sp2/settlparties/SettlParties.go index d02a8d888..e4905e978 100644 --- a/fix50sp2/settlparties/SettlParties.go +++ b/fix50sp2/settlparties/SettlParties.go @@ -12,8 +12,8 @@ type NoSettlPartyIDs struct { SettlPartyIDSource *string `fix:"783"` //SettlPartyRole is a non-required field for NoSettlPartyIDs. SettlPartyRole *int `fix:"784"` - //SettlPtysSubGrp Component - settlptyssubgrp.SettlPtysSubGrp + //SettlPtysSubGrp is a non-required component for NoSettlPartyIDs. + SettlPtysSubGrp *settlptyssubgrp.SettlPtysSubGrp } //SettlParties is a fix50sp2 Component diff --git a/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go b/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go index bdb51e4de..1a346dda7 100644 --- a/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go +++ b/fix50sp2/sidecrossordcxlgrp/SideCrossOrdCxlGrp.go @@ -20,13 +20,13 @@ type NoSides struct { ClOrdLinkID *string `fix:"583"` //OrigOrdModTime is a non-required field for NoSides. OrigOrdModTime *time.Time `fix:"586"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. TradeDate *string `fix:"75"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData //ComplianceID is a non-required field for NoSides. ComplianceID *string `fix:"376"` diff --git a/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go b/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go index e36cbaad6..5e2014642 100644 --- a/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go +++ b/fix50sp2/sidecrossordmodgrp/SideCrossOrdModGrp.go @@ -18,8 +18,8 @@ type NoSides struct { SecondaryClOrdID *string `fix:"526"` //ClOrdLinkID is a non-required field for NoSides. ClOrdLinkID *string `fix:"583"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //TradeOriginationDate is a non-required field for NoSides. TradeOriginationDate *string `fix:"229"` //TradeDate is a non-required field for NoSides. @@ -38,14 +38,14 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //PreAllocGrp Component - preallocgrp.PreAllocGrp + //PreAllocGrp is a non-required component for NoSides. + PreAllocGrp *preallocgrp.PreAllocGrp //QtyType is a non-required field for NoSides. QtyType *int `fix:"854"` - //OrderQtyData Component + //OrderQtyData is a required component for NoSides. orderqtydata.OrderQtyData - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //OrderCapacity is a non-required field for NoSides. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for NoSides. diff --git a/fix50sp2/streamassignmentreport/StreamAssignmentReport.go b/fix50sp2/streamassignmentreport/StreamAssignmentReport.go index 690722da1..59445f0e4 100644 --- a/fix50sp2/streamassignmentreport/StreamAssignmentReport.go +++ b/fix50sp2/streamassignmentreport/StreamAssignmentReport.go @@ -18,17 +18,18 @@ type Message struct { StreamAsgnReqType *int `fix:"1498"` //StreamAsgnReqID is a non-required field for StreamAssignmentReport. StreamAsgnReqID *string `fix:"1497"` - //StrmAsgnRptGrp Component - strmasgnrptgrp.StrmAsgnRptGrp + //StrmAsgnRptGrp is a non-required component for StreamAssignmentReport. + StrmAsgnRptGrp *strmasgnrptgrp.StrmAsgnRptGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetStreamAsgnRptID(v string) { m.StreamAsgnRptID = v } -func (m *Message) SetStreamAsgnReqType(v int) { m.StreamAsgnReqType = &v } -func (m *Message) SetStreamAsgnReqID(v string) { m.StreamAsgnReqID = &v } +func (m *Message) SetStreamAsgnRptID(v string) { m.StreamAsgnRptID = v } +func (m *Message) SetStreamAsgnReqType(v int) { m.StreamAsgnReqType = &v } +func (m *Message) SetStreamAsgnReqID(v string) { m.StreamAsgnReqID = &v } +func (m *Message) SetStrmAsgnRptGrp(v strmasgnrptgrp.StrmAsgnRptGrp) { m.StrmAsgnRptGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/streamassignmentrequest/StreamAssignmentRequest.go b/fix50sp2/streamassignmentrequest/StreamAssignmentRequest.go index 788f93159..c0fabb498 100644 --- a/fix50sp2/streamassignmentrequest/StreamAssignmentRequest.go +++ b/fix50sp2/streamassignmentrequest/StreamAssignmentRequest.go @@ -16,7 +16,7 @@ type Message struct { StreamAsgnReqID string `fix:"1497"` //StreamAsgnReqType is a required field for StreamAssignmentRequest. StreamAsgnReqType int `fix:"1498"` - //StrmAsgnReqGrp Component + //StrmAsgnReqGrp is a required component for StreamAssignmentRequest. strmasgnreqgrp.StrmAsgnReqGrp fixt11.Trailer } @@ -24,8 +24,9 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetStreamAsgnReqID(v string) { m.StreamAsgnReqID = v } -func (m *Message) SetStreamAsgnReqType(v int) { m.StreamAsgnReqType = v } +func (m *Message) SetStreamAsgnReqID(v string) { m.StreamAsgnReqID = v } +func (m *Message) SetStreamAsgnReqType(v int) { m.StreamAsgnReqType = v } +func (m *Message) SetStrmAsgnReqGrp(v strmasgnreqgrp.StrmAsgnReqGrp) { m.StrmAsgnReqGrp = v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/strikerules/StrikeRules.go b/fix50sp2/strikerules/StrikeRules.go index a97c3cc0c..5c7e4f048 100644 --- a/fix50sp2/strikerules/StrikeRules.go +++ b/fix50sp2/strikerules/StrikeRules.go @@ -16,8 +16,8 @@ type NoStrikeRules struct { StrikeIncrement *float64 `fix:"1204"` //StrikeExerciseStyle is a non-required field for NoStrikeRules. StrikeExerciseStyle *int `fix:"1304"` - //MaturityRules Component - maturityrules.MaturityRules + //MaturityRules is a non-required component for NoStrikeRules. + MaturityRules *maturityrules.MaturityRules } //StrikeRules is a fix50sp2 Component diff --git a/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go b/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go index dabb841a6..476b0d948 100644 --- a/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go +++ b/fix50sp2/strmasgnreqgrp/StrmAsgnReqGrp.go @@ -7,10 +7,10 @@ import ( //NoAsgnReqs is a repeating group in StrmAsgnReqGrp type NoAsgnReqs struct { - //Parties Component - parties.Parties - //StrmAsgnReqInstrmtGrp Component - strmasgnreqinstrmtgrp.StrmAsgnReqInstrmtGrp + //Parties is a non-required component for NoAsgnReqs. + Parties *parties.Parties + //StrmAsgnReqInstrmtGrp is a non-required component for NoAsgnReqs. + StrmAsgnReqInstrmtGrp *strmasgnreqinstrmtgrp.StrmAsgnReqInstrmtGrp } //StrmAsgnReqGrp is a fix50sp2 Component diff --git a/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go b/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go index ab4952b57..790af3ba8 100644 --- a/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go +++ b/fix50sp2/strmasgnreqinstrmtgrp/StrmAsgnReqInstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoRelatedSym is a repeating group in StrmAsgnReqInstrmtGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //MDEntrySize is a non-required field for NoRelatedSym. diff --git a/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go b/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go index 3b3beb017..93124ccda 100644 --- a/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go +++ b/fix50sp2/strmasgnrptgrp/StrmAsgnRptGrp.go @@ -7,10 +7,10 @@ import ( //NoAsgnReqs is a repeating group in StrmAsgnRptGrp type NoAsgnReqs struct { - //Parties Component - parties.Parties - //StrmAsgnRptInstrmtGrp Component - strmasgnrptinstrmtgrp.StrmAsgnRptInstrmtGrp + //Parties is a non-required component for NoAsgnReqs. + Parties *parties.Parties + //StrmAsgnRptInstrmtGrp is a non-required component for NoAsgnReqs. + StrmAsgnRptInstrmtGrp *strmasgnrptinstrmtgrp.StrmAsgnRptInstrmtGrp } //StrmAsgnRptGrp is a fix50sp2 Component diff --git a/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go b/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go index d0aeaad7b..cc3d2e2dd 100644 --- a/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go +++ b/fix50sp2/strmasgnrptinstrmtgrp/StrmAsgnRptInstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoRelatedSym is a repeating group in StrmAsgnRptInstrmtGrp type NoRelatedSym struct { - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for NoRelatedSym. + Instrument *instrument.Instrument //SettlType is a non-required field for NoRelatedSym. SettlType *string `fix:"63"` //StreamAsgnType is a non-required field for NoRelatedSym. diff --git a/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go b/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go index 92c887ffc..be83626f0 100644 --- a/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go +++ b/fix50sp2/tradecaplegunderlyingsgrp/TradeCapLegUnderlyingsGrp.go @@ -6,8 +6,8 @@ import ( //NoOfLegUnderlyings is a repeating group in TradeCapLegUnderlyingsGrp type NoOfLegUnderlyings struct { - //UnderlyingLegInstrument Component - underlyingleginstrument.UnderlyingLegInstrument + //UnderlyingLegInstrument is a non-required component for NoOfLegUnderlyings. + UnderlyingLegInstrument *underlyingleginstrument.UnderlyingLegInstrument } //TradeCapLegUnderlyingsGrp is a fix50sp2 Component diff --git a/fix50sp2/tradecapturereport/TradeCaptureReport.go b/fix50sp2/tradecapturereport/TradeCaptureReport.go index 162ed9f6f..bb473e1e9 100644 --- a/fix50sp2/tradecapturereport/TradeCaptureReport.go +++ b/fix50sp2/tradecapturereport/TradeCaptureReport.go @@ -70,16 +70,16 @@ type Message struct { PreviouslyReported *bool `fix:"570"` //PriceType is a non-required field for TradeCaptureReport. PriceType *int `fix:"423"` - //Instrument Component + //Instrument is a required component for TradeCaptureReport. instrument.Instrument - //FinancingDetails Component - financingdetails.FinancingDetails + //FinancingDetails is a non-required component for TradeCaptureReport. + FinancingDetails *financingdetails.FinancingDetails //QtyType is a non-required field for TradeCaptureReport. QtyType *int `fix:"854"` - //YieldData Component - yielddata.YieldData - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //YieldData is a non-required component for TradeCaptureReport. + YieldData *yielddata.YieldData + //UndInstrmtGrp is a non-required component for TradeCaptureReport. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //UnderlyingTradingSessionID is a non-required field for TradeCaptureReport. UnderlyingTradingSessionID *string `fix:"822"` //UnderlyingTradingSessionSubID is a non-required field for TradeCaptureReport. @@ -102,22 +102,22 @@ type Message struct { ClearingBusinessDate *string `fix:"715"` //AvgPx is a non-required field for TradeCaptureReport. AvgPx *float64 `fix:"6"` - //SpreadOrBenchmarkCurveData Component - spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData + //SpreadOrBenchmarkCurveData is a non-required component for TradeCaptureReport. + SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //AvgPxIndicator is a non-required field for TradeCaptureReport. AvgPxIndicator *int `fix:"819"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for TradeCaptureReport. + PositionAmountData *positionamountdata.PositionAmountData //MultiLegReportingType is a non-required field for TradeCaptureReport. MultiLegReportingType *string `fix:"442"` //TradeLegRefID is a non-required field for TradeCaptureReport. TradeLegRefID *string `fix:"824"` - //TrdInstrmtLegGrp Component - trdinstrmtleggrp.TrdInstrmtLegGrp + //TrdInstrmtLegGrp is a non-required component for TradeCaptureReport. + TrdInstrmtLegGrp *trdinstrmtleggrp.TrdInstrmtLegGrp //TransactTime is a non-required field for TradeCaptureReport. TransactTime *time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReport. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //SettlType is a non-required field for TradeCaptureReport. SettlType *string `fix:"63"` //SettlDate is a non-required field for TradeCaptureReport. @@ -126,7 +126,7 @@ type Message struct { MatchStatus *string `fix:"573"` //MatchType is a non-required field for TradeCaptureReport. MatchType *string `fix:"574"` - //TrdCapRptSideGrp Component + //TrdCapRptSideGrp is a required component for TradeCaptureReport. trdcaprptsidegrp.TrdCapRptSideGrp //CopyMsgIndicator is a non-required field for TradeCaptureReport. CopyMsgIndicator *bool `fix:"797"` @@ -166,8 +166,8 @@ type Message struct { UnderlyingSettlementDate *string `fix:"987"` //GrossTradeAmt is a non-required field for TradeCaptureReport. GrossTradeAmt *float64 `fix:"381"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for TradeCaptureReport. + RootParties *rootparties.RootParties //TradeHandlingInstr is a non-required field for TradeCaptureReport. TradeHandlingInstr *string `fix:"1123"` //OrigTradeHandlingInstr is a non-required field for TradeCaptureReport. @@ -198,12 +198,12 @@ type Message struct { RiskFreeRate *float64 `fix:"1190"` //CurrencyRatio is a non-required field for TradeCaptureReport. CurrencyRatio *float64 `fix:"1382"` - //TrdRepIndicatorsGrp Component - trdrepindicatorsgrp.TrdRepIndicatorsGrp + //TrdRepIndicatorsGrp is a non-required component for TradeCaptureReport. + TrdRepIndicatorsGrp *trdrepindicatorsgrp.TrdRepIndicatorsGrp //TradePublishIndicator is a non-required field for TradeCaptureReport. TradePublishIndicator *int `fix:"1390"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradeCaptureReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl //VenueType is a non-required field for TradeCaptureReport. VenueType *string `fix:"1430"` //MarketSegmentID is a non-required field for TradeCaptureReport. @@ -216,87 +216,107 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } -func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = v } -func (m *Message) SetLastPx(v float64) { m.LastPx = v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } -func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } -func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } -func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTierCode(v string) { m.TierCode = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } -func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } -func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } -func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } -func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } -func (m *Message) SetTZTransactTime(v string) { m.TZTransactTime = &v } -func (m *Message) SetReportedPxDiff(v bool) { m.ReportedPxDiff = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetRejectText(v string) { m.RejectText = &v } -func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } -func (m *Message) SetVolatility(v float64) { m.Volatility = &v } -func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } -func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } -func (m *Message) SetCurrencyRatio(v float64) { m.CurrencyRatio = &v } -func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } -func (m *Message) SetVenueType(v string) { m.VenueType = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetLastRptRequested(v bool) { m.LastRptRequested = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetYieldData(v yielddata.YieldData) { m.YieldData = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } +func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = v } +func (m *Message) SetLastPx(v float64) { m.LastPx = v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData) { + m.SpreadOrBenchmarkCurveData = &v +} +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } +func (m *Message) SetTrdInstrmtLegGrp(v trdinstrmtleggrp.TrdInstrmtLegGrp) { m.TrdInstrmtLegGrp = &v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetTrdCapRptSideGrp(v trdcaprptsidegrp.TrdCapRptSideGrp) { m.TrdCapRptSideGrp = v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } +func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } +func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } +func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetTierCode(v string) { m.TierCode = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetUnderlyingSettlementDate(v string) { m.UnderlyingSettlementDate = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } +func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } +func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } +func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } +func (m *Message) SetTZTransactTime(v string) { m.TZTransactTime = &v } +func (m *Message) SetReportedPxDiff(v bool) { m.ReportedPxDiff = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetRejectText(v string) { m.RejectText = &v } +func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } +func (m *Message) SetVolatility(v float64) { m.Volatility = &v } +func (m *Message) SetDividendYield(v float64) { m.DividendYield = &v } +func (m *Message) SetRiskFreeRate(v float64) { m.RiskFreeRate = &v } +func (m *Message) SetCurrencyRatio(v float64) { m.CurrencyRatio = &v } +func (m *Message) SetTrdRepIndicatorsGrp(v trdrepindicatorsgrp.TrdRepIndicatorsGrp) { + m.TrdRepIndicatorsGrp = &v +} +func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} +func (m *Message) SetVenueType(v string) { m.VenueType = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/tradecapturereportack/TradeCaptureReportAck.go b/fix50sp2/tradecapturereportack/TradeCaptureReportAck.go index f13f2fdf4..1f3d8b748 100644 --- a/fix50sp2/tradecapturereportack/TradeCaptureReportAck.go +++ b/fix50sp2/tradecapturereportack/TradeCaptureReportAck.go @@ -56,12 +56,12 @@ type Message struct { ExecID *string `fix:"17"` //SecondaryExecID is a non-required field for TradeCaptureReportAck. SecondaryExecID *string `fix:"527"` - //Instrument Component + //Instrument is a required component for TradeCaptureReportAck. instrument.Instrument //TransactTime is a non-required field for TradeCaptureReportAck. TransactTime *time.Time `fix:"60"` - //TrdRegTimestamps Component - trdregtimestamps.TrdRegTimestamps + //TrdRegTimestamps is a non-required component for TradeCaptureReportAck. + TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //ResponseTransportType is a non-required field for TradeCaptureReportAck. ResponseTransportType *int `fix:"725"` //ResponseDestination is a non-required field for TradeCaptureReportAck. @@ -72,8 +72,8 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for TradeCaptureReportAck. EncodedText *string `fix:"355"` - //TrdInstrmtLegGrp Component - trdinstrmtleggrp.TrdInstrmtLegGrp + //TrdInstrmtLegGrp is a non-required component for TradeCaptureReportAck. + TrdInstrmtLegGrp *trdinstrmtleggrp.TrdInstrmtLegGrp //ClearingFeeIndicator is a non-required field for TradeCaptureReportAck. ClearingFeeIndicator *string `fix:"635"` //ExecRestatementReason is a non-required field for TradeCaptureReportAck. @@ -130,8 +130,8 @@ type Message struct { SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for TradeCaptureReportAck. SettlSessSubID *string `fix:"717"` - //PositionAmountData Component - positionamountdata.PositionAmountData + //PositionAmountData is a non-required component for TradeCaptureReportAck. + PositionAmountData *positionamountdata.PositionAmountData //TierCode is a non-required field for TradeCaptureReportAck. TierCode *string `fix:"994"` //MessageEventSource is a non-required field for TradeCaptureReportAck. @@ -140,8 +140,8 @@ type Message struct { LastUpdateTime *time.Time `fix:"779"` //RndPx is a non-required field for TradeCaptureReportAck. RndPx *float64 `fix:"991"` - //TrdCapRptAckSideGrp Component - trdcaprptacksidegrp.TrdCapRptAckSideGrp + //TrdCapRptAckSideGrp is a non-required component for TradeCaptureReportAck. + TrdCapRptAckSideGrp *trdcaprptacksidegrp.TrdCapRptAckSideGrp //AsOfIndicator is a non-required field for TradeCaptureReportAck. AsOfIndicator *string `fix:"1015"` //TradeID is a non-required field for TradeCaptureReportAck. @@ -158,8 +158,8 @@ type Message struct { LastSwapPoints *float64 `fix:"1071"` //GrossTradeAmt is a non-required field for TradeCaptureReportAck. GrossTradeAmt *float64 `fix:"381"` - //RootParties Component - rootparties.RootParties + //RootParties is a non-required component for TradeCaptureReportAck. + RootParties *rootparties.RootParties //TradeHandlingInstr is a non-required field for TradeCaptureReportAck. TradeHandlingInstr *string `fix:"1123"` //OrigTradeHandlingInstr is a non-required field for TradeCaptureReportAck. @@ -170,8 +170,8 @@ type Message struct { OrigTradeID *string `fix:"1126"` //OrigSecondaryTradeID is a non-required field for TradeCaptureReportAck. OrigSecondaryTradeID *string `fix:"1127"` - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp + //UndInstrmtGrp is a non-required component for TradeCaptureReportAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //RptSys is a non-required field for TradeCaptureReportAck. RptSys *string `fix:"1135"` //Currency is a non-required field for TradeCaptureReportAck. @@ -180,8 +180,8 @@ type Message struct { SettlCurrency *string `fix:"120"` //FeeMultiplier is a non-required field for TradeCaptureReportAck. FeeMultiplier *float64 `fix:"1329"` - //TrdRepIndicatorsGrp Component - trdrepindicatorsgrp.TrdRepIndicatorsGrp + //TrdRepIndicatorsGrp is a non-required component for TradeCaptureReportAck. + TrdRepIndicatorsGrp *trdrepindicatorsgrp.TrdRepIndicatorsGrp //TradePublishIndicator is a non-required field for TradeCaptureReportAck. TradePublishIndicator *int `fix:"1390"` //VenueType is a non-required field for TradeCaptureReportAck. @@ -196,83 +196,97 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } -func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } -func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } -func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } -func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } -func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } -func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } -func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } -func (m *Message) SetPriceType(v int) { m.PriceType = &v } -func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } -func (m *Message) SetQtyType(v int) { m.QtyType = &v } -func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } -func (m *Message) SetLastQty(v float64) { m.LastQty = &v } -func (m *Message) SetLastPx(v float64) { m.LastPx = &v } -func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } -func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } -func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } -func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } -func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } -func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } -func (m *Message) SetSettlType(v string) { m.SettlType = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetMatchType(v string) { m.MatchType = &v } -func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } -func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } -func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } -func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } -func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } -func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } -func (m *Message) SetTierCode(v string) { m.TierCode = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } -func (m *Message) SetRndPx(v float64) { m.RndPx = &v } -func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } -func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } -func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } -func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } -func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } -func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } -func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } -func (m *Message) SetRptSys(v string) { m.RptSys = &v } -func (m *Message) SetCurrency(v string) { m.Currency = &v } -func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } -func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } -func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } -func (m *Message) SetVenueType(v string) { m.VenueType = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetTradeReportTransType(v int) { m.TradeReportTransType = &v } +func (m *Message) SetTradeReportType(v int) { m.TradeReportType = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetTradeReportRefID(v string) { m.TradeReportRefID = &v } +func (m *Message) SetSecondaryTradeReportRefID(v string) { m.SecondaryTradeReportRefID = &v } +func (m *Message) SetTrdRptStatus(v int) { m.TrdRptStatus = &v } +func (m *Message) SetTradeReportRejectReason(v int) { m.TradeReportRejectReason = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetSecondaryExecID(v string) { m.SecondaryExecID = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = v } +func (m *Message) SetTransactTime(v time.Time) { m.TransactTime = &v } +func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps) { m.TrdRegTimestamps = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetTrdInstrmtLegGrp(v trdinstrmtleggrp.TrdInstrmtLegGrp) { m.TrdInstrmtLegGrp = &v } +func (m *Message) SetClearingFeeIndicator(v string) { m.ClearingFeeIndicator = &v } +func (m *Message) SetExecRestatementReason(v int) { m.ExecRestatementReason = &v } +func (m *Message) SetPreviouslyReported(v bool) { m.PreviouslyReported = &v } +func (m *Message) SetPriceType(v int) { m.PriceType = &v } +func (m *Message) SetUnderlyingTradingSessionID(v string) { m.UnderlyingTradingSessionID = &v } +func (m *Message) SetQtyType(v int) { m.QtyType = &v } +func (m *Message) SetUnderlyingTradingSessionSubID(v string) { m.UnderlyingTradingSessionSubID = &v } +func (m *Message) SetLastQty(v float64) { m.LastQty = &v } +func (m *Message) SetLastPx(v float64) { m.LastPx = &v } +func (m *Message) SetLastParPx(v float64) { m.LastParPx = &v } +func (m *Message) SetLastSpotRate(v float64) { m.LastSpotRate = &v } +func (m *Message) SetLastForwardPoints(v float64) { m.LastForwardPoints = &v } +func (m *Message) SetLastMkt(v string) { m.LastMkt = &v } +func (m *Message) SetTradeDate(v string) { m.TradeDate = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetAvgPx(v float64) { m.AvgPx = &v } +func (m *Message) SetAvgPxIndicator(v int) { m.AvgPxIndicator = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeLegRefID(v string) { m.TradeLegRefID = &v } +func (m *Message) SetSettlType(v string) { m.SettlType = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetMatchType(v string) { m.MatchType = &v } +func (m *Message) SetCopyMsgIndicator(v bool) { m.CopyMsgIndicator = &v } +func (m *Message) SetPublishTrdIndicator(v bool) { m.PublishTrdIndicator = &v } +func (m *Message) SetShortSaleReason(v int) { m.ShortSaleReason = &v } +func (m *Message) SetSettlDate(v string) { m.SettlDate = &v } +func (m *Message) SetSettlSessID(v string) { m.SettlSessID = &v } +func (m *Message) SetSettlSessSubID(v string) { m.SettlSessSubID = &v } +func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData) { + m.PositionAmountData = &v +} +func (m *Message) SetTierCode(v string) { m.TierCode = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetLastUpdateTime(v time.Time) { m.LastUpdateTime = &v } +func (m *Message) SetRndPx(v float64) { m.RndPx = &v } +func (m *Message) SetTrdCapRptAckSideGrp(v trdcaprptacksidegrp.TrdCapRptAckSideGrp) { + m.TrdCapRptAckSideGrp = &v +} +func (m *Message) SetAsOfIndicator(v string) { m.AsOfIndicator = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetCalculatedCcyLastQty(v float64) { m.CalculatedCcyLastQty = &v } +func (m *Message) SetLastSwapPoints(v float64) { m.LastSwapPoints = &v } +func (m *Message) SetGrossTradeAmt(v float64) { m.GrossTradeAmt = &v } +func (m *Message) SetRootParties(v rootparties.RootParties) { m.RootParties = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetOrigTradeHandlingInstr(v string) { m.OrigTradeHandlingInstr = &v } +func (m *Message) SetOrigTradeDate(v string) { m.OrigTradeDate = &v } +func (m *Message) SetOrigTradeID(v string) { m.OrigTradeID = &v } +func (m *Message) SetOrigSecondaryTradeID(v string) { m.OrigSecondaryTradeID = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetRptSys(v string) { m.RptSys = &v } +func (m *Message) SetCurrency(v string) { m.Currency = &v } +func (m *Message) SetSettlCurrency(v string) { m.SettlCurrency = &v } +func (m *Message) SetFeeMultiplier(v float64) { m.FeeMultiplier = &v } +func (m *Message) SetTrdRepIndicatorsGrp(v trdrepindicatorsgrp.TrdRepIndicatorsGrp) { + m.TrdRepIndicatorsGrp = &v +} +func (m *Message) SetTradePublishIndicator(v int) { m.TradePublishIndicator = &v } +func (m *Message) SetVenueType(v string) { m.VenueType = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/tradecapturereportrequest/TradeCaptureReportRequest.go b/fix50sp2/tradecapturereportrequest/TradeCaptureReportRequest.go index d553d23c1..b6ecd925a 100644 --- a/fix50sp2/tradecapturereportrequest/TradeCaptureReportRequest.go +++ b/fix50sp2/tradecapturereportrequest/TradeCaptureReportRequest.go @@ -50,20 +50,20 @@ type Message struct { TradeLinkID *string `fix:"820"` //TrdMatchID is a non-required field for TradeCaptureReportRequest. TrdMatchID *string `fix:"880"` - //Parties Component - parties.Parties - //Instrument Component - instrument.Instrument - //InstrumentExtension Component - instrumentextension.InstrumentExtension - //FinancingDetails Component - financingdetails.FinancingDetails - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp - //TrdCapDtGrp Component - trdcapdtgrp.TrdCapDtGrp + //Parties is a non-required component for TradeCaptureReportRequest. + Parties *parties.Parties + //Instrument is a non-required component for TradeCaptureReportRequest. + Instrument *instrument.Instrument + //InstrumentExtension is a non-required component for TradeCaptureReportRequest. + InstrumentExtension *instrumentextension.InstrumentExtension + //FinancingDetails is a non-required component for TradeCaptureReportRequest. + FinancingDetails *financingdetails.FinancingDetails + //UndInstrmtGrp is a non-required component for TradeCaptureReportRequest. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for TradeCaptureReportRequest. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp + //TrdCapDtGrp is a non-required component for TradeCaptureReportRequest. + TrdCapDtGrp *trdcapdtgrp.TrdCapDtGrp //ClearingBusinessDate is a non-required field for TradeCaptureReportRequest. ClearingBusinessDate *string `fix:"715"` //TradingSessionID is a non-required field for TradeCaptureReportRequest. @@ -108,41 +108,50 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } -func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } -func (m *Message) SetExecID(v string) { m.ExecID = &v } -func (m *Message) SetExecType(v string) { m.ExecType = &v } -func (m *Message) SetOrderID(v string) { m.OrderID = &v } -func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } -func (m *Message) SetTrdType(v int) { m.TrdType = &v } -func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } -func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } -func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } -func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } -func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } -func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } -func (m *Message) SetSide(v string) { m.Side = &v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } -func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } -func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTradeReportID(v string) { m.TradeReportID = &v } +func (m *Message) SetSecondaryTradeReportID(v string) { m.SecondaryTradeReportID = &v } +func (m *Message) SetExecID(v string) { m.ExecID = &v } +func (m *Message) SetExecType(v string) { m.ExecType = &v } +func (m *Message) SetOrderID(v string) { m.OrderID = &v } +func (m *Message) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *Message) SetMatchStatus(v string) { m.MatchStatus = &v } +func (m *Message) SetTrdType(v int) { m.TrdType = &v } +func (m *Message) SetTrdSubType(v int) { m.TrdSubType = &v } +func (m *Message) SetTransferReason(v string) { m.TransferReason = &v } +func (m *Message) SetSecondaryTrdType(v int) { m.SecondaryTrdType = &v } +func (m *Message) SetTradeLinkID(v string) { m.TradeLinkID = &v } +func (m *Message) SetTrdMatchID(v string) { m.TrdMatchID = &v } +func (m *Message) SetParties(v parties.Parties) { m.Parties = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension) { + m.InstrumentExtension = &v +} +func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails) { m.FinancingDetails = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetTrdCapDtGrp(v trdcapdtgrp.TrdCapDtGrp) { m.TrdCapDtGrp = &v } +func (m *Message) SetClearingBusinessDate(v string) { m.ClearingBusinessDate = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = &v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTimeBracket(v string) { m.TimeBracket = &v } +func (m *Message) SetSide(v string) { m.Side = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetTradeInputSource(v string) { m.TradeInputSource = &v } +func (m *Message) SetTradeInputDevice(v string) { m.TradeInputDevice = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetTradeHandlingInstr(v string) { m.TradeHandlingInstr = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/tradecapturereportrequestack/TradeCaptureReportRequestAck.go b/fix50sp2/tradecapturereportrequestack/TradeCaptureReportRequestAck.go index 991e655cc..02ae17bd1 100644 --- a/fix50sp2/tradecapturereportrequestack/TradeCaptureReportRequestAck.go +++ b/fix50sp2/tradecapturereportrequestack/TradeCaptureReportRequestAck.go @@ -26,12 +26,12 @@ type Message struct { TradeRequestResult int `fix:"749"` //TradeRequestStatus is a required field for TradeCaptureReportRequestAck. TradeRequestStatus int `fix:"750"` - //Instrument Component - instrument.Instrument - //UndInstrmtGrp Component - undinstrmtgrp.UndInstrmtGrp - //InstrmtLegGrp Component - instrmtleggrp.InstrmtLegGrp + //Instrument is a non-required component for TradeCaptureReportRequestAck. + Instrument *instrument.Instrument + //UndInstrmtGrp is a non-required component for TradeCaptureReportRequestAck. + UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp + //InstrmtLegGrp is a non-required component for TradeCaptureReportRequestAck. + InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //MultiLegReportingType is a non-required field for TradeCaptureReportRequestAck. MultiLegReportingType *string `fix:"442"` //ResponseTransportType is a non-required field for TradeCaptureReportRequestAck. @@ -60,23 +60,26 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } -func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } -func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } -func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } -func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } -func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } -func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } -func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } -func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } -func (m *Message) SetTradeID(v string) { m.TradeID = &v } -func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } -func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } -func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } +func (m *Message) SetTradeRequestID(v string) { m.TradeRequestID = v } +func (m *Message) SetTradeRequestType(v int) { m.TradeRequestType = v } +func (m *Message) SetSubscriptionRequestType(v string) { m.SubscriptionRequestType = &v } +func (m *Message) SetTotNumTradeReports(v int) { m.TotNumTradeReports = &v } +func (m *Message) SetTradeRequestResult(v int) { m.TradeRequestResult = v } +func (m *Message) SetTradeRequestStatus(v int) { m.TradeRequestStatus = v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp) { m.UndInstrmtGrp = &v } +func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp) { m.InstrmtLegGrp = &v } +func (m *Message) SetMultiLegReportingType(v string) { m.MultiLegReportingType = &v } +func (m *Message) SetResponseTransportType(v int) { m.ResponseTransportType = &v } +func (m *Message) SetResponseDestination(v string) { m.ResponseDestination = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetMessageEventSource(v string) { m.MessageEventSource = &v } +func (m *Message) SetTradeID(v string) { m.TradeID = &v } +func (m *Message) SetSecondaryTradeID(v string) { m.SecondaryTradeID = &v } +func (m *Message) SetFirmTradeID(v string) { m.FirmTradeID = &v } +func (m *Message) SetSecondaryFirmTradeID(v string) { m.SecondaryFirmTradeID = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go b/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go index c272c79b6..b0bed1740 100644 --- a/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go +++ b/fix50sp2/tradereportorderdetail/TradeReportOrderDetail.go @@ -34,8 +34,8 @@ type TradeReportOrderDetail struct { ExecInst *string `fix:"18"` //OrdStatus is a non-required field for TradeReportOrderDetail. OrdStatus *string `fix:"39"` - //OrderQtyData Component - orderqtydata.OrderQtyData + //OrderQtyData is a non-required component for TradeReportOrderDetail. + OrderQtyData *orderqtydata.OrderQtyData //LeavesQty is a non-required field for TradeReportOrderDetail. LeavesQty *float64 `fix:"151"` //CumQty is a non-required field for TradeReportOrderDetail. @@ -44,8 +44,8 @@ type TradeReportOrderDetail struct { TimeInForce *string `fix:"59"` //ExpireTime is a non-required field for TradeReportOrderDetail. ExpireTime *time.Time `fix:"126"` - //DisplayInstruction Component - displayinstruction.DisplayInstruction + //DisplayInstruction is a non-required component for TradeReportOrderDetail. + DisplayInstruction *displayinstruction.DisplayInstruction //OrderCapacity is a non-required field for TradeReportOrderDetail. OrderCapacity *string `fix:"528"` //OrderRestrictions is a non-required field for TradeReportOrderDetail. @@ -64,23 +64,27 @@ type TradeReportOrderDetail struct { BookingType *int `fix:"775"` } -func (m *TradeReportOrderDetail) SetOrderID(v string) { m.OrderID = &v } -func (m *TradeReportOrderDetail) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } -func (m *TradeReportOrderDetail) SetClOrdID(v string) { m.ClOrdID = &v } -func (m *TradeReportOrderDetail) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } -func (m *TradeReportOrderDetail) SetListID(v string) { m.ListID = &v } -func (m *TradeReportOrderDetail) SetRefOrderID(v string) { m.RefOrderID = &v } -func (m *TradeReportOrderDetail) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } -func (m *TradeReportOrderDetail) SetRefOrdIDReason(v int) { m.RefOrdIDReason = &v } -func (m *TradeReportOrderDetail) SetOrdType(v string) { m.OrdType = &v } -func (m *TradeReportOrderDetail) SetPrice(v float64) { m.Price = &v } -func (m *TradeReportOrderDetail) SetStopPx(v float64) { m.StopPx = &v } -func (m *TradeReportOrderDetail) SetExecInst(v string) { m.ExecInst = &v } -func (m *TradeReportOrderDetail) SetOrdStatus(v string) { m.OrdStatus = &v } -func (m *TradeReportOrderDetail) SetLeavesQty(v float64) { m.LeavesQty = &v } -func (m *TradeReportOrderDetail) SetCumQty(v float64) { m.CumQty = &v } -func (m *TradeReportOrderDetail) SetTimeInForce(v string) { m.TimeInForce = &v } -func (m *TradeReportOrderDetail) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *TradeReportOrderDetail) SetOrderID(v string) { m.OrderID = &v } +func (m *TradeReportOrderDetail) SetSecondaryOrderID(v string) { m.SecondaryOrderID = &v } +func (m *TradeReportOrderDetail) SetClOrdID(v string) { m.ClOrdID = &v } +func (m *TradeReportOrderDetail) SetSecondaryClOrdID(v string) { m.SecondaryClOrdID = &v } +func (m *TradeReportOrderDetail) SetListID(v string) { m.ListID = &v } +func (m *TradeReportOrderDetail) SetRefOrderID(v string) { m.RefOrderID = &v } +func (m *TradeReportOrderDetail) SetRefOrderIDSource(v string) { m.RefOrderIDSource = &v } +func (m *TradeReportOrderDetail) SetRefOrdIDReason(v int) { m.RefOrdIDReason = &v } +func (m *TradeReportOrderDetail) SetOrdType(v string) { m.OrdType = &v } +func (m *TradeReportOrderDetail) SetPrice(v float64) { m.Price = &v } +func (m *TradeReportOrderDetail) SetStopPx(v float64) { m.StopPx = &v } +func (m *TradeReportOrderDetail) SetExecInst(v string) { m.ExecInst = &v } +func (m *TradeReportOrderDetail) SetOrdStatus(v string) { m.OrdStatus = &v } +func (m *TradeReportOrderDetail) SetOrderQtyData(v orderqtydata.OrderQtyData) { m.OrderQtyData = &v } +func (m *TradeReportOrderDetail) SetLeavesQty(v float64) { m.LeavesQty = &v } +func (m *TradeReportOrderDetail) SetCumQty(v float64) { m.CumQty = &v } +func (m *TradeReportOrderDetail) SetTimeInForce(v string) { m.TimeInForce = &v } +func (m *TradeReportOrderDetail) SetExpireTime(v time.Time) { m.ExpireTime = &v } +func (m *TradeReportOrderDetail) SetDisplayInstruction(v displayinstruction.DisplayInstruction) { + m.DisplayInstruction = &v +} func (m *TradeReportOrderDetail) SetOrderCapacity(v string) { m.OrderCapacity = &v } func (m *TradeReportOrderDetail) SetOrderRestrictions(v string) { m.OrderRestrictions = &v } func (m *TradeReportOrderDetail) SetOrigCustOrderCapacity(v int) { m.OrigCustOrderCapacity = &v } diff --git a/fix50sp2/tradingsessionlist/TradingSessionList.go b/fix50sp2/tradingsessionlist/TradingSessionList.go index f840088d6..c3b6b2d83 100644 --- a/fix50sp2/tradingsessionlist/TradingSessionList.go +++ b/fix50sp2/tradingsessionlist/TradingSessionList.go @@ -15,17 +15,21 @@ type Message struct { fixt11.Header //TradSesReqID is a non-required field for TradingSessionList. TradSesReqID *string `fix:"335"` - //TrdSessLstGrp Component + //TrdSessLstGrp is a required component for TradingSessionList. trdsesslstgrp.TrdSessLstGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradingSessionList. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTrdSessLstGrp(v trdsesslstgrp.TrdSessLstGrp) { m.TrdSessLstGrp = v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go b/fix50sp2/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go index 60f0e2988..49206d7e7 100644 --- a/fix50sp2/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go +++ b/fix50sp2/tradingsessionlistupdatereport/TradingSessionListUpdateReport.go @@ -15,17 +15,21 @@ type Message struct { fixt11.Header //TradSesReqID is a non-required field for TradingSessionListUpdateReport. TradSesReqID *string `fix:"335"` - //TrdSessLstGrp Component + //TrdSessLstGrp is a required component for TradingSessionListUpdateReport. trdsesslstgrp.TrdSessLstGrp - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradingSessionListUpdateReport. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTrdSessLstGrp(v trdsesslstgrp.TrdSessLstGrp) { m.TrdSessLstGrp = v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/tradingsessionrules/TradingSessionRules.go b/fix50sp2/tradingsessionrules/TradingSessionRules.go index 3710de04b..e2009baed 100644 --- a/fix50sp2/tradingsessionrules/TradingSessionRules.go +++ b/fix50sp2/tradingsessionrules/TradingSessionRules.go @@ -10,14 +10,24 @@ import ( //TradingSessionRules is a fix50sp2 Component type TradingSessionRules struct { - //OrdTypeRules Component - ordtyperules.OrdTypeRules - //TimeInForceRules Component - timeinforcerules.TimeInForceRules - //ExecInstRules Component - execinstrules.ExecInstRules - //MatchRules Component - matchrules.MatchRules - //MarketDataFeedTypes Component - marketdatafeedtypes.MarketDataFeedTypes + //OrdTypeRules is a non-required component for TradingSessionRules. + OrdTypeRules *ordtyperules.OrdTypeRules + //TimeInForceRules is a non-required component for TradingSessionRules. + TimeInForceRules *timeinforcerules.TimeInForceRules + //ExecInstRules is a non-required component for TradingSessionRules. + ExecInstRules *execinstrules.ExecInstRules + //MatchRules is a non-required component for TradingSessionRules. + MatchRules *matchrules.MatchRules + //MarketDataFeedTypes is a non-required component for TradingSessionRules. + MarketDataFeedTypes *marketdatafeedtypes.MarketDataFeedTypes +} + +func (m *TradingSessionRules) SetOrdTypeRules(v ordtyperules.OrdTypeRules) { m.OrdTypeRules = &v } +func (m *TradingSessionRules) SetTimeInForceRules(v timeinforcerules.TimeInForceRules) { + m.TimeInForceRules = &v +} +func (m *TradingSessionRules) SetExecInstRules(v execinstrules.ExecInstRules) { m.ExecInstRules = &v } +func (m *TradingSessionRules) SetMatchRules(v matchrules.MatchRules) { m.MatchRules = &v } +func (m *TradingSessionRules) SetMarketDataFeedTypes(v marketdatafeedtypes.MarketDataFeedTypes) { + m.MarketDataFeedTypes = &v } diff --git a/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go b/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go index fffa84a97..845169513 100644 --- a/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go +++ b/fix50sp2/tradingsessionrulesgrp/TradingSessionRulesGrp.go @@ -10,8 +10,8 @@ type NoTradingSessionRules struct { TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for NoTradingSessionRules. TradingSessionSubID *string `fix:"625"` - //TradingSessionRules Component - tradingsessionrules.TradingSessionRules + //TradingSessionRules is a non-required component for NoTradingSessionRules. + TradingSessionRules *tradingsessionrules.TradingSessionRules } //TradingSessionRulesGrp is a fix50sp2 Component diff --git a/fix50sp2/tradingsessionstatus/TradingSessionStatus.go b/fix50sp2/tradingsessionstatus/TradingSessionStatus.go index d8405f353..31bf129ce 100644 --- a/fix50sp2/tradingsessionstatus/TradingSessionStatus.go +++ b/fix50sp2/tradingsessionstatus/TradingSessionStatus.go @@ -48,42 +48,46 @@ type Message struct { EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for TradingSessionStatus. EncodedText *string `fix:"355"` - //Instrument Component - instrument.Instrument + //Instrument is a non-required component for TradingSessionStatus. + Instrument *instrument.Instrument //MarketID is a non-required field for TradingSessionStatus. MarketID *string `fix:"1301"` //MarketSegmentID is a non-required field for TradingSessionStatus. MarketSegmentID *string `fix:"1300"` //TradSesEvent is a non-required field for TradingSessionStatus. TradSesEvent *int `fix:"1368"` - //ApplicationSequenceControl Component - applicationsequencecontrol.ApplicationSequenceControl + //ApplicationSequenceControl is a non-required component for TradingSessionStatus. + ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } -func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = v } -func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } -func (m *Message) SetTradSesMethod(v int) { m.TradSesMethod = &v } -func (m *Message) SetTradSesMode(v int) { m.TradSesMode = &v } -func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } -func (m *Message) SetTradSesStatus(v int) { m.TradSesStatus = v } -func (m *Message) SetTradSesStatusRejReason(v int) { m.TradSesStatusRejReason = &v } -func (m *Message) SetTradSesStartTime(v time.Time) { m.TradSesStartTime = &v } -func (m *Message) SetTradSesOpenTime(v time.Time) { m.TradSesOpenTime = &v } -func (m *Message) SetTradSesPreCloseTime(v time.Time) { m.TradSesPreCloseTime = &v } -func (m *Message) SetTradSesCloseTime(v time.Time) { m.TradSesCloseTime = &v } -func (m *Message) SetTradSesEndTime(v time.Time) { m.TradSesEndTime = &v } -func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } -func (m *Message) SetMarketID(v string) { m.MarketID = &v } -func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } -func (m *Message) SetTradSesEvent(v int) { m.TradSesEvent = &v } +func (m *Message) SetTradSesReqID(v string) { m.TradSesReqID = &v } +func (m *Message) SetTradingSessionID(v string) { m.TradingSessionID = v } +func (m *Message) SetTradingSessionSubID(v string) { m.TradingSessionSubID = &v } +func (m *Message) SetTradSesMethod(v int) { m.TradSesMethod = &v } +func (m *Message) SetTradSesMode(v int) { m.TradSesMode = &v } +func (m *Message) SetUnsolicitedIndicator(v bool) { m.UnsolicitedIndicator = &v } +func (m *Message) SetTradSesStatus(v int) { m.TradSesStatus = v } +func (m *Message) SetTradSesStatusRejReason(v int) { m.TradSesStatusRejReason = &v } +func (m *Message) SetTradSesStartTime(v time.Time) { m.TradSesStartTime = &v } +func (m *Message) SetTradSesOpenTime(v time.Time) { m.TradSesOpenTime = &v } +func (m *Message) SetTradSesPreCloseTime(v time.Time) { m.TradSesPreCloseTime = &v } +func (m *Message) SetTradSesCloseTime(v time.Time) { m.TradSesCloseTime = &v } +func (m *Message) SetTradSesEndTime(v time.Time) { m.TradSesEndTime = &v } +func (m *Message) SetTotalVolumeTraded(v float64) { m.TotalVolumeTraded = &v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetInstrument(v instrument.Instrument) { m.Instrument = &v } +func (m *Message) SetMarketID(v string) { m.MarketID = &v } +func (m *Message) SetMarketSegmentID(v string) { m.MarketSegmentID = &v } +func (m *Message) SetTradSesEvent(v int) { m.TradSesEvent = &v } +func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl) { + m.ApplicationSequenceControl = &v +} //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fix50sp2/trdallocgrp/TrdAllocGrp.go b/fix50sp2/trdallocgrp/TrdAllocGrp.go index 797ec366e..f9e50fa43 100644 --- a/fix50sp2/trdallocgrp/TrdAllocGrp.go +++ b/fix50sp2/trdallocgrp/TrdAllocGrp.go @@ -14,8 +14,8 @@ type NoAllocs struct { AllocSettlCurrency *string `fix:"736"` //IndividualAllocID is a non-required field for NoAllocs. IndividualAllocID *string `fix:"467"` - //NestedParties2 Component - nestedparties2.NestedParties2 + //NestedParties2 is a non-required component for NoAllocs. + NestedParties2 *nestedparties2.NestedParties2 //AllocQty is a non-required field for NoAllocs. AllocQty *float64 `fix:"80"` //AllocCustomerCapacity is a non-required field for NoAllocs. diff --git a/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go b/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go index dd98da323..9f3a82e3f 100644 --- a/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go +++ b/fix50sp2/trdcaprptacksidegrp/TrdCapRptAckSideGrp.go @@ -17,8 +17,8 @@ import ( type NoSides struct { //Side is a required field for NoSides. Side string `fix:"54"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoSides. @@ -29,8 +29,8 @@ type NoSides struct { ProcessCode *string `fix:"81"` //OddLot is a non-required field for NoSides. OddLot *bool `fix:"575"` - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //ClrInstGrp is a non-required component for NoSides. + ClrInstGrp *clrinstgrp.ClrInstGrp //TradeInputSource is a non-required field for NoSides. TradeInputSource *string `fix:"578"` //TradeInputDevice is a non-required field for NoSides. @@ -47,8 +47,8 @@ type NoSides struct { TradingSessionSubID *string `fix:"625"` //TimeBracket is a non-required field for NoSides. TimeBracket *string `fix:"943"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //NumDaysInterest is a non-required field for NoSides. NumDaysInterest *int `fix:"157"` //ExDate is a non-required field for NoSides. @@ -81,12 +81,12 @@ type NoSides struct { PositionEffect *string `fix:"77"` //SideMultiLegReportingType is a non-required field for NoSides. SideMultiLegReportingType *int `fix:"752"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //ContAmtGrp is a non-required component for NoSides. + ContAmtGrp *contamtgrp.ContAmtGrp + //Stipulations is a non-required component for NoSides. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for NoSides. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //ExchangeRule is a non-required field for NoSides. ExchangeRule *string `fix:"825"` //TradeAllocIndicator is a non-required field for NoSides. @@ -95,8 +95,8 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //TrdAllocGrp Component - trdallocgrp.TrdAllocGrp + //TrdAllocGrp is a non-required component for NoSides. + TrdAllocGrp *trdallocgrp.TrdAllocGrp //SideGrossTradeAmt is a non-required field for NoSides. SideGrossTradeAmt *float64 `fix:"1072"` //AggressorIndicator is a non-required field for NoSides. @@ -113,16 +113,16 @@ type NoSides struct { RptSeq *int `fix:"83"` //SideTrdSubTyp is a non-required field for NoSides. SideTrdSubTyp *int `fix:"1008"` - //SideTrdRegTS Component - sidetrdregts.SideTrdRegTS + //SideTrdRegTS is a non-required component for NoSides. + SideTrdRegTS *sidetrdregts.SideTrdRegTS //NetGrossInd is a non-required field for NoSides. NetGrossInd *int `fix:"430"` //SideCurrency is a non-required field for NoSides. SideCurrency *string `fix:"1154"` //SideSettlCurrency is a non-required field for NoSides. SideSettlCurrency *string `fix:"1155"` - //SettlDetails Component - settldetails.SettlDetails + //SettlDetails is a non-required component for NoSides. + SettlDetails *settldetails.SettlDetails //SideExecID is a non-required field for NoSides. SideExecID *string `fix:"1427"` //OrderDelay is a non-required field for NoSides. @@ -131,8 +131,8 @@ type NoSides struct { OrderDelayUnit *int `fix:"1429"` //OrderCategory is a non-required field for NoSides. OrderCategory *string `fix:"1115"` - //TradeReportOrderDetail Component - tradereportorderdetail.TradeReportOrderDetail + //TradeReportOrderDetail is a non-required component for NoSides. + TradeReportOrderDetail *tradereportorderdetail.TradeReportOrderDetail } //TrdCapRptAckSideGrp is a fix50sp2 Component diff --git a/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go b/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go index 9bd7b2fd1..160bd2724 100644 --- a/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go +++ b/fix50sp2/trdcaprptsidegrp/TrdCapRptSideGrp.go @@ -17,8 +17,8 @@ import ( type NoSides struct { //Side is a required field for NoSides. Side string `fix:"54"` - //Parties Component - parties.Parties + //Parties is a non-required component for NoSides. + Parties *parties.Parties //Account is a non-required field for NoSides. Account *string `fix:"1"` //AcctIDSource is a non-required field for NoSides. @@ -29,8 +29,8 @@ type NoSides struct { ProcessCode *string `fix:"81"` //OddLot is a non-required field for NoSides. OddLot *bool `fix:"575"` - //ClrInstGrp Component - clrinstgrp.ClrInstGrp + //ClrInstGrp is a non-required component for NoSides. + ClrInstGrp *clrinstgrp.ClrInstGrp //TradeInputSource is a non-required field for NoSides. TradeInputSource *string `fix:"578"` //TradeInputDevice is a non-required field for NoSides. @@ -47,8 +47,8 @@ type NoSides struct { TradingSessionSubID *string `fix:"625"` //TimeBracket is a non-required field for NoSides. TimeBracket *string `fix:"943"` - //CommissionData Component - commissiondata.CommissionData + //CommissionData is a non-required component for NoSides. + CommissionData *commissiondata.CommissionData //NumDaysInterest is a non-required field for NoSides. NumDaysInterest *int `fix:"157"` //ExDate is a non-required field for NoSides. @@ -87,12 +87,12 @@ type NoSides struct { EncodedText *string `fix:"355"` //SideMultiLegReportingType is a non-required field for NoSides. SideMultiLegReportingType *int `fix:"752"` - //ContAmtGrp Component - contamtgrp.ContAmtGrp - //Stipulations Component - stipulations.Stipulations - //MiscFeesGrp Component - miscfeesgrp.MiscFeesGrp + //ContAmtGrp is a non-required component for NoSides. + ContAmtGrp *contamtgrp.ContAmtGrp + //Stipulations is a non-required component for NoSides. + Stipulations *stipulations.Stipulations + //MiscFeesGrp is a non-required component for NoSides. + MiscFeesGrp *miscfeesgrp.MiscFeesGrp //ExchangeRule is a non-required field for NoSides. ExchangeRule *string `fix:"825"` //TradeAllocIndicator is a non-required field for NoSides. @@ -101,8 +101,8 @@ type NoSides struct { PreallocMethod *string `fix:"591"` //AllocID is a non-required field for NoSides. AllocID *string `fix:"70"` - //TrdAllocGrp Component - trdallocgrp.TrdAllocGrp + //TrdAllocGrp is a non-required component for NoSides. + TrdAllocGrp *trdallocgrp.TrdAllocGrp //SideLastQty is a non-required field for NoSides. SideLastQty *int `fix:"1009"` //SideTradeReportID is a non-required field for NoSides. @@ -115,8 +115,8 @@ type NoSides struct { RptSeq *int `fix:"83"` //SideTrdSubTyp is a non-required field for NoSides. SideTrdSubTyp *int `fix:"1008"` - //SideTrdRegTS Component - sidetrdregts.SideTrdRegTS + //SideTrdRegTS is a non-required component for NoSides. + SideTrdRegTS *sidetrdregts.SideTrdRegTS //SideGrossTradeAmt is a non-required field for NoSides. SideGrossTradeAmt *float64 `fix:"1072"` //AggressorIndicator is a non-required field for NoSides. @@ -129,12 +129,12 @@ type NoSides struct { SideCurrency *string `fix:"1154"` //SideSettlCurrency is a non-required field for NoSides. SideSettlCurrency *string `fix:"1155"` - //SettlDetails Component - settldetails.SettlDetails + //SettlDetails is a non-required component for NoSides. + SettlDetails *settldetails.SettlDetails //OrderCategory is a non-required field for NoSides. OrderCategory *string `fix:"1115"` - //TradeReportOrderDetail Component - tradereportorderdetail.TradeReportOrderDetail + //TradeReportOrderDetail is a non-required component for NoSides. + TradeReportOrderDetail *tradereportorderdetail.TradeReportOrderDetail //SideExecID is a non-required field for NoSides. SideExecID *string `fix:"1427"` //OrderDelay is a non-required field for NoSides. diff --git a/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go b/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go index ba9fae2f4..48517db57 100644 --- a/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go +++ b/fix50sp2/trdinstrmtleggrp/TrdInstrmtLegGrp.go @@ -9,20 +9,20 @@ import ( //NoLegs is a repeating group in TrdInstrmtLegGrp type NoLegs struct { - //InstrumentLeg Component - instrumentleg.InstrumentLeg + //InstrumentLeg is a non-required component for NoLegs. + InstrumentLeg *instrumentleg.InstrumentLeg //LegQty is a non-required field for NoLegs. LegQty *float64 `fix:"687"` //LegSwapType is a non-required field for NoLegs. LegSwapType *int `fix:"690"` - //LegStipulations Component - legstipulations.LegStipulations + //LegStipulations is a non-required component for NoLegs. + LegStipulations *legstipulations.LegStipulations //LegPositionEffect is a non-required field for NoLegs. LegPositionEffect *string `fix:"564"` //LegCoveredOrUncovered is a non-required field for NoLegs. LegCoveredOrUncovered *int `fix:"565"` - //NestedParties Component - nestedparties.NestedParties + //NestedParties is a non-required component for NoLegs. + NestedParties *nestedparties.NestedParties //LegRefID is a non-required field for NoLegs. LegRefID *string `fix:"654"` //LegSettlType is a non-required field for NoLegs. @@ -43,8 +43,8 @@ type NoLegs struct { LegGrossTradeAmt *float64 `fix:"1075"` //LegNumber is a non-required field for NoLegs. LegNumber *int `fix:"1152"` - //TradeCapLegUnderlyingsGrp Component - tradecaplegunderlyingsgrp.TradeCapLegUnderlyingsGrp + //TradeCapLegUnderlyingsGrp is a non-required component for NoLegs. + TradeCapLegUnderlyingsGrp *tradecaplegunderlyingsgrp.TradeCapLegUnderlyingsGrp //LegVolatility is a non-required field for NoLegs. LegVolatility *float64 `fix:"1379"` //LegDividendYield is a non-required field for NoLegs. diff --git a/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go b/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go index 76ad3a9a5..d3e0db2ad 100644 --- a/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go +++ b/fix50sp2/trdsesslstgrp/TrdSessLstGrp.go @@ -47,8 +47,8 @@ type NoTradingSessions struct { MarketSegmentID *string `fix:"1300"` //TradingSessionDesc is a non-required field for NoTradingSessions. TradingSessionDesc *string `fix:"1326"` - //TradingSessionRules Component - tradingsessionrules.TradingSessionRules + //TradingSessionRules is a non-required component for NoTradingSessions. + TradingSessionRules *tradingsessionrules.TradingSessionRules //TransactTime is a non-required field for NoTradingSessions. TransactTime *time.Time `fix:"60"` //TradSesUpdateAction is a non-required field for NoTradingSessions. diff --git a/fix50sp2/underlyinginstrument/UnderlyingInstrument.go b/fix50sp2/underlyinginstrument/UnderlyingInstrument.go index ae2889e6e..d71169a6d 100644 --- a/fix50sp2/underlyinginstrument/UnderlyingInstrument.go +++ b/fix50sp2/underlyinginstrument/UnderlyingInstrument.go @@ -16,8 +16,8 @@ type UnderlyingInstrument struct { UnderlyingSecurityID *string `fix:"309"` //UnderlyingSecurityIDSource is a non-required field for UnderlyingInstrument. UnderlyingSecurityIDSource *string `fix:"305"` - //UndSecAltIDGrp Component - undsecaltidgrp.UndSecAltIDGrp + //UndSecAltIDGrp is a non-required component for UnderlyingInstrument. + UndSecAltIDGrp *undsecaltidgrp.UndSecAltIDGrp //UnderlyingProduct is a non-required field for UnderlyingInstrument. UnderlyingProduct *int `fix:"462"` //UnderlyingCFICode is a non-required field for UnderlyingInstrument. @@ -98,8 +98,8 @@ type UnderlyingInstrument struct { UnderlyingCurrentValue *float64 `fix:"885"` //UnderlyingEndValue is a non-required field for UnderlyingInstrument. UnderlyingEndValue *float64 `fix:"886"` - //UnderlyingStipulations Component - underlyingstipulations.UnderlyingStipulations + //UnderlyingStipulations is a non-required component for UnderlyingInstrument. + UnderlyingStipulations *underlyingstipulations.UnderlyingStipulations //UnderlyingAllocationPercent is a non-required field for UnderlyingInstrument. UnderlyingAllocationPercent *float64 `fix:"972"` //UnderlyingSettlementType is a non-required field for UnderlyingInstrument. @@ -114,8 +114,8 @@ type UnderlyingInstrument struct { UnderlyingTimeUnit *string `fix:"1000"` //UnderlyingCapValue is a non-required field for UnderlyingInstrument. UnderlyingCapValue *float64 `fix:"1038"` - //UndlyInstrumentParties Component - undlyinstrumentparties.UndlyInstrumentParties + //UndlyInstrumentParties is a non-required component for UnderlyingInstrument. + UndlyInstrumentParties *undlyinstrumentparties.UndlyInstrumentParties //UnderlyingSettlMethod is a non-required field for UnderlyingInstrument. UnderlyingSettlMethod *string `fix:"1039"` //UnderlyingAdjustedQuantity is a non-required field for UnderlyingInstrument. @@ -160,6 +160,9 @@ func (m *UnderlyingInstrument) SetUnderlyingSecurityID(v string) { m.UnderlyingS func (m *UnderlyingInstrument) SetUnderlyingSecurityIDSource(v string) { m.UnderlyingSecurityIDSource = &v } +func (m *UnderlyingInstrument) SetUndSecAltIDGrp(v undsecaltidgrp.UndSecAltIDGrp) { + m.UndSecAltIDGrp = &v +} func (m *UnderlyingInstrument) SetUnderlyingProduct(v int) { m.UnderlyingProduct = &v } func (m *UnderlyingInstrument) SetUnderlyingCFICode(v string) { m.UnderlyingCFICode = &v } func (m *UnderlyingInstrument) SetUnderlyingSecurityType(v string) { m.UnderlyingSecurityType = &v } @@ -218,6 +221,9 @@ func (m *UnderlyingInstrument) SetUnderlyingEndPrice(v float64) { m.Underlyi func (m *UnderlyingInstrument) SetUnderlyingStartValue(v float64) { m.UnderlyingStartValue = &v } func (m *UnderlyingInstrument) SetUnderlyingCurrentValue(v float64) { m.UnderlyingCurrentValue = &v } func (m *UnderlyingInstrument) SetUnderlyingEndValue(v float64) { m.UnderlyingEndValue = &v } +func (m *UnderlyingInstrument) SetUnderlyingStipulations(v underlyingstipulations.UnderlyingStipulations) { + m.UnderlyingStipulations = &v +} func (m *UnderlyingInstrument) SetUnderlyingAllocationPercent(v float64) { m.UnderlyingAllocationPercent = &v } @@ -227,7 +233,10 @@ func (m *UnderlyingInstrument) SetUnderlyingCashType(v string) { m.Underlyi func (m *UnderlyingInstrument) SetUnderlyingUnitOfMeasure(v string) { m.UnderlyingUnitOfMeasure = &v } func (m *UnderlyingInstrument) SetUnderlyingTimeUnit(v string) { m.UnderlyingTimeUnit = &v } func (m *UnderlyingInstrument) SetUnderlyingCapValue(v float64) { m.UnderlyingCapValue = &v } -func (m *UnderlyingInstrument) SetUnderlyingSettlMethod(v string) { m.UnderlyingSettlMethod = &v } +func (m *UnderlyingInstrument) SetUndlyInstrumentParties(v undlyinstrumentparties.UndlyInstrumentParties) { + m.UndlyInstrumentParties = &v +} +func (m *UnderlyingInstrument) SetUnderlyingSettlMethod(v string) { m.UnderlyingSettlMethod = &v } func (m *UnderlyingInstrument) SetUnderlyingAdjustedQuantity(v float64) { m.UnderlyingAdjustedQuantity = &v } diff --git a/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go b/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go index 914eddefd..195819404 100644 --- a/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go +++ b/fix50sp2/underlyingleginstrument/UnderlyingLegInstrument.go @@ -14,8 +14,8 @@ type UnderlyingLegInstrument struct { UnderlyingLegSecurityID *string `fix:"1332"` //UnderlyingLegSecurityIDSource is a non-required field for UnderlyingLegInstrument. UnderlyingLegSecurityIDSource *string `fix:"1333"` - //UnderlyingLegSecurityAltIDGrp Component - underlyinglegsecurityaltidgrp.UnderlyingLegSecurityAltIDGrp + //UnderlyingLegSecurityAltIDGrp is a non-required component for UnderlyingLegInstrument. + UnderlyingLegSecurityAltIDGrp *underlyinglegsecurityaltidgrp.UnderlyingLegSecurityAltIDGrp //UnderlyingLegCFICode is a non-required field for UnderlyingLegInstrument. UnderlyingLegCFICode *string `fix:"1344"` //UnderlyingLegSecurityType is a non-required field for UnderlyingLegInstrument. @@ -46,6 +46,9 @@ func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityID(v string) { m.Under func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityIDSource(v string) { m.UnderlyingLegSecurityIDSource = &v } +func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityAltIDGrp(v underlyinglegsecurityaltidgrp.UnderlyingLegSecurityAltIDGrp) { + m.UnderlyingLegSecurityAltIDGrp = &v +} func (m *UnderlyingLegInstrument) SetUnderlyingLegCFICode(v string) { m.UnderlyingLegCFICode = &v } func (m *UnderlyingLegInstrument) SetUnderlyingLegSecurityType(v string) { m.UnderlyingLegSecurityType = &v diff --git a/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go b/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go index 9ecb34604..55ae2e97c 100644 --- a/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go +++ b/fix50sp2/undinstrmtcollgrp/UndInstrmtCollGrp.go @@ -6,8 +6,8 @@ import ( //NoUnderlyings is a repeating group in UndInstrmtCollGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //CollAction is a non-required field for NoUnderlyings. CollAction *int `fix:"944"` } diff --git a/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go b/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go index 4bebef438..beb746367 100644 --- a/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go +++ b/fix50sp2/undinstrmtgrp/UndInstrmtGrp.go @@ -6,8 +6,8 @@ import ( //NoUnderlyings is a repeating group in UndInstrmtGrp type NoUnderlyings struct { - //UnderlyingInstrument Component - underlyinginstrument.UnderlyingInstrument + //UnderlyingInstrument is a non-required component for NoUnderlyings. + UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument } //UndInstrmtGrp is a fix50sp2 Component diff --git a/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go b/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go index 563c0e290..2a2ac93f2 100644 --- a/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go +++ b/fix50sp2/undlyinstrumentparties/UndlyInstrumentParties.go @@ -12,8 +12,8 @@ type NoUndlyInstrumentParties struct { UnderlyingInstrumentPartyIDSource *string `fix:"1060"` //UnderlyingInstrumentPartyRole is a non-required field for NoUndlyInstrumentParties. UnderlyingInstrumentPartyRole *int `fix:"1061"` - //UndlyInstrumentPtysSubGrp Component - undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp + //UndlyInstrumentPtysSubGrp is a non-required component for NoUndlyInstrumentParties. + UndlyInstrumentPtysSubGrp *undlyinstrumentptyssubgrp.UndlyInstrumentPtysSubGrp } //UndlyInstrumentParties is a fix50sp2 Component diff --git a/fix50sp2/usernotification/UserNotification.go b/fix50sp2/usernotification/UserNotification.go index 9dd912898..d3e6a338c 100644 --- a/fix50sp2/usernotification/UserNotification.go +++ b/fix50sp2/usernotification/UserNotification.go @@ -12,8 +12,8 @@ import ( type Message struct { FIXMsgType string `fix:"CB"` fixt11.Header - //UsernameGrp Component - usernamegrp.UsernameGrp + //UsernameGrp is a non-required component for UserNotification. + UsernameGrp *usernamegrp.UsernameGrp //UserStatus is a required field for UserNotification. UserStatus int `fix:"926"` //Text is a non-required field for UserNotification. @@ -28,10 +28,11 @@ type Message struct { //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetUserStatus(v int) { m.UserStatus = v } -func (m *Message) SetText(v string) { m.Text = &v } -func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } -func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } +func (m *Message) SetUsernameGrp(v usernamegrp.UsernameGrp) { m.UsernameGrp = &v } +func (m *Message) SetUserStatus(v int) { m.UserStatus = v } +func (m *Message) SetText(v string) { m.Text = &v } +func (m *Message) SetEncodedTextLen(v int) { m.EncodedTextLen = &v } +func (m *Message) SetEncodedText(v string) { m.EncodedText = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError diff --git a/fixt11/header.go b/fixt11/header.go index 06b87a6db..8977441f8 100644 --- a/fixt11/header.go +++ b/fixt11/header.go @@ -59,8 +59,8 @@ type Header struct { MessageEncoding *string `fix:"347"` //LastMsgSeqNumProcessed is a non-required field for Header. LastMsgSeqNumProcessed *int `fix:"369"` - //HopGrp Component - hopgrp.HopGrp + //HopGrp is a non-required component for Header. + HopGrp *hopgrp.HopGrp //ApplVerID is a non-required field for Header. ApplVerID *string `fix:"1128"` //CstmApplVerID is a non-required field for Header. @@ -93,5 +93,6 @@ func (m *Header) SetXmlDataLen(v int) { m.XmlDataLen = &v } func (m *Header) SetXmlData(v string) { m.XmlData = &v } func (m *Header) SetMessageEncoding(v string) { m.MessageEncoding = &v } func (m *Header) SetLastMsgSeqNumProcessed(v int) { m.LastMsgSeqNumProcessed = &v } +func (m *Header) SetHopGrp(v hopgrp.HopGrp) { m.HopGrp = &v } func (m *Header) SetApplVerID(v string) { m.ApplVerID = &v } func (m *Header) SetCstmApplVerID(v string) { m.CstmApplVerID = &v } diff --git a/fixt11/logon/Logon.go b/fixt11/logon/Logon.go index b34153757..5c6bd26c9 100644 --- a/fixt11/logon/Logon.go +++ b/fixt11/logon/Logon.go @@ -34,25 +34,26 @@ type Message struct { Password *string `fix:"554"` //DefaultApplVerID is a required field for Logon. DefaultApplVerID string `fix:"1137"` - //MsgTypeGrp Component - msgtypegrp.MsgTypeGrp + //MsgTypeGrp is a non-required component for Logon. + MsgTypeGrp *msgtypegrp.MsgTypeGrp fixt11.Trailer } //Marshal converts Message to a quickfix.Message instance func (m Message) Marshal() quickfix.Message { return quickfix.Marshal(m) } -func (m *Message) SetEncryptMethod(v int) { m.EncryptMethod = v } -func (m *Message) SetHeartBtInt(v int) { m.HeartBtInt = v } -func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } -func (m *Message) SetRawData(v string) { m.RawData = &v } -func (m *Message) SetResetSeqNumFlag(v bool) { m.ResetSeqNumFlag = &v } -func (m *Message) SetNextExpectedMsgSeqNum(v int) { m.NextExpectedMsgSeqNum = &v } -func (m *Message) SetMaxMessageSize(v int) { m.MaxMessageSize = &v } -func (m *Message) SetTestMessageIndicator(v bool) { m.TestMessageIndicator = &v } -func (m *Message) SetUsername(v string) { m.Username = &v } -func (m *Message) SetPassword(v string) { m.Password = &v } -func (m *Message) SetDefaultApplVerID(v string) { m.DefaultApplVerID = v } +func (m *Message) SetEncryptMethod(v int) { m.EncryptMethod = v } +func (m *Message) SetHeartBtInt(v int) { m.HeartBtInt = v } +func (m *Message) SetRawDataLength(v int) { m.RawDataLength = &v } +func (m *Message) SetRawData(v string) { m.RawData = &v } +func (m *Message) SetResetSeqNumFlag(v bool) { m.ResetSeqNumFlag = &v } +func (m *Message) SetNextExpectedMsgSeqNum(v int) { m.NextExpectedMsgSeqNum = &v } +func (m *Message) SetMaxMessageSize(v int) { m.MaxMessageSize = &v } +func (m *Message) SetTestMessageIndicator(v bool) { m.TestMessageIndicator = &v } +func (m *Message) SetUsername(v string) { m.Username = &v } +func (m *Message) SetPassword(v string) { m.Password = &v } +func (m *Message) SetDefaultApplVerID(v string) { m.DefaultApplVerID = v } +func (m *Message) SetMsgTypeGrp(v msgtypegrp.MsgTypeGrp) { m.MsgTypeGrp = &v } //A RouteOut is the callback type that should be implemented for routing Message type RouteOut func(msg Message, sessionID quickfix.SessionID) quickfix.MessageRejectError