public class Leg extends Object
Constructor and Description |
---|
Leg() |
public void setLegSymbol(String legSymbol)
legSymbol
- symbol for a leg, which is a CME contract, e.g. CLX05. Note that Symbol now matches
the value used by clearing firms in the FEC system, and may differ somewhat from
the representation used in the legacy CTAPI system.public String getLegSymbol()
public final String getLegProductCode()
public final void setLegProductCode(String value)
value
- Sets the leg symbol for CME product, e.g. CL.public void setLegSecurityIDSource(PartyIDSource legSecurityIDSource)
legSecurityIDSource
- identifier of the source of the leg's Security ID.
If it is not specified, the default of Clearing is used.public PartyIDSource getLegSecurityIDSource()
public final String getLegCFI()
public final void setLegCFI(String value)
value
- the type of leg security using ISO 10962 standard,
Classification of Financial Instruments (CFI code) values.public final SecurityType getLegSecurityType()
public final void setLegSecurityType(SecurityType value)
value
- a number identifying the leg within a strategy or spread. When reporting a USI or UTI,
the field LegRefID will reference this number.public String getLegSecuritySubType()
Values include:
public void setLegSecuritySubType(String legSecuritySubType)
Values include:
legSecuritySubType
- SecuritySubType of the leg instrument.See SecuritySubType (762) field for description.public final String getLegMaturity()
public final void setLegMaturity(String value)
value
- the month and year of maturity of this leg.public final LocalDate getLegMaturityDate()
public final void setLegMaturityDate(LocalDate value)
value
- the date of maturity or the settlement date of a CDS contract for this leg.public void setLegStrikePrice(ScaledDecimal legStrikePrice)
legStrikePrice
- strike price for a leg that is an option.public ScaledDecimal getLegStrikePrice()
public final ScaledDecimal getLegContractMultiplier()
public final void setLegContractMultiplier(ScaledDecimal value)
value
- the ratio or multiply factor to convert from nominal units (e.g. contracts)
to total units (e.g. barrels) for this leg.public UnitOfMeasure getLegUnitOfMeasure()
public void setLegUnitOfMeasure(UnitOfMeasure value)
value
- The leg unit of measure of the product upon which the contract is based.
It is also referred to as the trading unit.public ScaledDecimal getLegUnitOfMeasureQuantity()
public void setLegUnitOfMeasureQuantity(ScaledDecimal value)
value
- Contract's defined quantity, used to calculate total traded notional quantity per spread leg.public String getLegUnitOfMeasureCurrency()
public void setLegUnitOfMeasureCurrency(String value)
value
- Currency of the leg unit of measure. Conditionally available when UOM=Ccy.
Will be populated where appropriate.public void setLegSecurityExchange(String value)
value
- the exchange where the leg security is listed.public String getLegSecurityExchange()
public void setLegSecurityLongName(String value)
value
- long description or name for the leg's product.public String getLegSecurityLongName()
public final Side getLegSide()
public final void setLegSide(Side value)
value
- the legSide of this leg within the spread or strategy.public void setLegPutOrCall(PutOrCall value)
value
- indicator whether a leg that is an option contract is a put or call.public PutOrCall getLegPutOrCall()
public SettlementMethod getLegSettlementMethod()
public void setLegSettlementMethod(SettlementMethod value)
value
- settlement method for a contract. Can be used as an alternative to CFI Code value.public String getLegInstrumentGuid()
public void setLegInstrumentGuid(String value)
value
- leg globally unique identifier.public ArrayList<LegAlternativeID> getLegAlternativeIDs()
Copyright © 2014–2025 Onix Solutions. All rights reserved.