colr_004_001_03

package
v0.0.0-...-d341185 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveCurrencyAndAmount

type ActiveCurrencyAndAmount struct {
	Value float64            `xml:",chardata"`
	Ccy   ActiveCurrencyCode `xml:"Ccy,attr"`
}

type ActiveCurrencyCode

type ActiveCurrencyCode string

Must match the pattern [A-Z]{3,3}

type AggregatedIndependentAmount1

type AggregatedIndependentAmount1 struct {
	Trad      IndependentAmount1   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Trad,omitempty"`
	ValAtRsk  IndependentAmount1   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 ValAtRsk,omitempty"`
	NetOpnPos IndependentAmount1   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 NetOpnPos,omitempty"`
	OthrAmt   []IndependentAmount2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 OthrAmt,omitempty"`
}

type AgreedAmount1

type AgreedAmount1 struct {
	VartnMrgnAmt    Amount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 VartnMrgnAmt"`
	SgrtdIndpdntAmt Amount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SgrtdIndpdntAmt,omitempty"`
}

type AgreedAmount1Choice

type AgreedAmount1Choice struct {
	AgrdAmtDtls     AgreedAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrdAmtDtls"`
	SgrtdIndpdntAmt Amount1       `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SgrtdIndpdntAmt"`
}

type Agreement2

type Agreement2 struct {
	AgrmtDtls  Max140Text                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrmtDtls"`
	AgrmtId    Max140Text                `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrmtId,omitempty"`
	AgrmtDt    ISODate                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrmtDt"`
	BaseCcy    CurrencyCode              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 BaseCcy"`
	AgrmtFrmwk AgreementFramework1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrmtFrmwk,omitempty"`
}

type AgreementFramework1Choice

type AgreementFramework1Choice struct {
	AgrmtFrmwk AgreementFramework1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrmtFrmwk"`
	PrtryId    GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PrtryId"`
}

type AgreementFramework1Code

type AgreementFramework1Code string

May be one of FBAA, BBAA, DERV, ISDA, NONR

type Amount1

type Amount1 struct {
	AgrdAmt       ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrdAmt"`
	MrgnCallReqId Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MrgnCallReqId"`
	AddtlInf      Max210Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AddtlInf,omitempty"`
}

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 Collateral1

type Collateral1 struct {
	VartnMrgn       MarginCollateral1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 VartnMrgn"`
	SgrtdIndpdntAmt MarginCollateral1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SgrtdIndpdntAmt,omitempty"`
}

type CollateralAccount1

type CollateralAccount1 struct {
	Id Max35Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Id"`
	Tp CollateralAccountIdentificationType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Tp,omitempty"`
	Nm Max70Text                                  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Nm,omitempty"`
}

type CollateralAccountIdentificationType1Choice

type CollateralAccountIdentificationType1Choice struct {
	Tp    CollateralAccountType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Tp,omitempty"`
	Prtry GenericIdentification29    `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Prtry"`
}

type CollateralAccountType1Code

type CollateralAccountType1Code string

May be one of HOUS, CLIE, LIPR, MGIN, DFLT

type CollateralBalance1Choice

type CollateralBalance1Choice struct {
	TtlColl         ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 TtlColl"`
	CollDtls        Collateral1             `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 CollDtls"`
	SgrtdIndpdntAmt MarginCollateral1       `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SgrtdIndpdntAmt"`
}

type CountryCode

type CountryCode string

Must match the pattern [A-Z]{2,2}

type CurrencyCode

type CurrencyCode string

Must match the pattern [A-Z]{3,3}

type DateAndDateTimeChoice

type DateAndDateTimeChoice struct {
	Dt   ISODate     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Dt"`
	DtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 DtTm"`
}

type Document

type Document struct {
	MrgnCallRspn MarginCallResponseV03 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MrgnCallRspn"`
}

type Exact4AlphaNumericText

type Exact4AlphaNumericText string

Must match the pattern [a-zA-Z0-9]{4}

type ExposureConventionType1Code

type ExposureConventionType1Code string

May be one of GROS, NET1

type ExposureType5Code

type ExposureType5Code string

