Documentation ¶
Index ¶
- type ActiveCurrencyAnd13DecimalAmount
- type ActiveCurrencyAndAmount
- type ActiveCurrencyCode
- type AgreedRate3
- type AlternateIdentification1
- type AnyBICIdentifier
- type BloombergIdentifier
- type ClearingMethod1Code
- type ConfirmationRequest1Code
- type ConsolidatedTapeAssociationIdentifier
- type CountryCode
- type CurrencyAndAmount
- type CurrencyCode
- type DateAndDateTimeChoice
- type DateFormat18Choice
- type DateType8Code
- type Document
- type EuroclearClearstreamIdentifier
- type ForeignExchangeTradeConfirmationRequestV01
- type GenericIdentification32
- type Header23
- type ISINOct2015Identifier
- type ISODate
- type ISODateTime
- type IdentificationSource1Choice
- type IdentificationType2Code
- type InstrumentLeg6
- type Max350Text
- type Max35NumericText
- type Max35Text
- type Max3NumericText
- type Max6Text
- type Max70Text
- type MessageIdentification1
- type PartyType3Code
- type PartyType4Code
- type Period4
- type QueryTradeStatus1Code
- type RICIdentifier
- type SecurityIdentification18
- type SecurityIdentification22Choice
- type SettlementDateCode
- type Side1Code
- type SupplementaryData1
- type SupplementaryDataEnvelope1
- type TickerIdentifier
- type Trade2
- type Trade3
- type TradingMethodType1Code
- type TradingModeType1Code
- type UnderlyingProductIdentifier1Code
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveCurrencyAnd13DecimalAmount ¶
type ActiveCurrencyAnd13DecimalAmount struct { Value float64 `xml:",chardata"` Ccy ActiveCurrencyCode `xml:"Ccy,attr"` }
type ActiveCurrencyAndAmount ¶
type ActiveCurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy ActiveCurrencyCode `xml:"Ccy,attr"` }
type AgreedRate3 ¶
type AgreedRate3 struct { XchgRate float64 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 XchgRate"` UnitCcy ActiveCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 UnitCcy,omitempty"` QtdCcy ActiveCurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 QtdCcy,omitempty"` }
type AlternateIdentification1 ¶
type AlternateIdentification1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Id"` IdSrc IdentificationSource1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 IdSrc"` }
type AnyBICIdentifier ¶
type AnyBICIdentifier string
Must match the pattern [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}
type ConsolidatedTapeAssociationIdentifier ¶
type ConsolidatedTapeAssociationIdentifier string
May be no more than 35 items long
type CurrencyAndAmount ¶
type CurrencyAndAmount struct { Value float64 `xml:",chardata"` Ccy CurrencyCode `xml:"Ccy,attr"` }
type DateAndDateTimeChoice ¶
type DateAndDateTimeChoice struct { Dt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Dt,omitempty"` DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 DtTm,omitempty"` }
type DateFormat18Choice ¶
type DateFormat18Choice struct { Dt DateAndDateTimeChoice `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Dt,omitempty"` NotSpcfdDt DateType8Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 NotSpcfdDt,omitempty"` }
type Document ¶
type Document struct {
FXTradConfReq ForeignExchangeTradeConfirmationRequestV01 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 FXTradConfReq"`
}
type EuroclearClearstreamIdentifier ¶
type EuroclearClearstreamIdentifier string
May be no more than 12 items long
type ForeignExchangeTradeConfirmationRequestV01 ¶
type ForeignExchangeTradeConfirmationRequestV01 struct { Hdr Header23 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Hdr"` ReqId MessageIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ReqId"` TradDtl Trade2 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 TradDtl"` ConfTp ConfirmationRequest1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ConfTp"` QryPrd Period4 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 QryPrd"` QryStartNb Max35NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 QryStartNb"` QryTradSts QueryTradeStatus1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 QryTradSts"` SplmtryData []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SplmtryData,omitempty"` }
type GenericIdentification32 ¶
type GenericIdentification32 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Id"` Tp PartyType3Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Tp,omitempty"` Issr PartyType4Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Issr,omitempty"` ShrtNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ShrtNm,omitempty"` }
type Header23 ¶
type Header23 struct { FrmtVrsn Max6Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 FrmtVrsn"` XchgId Max3NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 XchgId"` InitgPty GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 InitgPty"` RcptPty GenericIdentification32 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 RcptPty,omitempty"` MsgSeqNb float64 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 MsgSeqNb"` CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 CreDtTm"` }
type ISINOct2015Identifier ¶
type ISINOct2015Identifier string
Must match the pattern [A-Z]{2,2}[A-Z0-9]{9,9}[0-9]{1,1}
type ISODateTime ¶
func (ISODateTime) MarshalText ¶
func (t ISODateTime) MarshalText() ([]byte, error)
func (*ISODateTime) UnmarshalText ¶
func (t *ISODateTime) UnmarshalText(text []byte) error
type IdentificationSource1Choice ¶
type IdentificationSource1Choice struct { Dmst CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Dmst,omitempty"` Prtry Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Prtry,omitempty"` }
type IdentificationType2Code ¶
type IdentificationType2Code string
May be one of CDCO, CFET, RICC, USDE
type InstrumentLeg6 ¶
type InstrumentLeg6 struct { LegSd Side1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegSd"` LegSttlmTp SettlementDateCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegSttlmTp"` LegSttlmDt ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegSttlmDt"` LegLastPric ActiveCurrencyAnd13DecimalAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegLastPric"` LegSttlmCcy CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegSttlmCcy"` LegOrdrQty CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegOrdrQty"` LegFwdPts float64 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegFwdPts"` LegClctdCtrPtyCcyLastQty CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegClctdCtrPtyCcyLastQty"` LegRskAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegRskAmt"` LegValtnRate AgreedRate3 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegValtnRate"` LegValDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegValDt"` LegCcy CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegCcy"` LegSymb Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegSymb"` LegSctyId SecurityIdentification18 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LegSctyId"` }
type MessageIdentification1 ¶
type MessageIdentification1 struct { Id Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Id"` CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 CreDtTm"` }
type PartyType3Code ¶
type PartyType3Code string
May be one of OPOI, MERC, ACCP, ITAG, ACQR, CISS, DLIS
type Period4 ¶
type Period4 struct { StartDt DateFormat18Choice `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 StartDt"` EndDt DateFormat18Choice `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 EndDt"` }
type QueryTradeStatus1Code ¶
type QueryTradeStatus1Code string
May be one of QAST, QCTR, QCIR, QETR, QNTR, QRTR
type SecurityIdentification18 ¶
type SecurityIdentification18 struct { SctyIdSrc IdentificationType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SctyIdSrc"` SctyId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SctyId"` }
type SecurityIdentification22Choice ¶
type SecurityIdentification22Choice struct { ISIN ISINOct2015Identifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ISIN,omitempty"` AltrnId AlternateIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 AltrnId,omitempty"` RIC RICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 RIC,omitempty"` TckrSymb TickerIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 TckrSymb,omitempty"` Blmbrg BloombergIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Blmbrg,omitempty"` CTA ConsolidatedTapeAssociationIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 CTA,omitempty"` Cmon EuroclearClearstreamIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Cmon,omitempty"` }
type SettlementDateCode ¶
type SettlementDateCode string
May be one of REGU, CASH, NXTD, TONE, TTWO, TTRE, TFOR, TFIV, SELL, FUTU, ASAP, ENDC, WHIF, WDIS, WHID, TBAT, MONT, CLEA, SAVE, WISS
type Side1Code ¶
type Side1Code string
May be one of BUYI, SELL, TWOS, BUMI, SEPL, SESH, SSEX, CROS, CRSH, CSHE, DEFI, OPPO, UNDI
type SupplementaryData1 ¶
type SupplementaryData1 struct { PlcAndNm Max350Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 PlcAndNm,omitempty"` Envlp SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Envlp"` }
type SupplementaryDataEnvelope1 ¶
type SupplementaryDataEnvelope1 struct {
Item string `xml:",any"`
}
type Trade2 ¶
type Trade2 struct { TradId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 TradId"` TradDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 TradDt"` FXTradPdct UnderlyingProductIdentifier1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 FXTradPdct"` TradgCcy CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 TradgCcy,omitempty"` SttlmCcy CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SttlmCcy,omitempty"` TradgMtd TradingMethodType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 TradgMtd,omitempty"` TradgMd TradingModeType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 TradgMd"` ClrMtd ClearingMethod1Code `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ClrMtd"` Symb Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 Symb,omitempty"` PlcOfConf AnyBICIdentifier `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 PlcOfConf,omitempty"` FXDtls Trade3 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 FXDtls,omitempty"` SwpLeg []InstrumentLeg6 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SwpLeg,omitempty"` PdctId SecurityIdentification22Choice `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 PdctId,omitempty"` AssoctdTradRef []Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 AssoctdTradRef,omitempty"` }
type Trade3 ¶
type Trade3 struct { ExctnPric ActiveCurrencyAnd13DecimalAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ExctnPric"` LastQty CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 LastQty"` SttlmTp SettlementDateCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SttlmTp"` SttlmDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SttlmDt"` ValtnRate AgreedRate3 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ValtnRate"` FwdPts float64 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 FwdPts,omitempty"` ClctdCtrPtyCcyLastQty CurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ClctdCtrPtyCcyLastQty"` ValDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 ValDt"` RskAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 RskAmt"` SctyId SecurityIdentification18 `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 SctyId"` FxgCcy CurrencyCode `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 FxgCcy,omitempty"` FxgDt ISODate `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 FxgDt,omitempty"` OptnInd bool `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 OptnInd,omitempty"` DltaInd bool `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 DltaInd,omitempty"` AssoctdTradRef []Max70Text `xml:"urn:iso:std:iso:20022:tech:xsd:fxtr.034.001.01 AssoctdTradRef,omitempty"` }
type TradingMethodType1Code ¶
type TradingMethodType1Code string
May be one of BITR, CERB, CUMA, LIOR, NETR, ONCT, QUAU, TEAU, ANCL
type TradingModeType1Code ¶
type TradingModeType1Code string
May be one of QUDR, ORDR, NETR, AUCT, MARC, BILA, ANON
type UnderlyingProductIdentifier1Code ¶
type UnderlyingProductIdentifier1Code string
May be one of FORW, NDFO, SPOT, SWAP