May be one of BFWD, PAYM, CCPC, COMM, CRDS, CRTL, CRSP, CCIR, CRPR, EQUI, EQPT, EQUS, EXTD, EXPT, FIXI, FORX, FORW, FUTR, OPTN, LIQU, OTCD, REPO, RVPO, SLOA, SBSC, SCRP, SLEB, SHSL, SCIR, SCIE, SWPT, TBAS, TRBD, TRCP

type GenericIdentification29

type GenericIdentification29 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Id"`
	Issr    Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Issr"`
	SchmeNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SchmeNm,omitempty"`
}

type GenericIdentification30

type GenericIdentification30 struct {
	Id      Exact4AlphaNumericText `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Id"`
	Issr    Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Issr"`
	SchmeNm Max35Text              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SchmeNm,omitempty"`
}

type ISODate

type ISODate time.Time

func (ISODate) MarshalText

func (t ISODate) MarshalText() ([]byte, error)

func (*ISODate) UnmarshalText

func (t *ISODate) UnmarshalText(text []byte) error

type ISODateTime

type ISODateTime time.Time

func (ISODateTime) MarshalText

func (t ISODateTime) MarshalText() ([]byte, error)

func (*ISODateTime) UnmarshalText

func (t *ISODateTime) UnmarshalText(text []byte) error

type IndependentAmount1

type IndependentAmount1 struct {
	Amt    ActiveCurrencyAndAmount              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Amt"`
	Cnvntn IndependentAmountConventionType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Cnvntn"`
}

type IndependentAmount2

type IndependentAmount2 struct {
	Desc   Max140Text                           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Desc,omitempty"`
	Amt    ActiveCurrencyAndAmount              `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Amt"`
	Cnvntn IndependentAmountConventionType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Cnvntn"`
}

type IndependentAmountConventionType1Code

type IndependentAmountConventionType1Code string

May be one of NBTR, NATR, SEGR

type Margin1

type Margin1 struct {
	VartnMrgn           VariationMargin1                   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 VartnMrgn"`
	SgrtdIndpdntAmtMrgn SegregatedIndependentAmountMargin1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SgrtdIndpdntAmtMrgn,omitempty"`
}

type MarginCall1

type MarginCall1 struct {
	XpsdAmtPtyA    ActiveCurrencyAndAmount      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 XpsdAmtPtyA,omitempty"`
	XpsdAmtPtyB    ActiveCurrencyAndAmount      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 XpsdAmtPtyB,omitempty"`
	XpsrCnvntn     ExposureConventionType1Code  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 XpsrCnvntn,omitempty"`
	IndpdntAmtPtyA AggregatedIndependentAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 IndpdntAmtPtyA,omitempty"`
	IndpdntAmtPtyB AggregatedIndependentAmount1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 IndpdntAmtPtyB,omitempty"`
	MrgnTerms      MarginTerms1Choice           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MrgnTerms,omitempty"`
	CollBal        CollateralBalance1Choice     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 CollBal,omitempty"`
}

type MarginCallResponse1Code

type MarginCallResponse1Code string

May be one of NVDA, RANT

type MarginCallResponseV03

type MarginCallResponseV03 struct {
	TxId           Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 TxId"`
	Oblgtn         Obligation3          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Oblgtn"`
	Agrmt          Agreement2           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Agrmt,omitempty"`
	MrgnDtlsDueToA MarginCall1          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MrgnDtlsDueToA,omitempty"`
	MrgnDtlsDueToB MarginCall1          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MrgnDtlsDueToB,omitempty"`
	AgrdAmtDueToA  AgreedAmount1Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrdAmtDueToA,omitempty"`
	AgrdAmtDueToB  AgreedAmount1Choice  `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AgrdAmtDueToB,omitempty"`
	RspnDtls       Response1            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 RspnDtls,omitempty"`
	SplmtryData    []SupplementaryData1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SplmtryData,omitempty"`
}

type MarginCollateral1

type MarginCollateral1 struct {
	HeldByPtyA    ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 HeldByPtyA,omitempty"`
	HeldByPtyB    ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 HeldByPtyB,omitempty"`
	PrrAgrdToPtyA ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PrrAgrdToPtyA,omitempty"`
	PrrAgrdToPtyB ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PrrAgrdToPtyB,omitempty"`
	InTrnstToPtyA ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 InTrnstToPtyA,omitempty"`
	InTrnstToPtyB ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 InTrnstToPtyB,omitempty"`
}

type MarginTerms1Choice

type MarginTerms1Choice struct {
	MrgnDtls            Margin1                            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MrgnDtls"`
	SgrtdIndpdntAmtMrgn SegregatedIndependentAmountMargin1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SgrtdIndpdntAmtMrgn"`
}

type Max140Text

type Max140Text string

Must be at least 1 items long

type Max16Text

type Max16Text string

Must be at least 1 items long

type Max210Text

type Max210Text string

Must be at least 1 items long

type Max350Text

type Max350Text string

Must be at least 1 items long

type Max35Text

type Max35Text string

Must be at least 1 items long

type Max70Text

type Max70Text string

Must be at least 1 items long

type NameAndAddress6

type NameAndAddress6 struct {
	Nm  Max70Text      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Nm"`
	Adr PostalAddress2 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Adr"`
}

type Obligation3

type Obligation3 struct {
	PtyA       PartyIdentification33Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PtyA"`
	SvcgPtyA   PartyIdentification33Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SvcgPtyA,omitempty"`
	PtyB       PartyIdentification33Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PtyB"`
	SvcgPtyB   PartyIdentification33Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 SvcgPtyB,omitempty"`
	CollAcctId CollateralAccount1          `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 CollAcctId,omitempty"`
	XpsrTp     ExposureType5Code           `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 XpsrTp,omitempty"`
	ValtnDt    DateAndDateTimeChoice       `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 ValtnDt"`
}

type PartyIdentification33Choice

type PartyIdentification33Choice struct {
	AnyBIC   AnyBICIdentifier        `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 AnyBIC"`
	PrtryId  GenericIdentification29 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PrtryId"`
	NmAndAdr NameAndAddress6         `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 NmAndAdr"`
}

type PostalAddress2

type PostalAddress2 struct {
	StrtNm      Max70Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 StrtNm,omitempty"`
	PstCdId     Max16Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PstCdId"`
	TwnNm       Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 TwnNm"`
	CtrySubDvsn Max35Text   `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 CtrySubDvsn,omitempty"`
	Ctry        CountryCode `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Ctry"`
}

type Response1

type Response1 struct {
	RspnTpDtls []ResponseType1Choice `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 RspnTpDtls"`
	Desc       Max140Text            `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Desc,omitempty"`
}

type ResponseType1Choice

type ResponseType1Choice struct {
	Cd    MarginCallResponse1Code `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Cd"`
	Prtry GenericIdentification30 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Prtry"`
}

type RoundingMethod1Code

type RoundingMethod1Code string

May be one of DRDW, DRUP, NONE, CLSR

type SegregatedIndependentAmountMargin1

type SegregatedIndependentAmountMargin1 struct {
	MinTrfAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MinTrfAmt"`
	RndgAmt   ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 RndgAmt,omitempty"`
	RndgMtd   RoundingMethod1Code     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 RndgMtd,omitempty"`
}

type SupplementaryData1

type SupplementaryData1 struct {
	PlcAndNm Max350Text                 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 PlcAndNm,omitempty"`
	Envlp    SupplementaryDataEnvelope1 `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 Envlp"`
}

type SupplementaryDataEnvelope1

type SupplementaryDataEnvelope1 struct {
	Item string `xml:",any"`
}

type ThresholdType1Code

type ThresholdType1Code string

May be one of SECU, UNSE

type VariationMargin1

type VariationMargin1 struct {
	ThrshldAmt ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 ThrshldAmt"`
	ThrshldTp  ThresholdType1Code      `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 ThrshldTp,omitempty"`
	MinTrfAmt  ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 MinTrfAmt"`
	RndgAmt    ActiveCurrencyAndAmount `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 RndgAmt"`
	RndgMtd    RoundingMethod1Code     `xml:"urn:iso:std:iso:20022:tech:xsd:colr.004.001.03 RndgMtd"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL