Uses of Interface
com.opengamma.strata.product.Trade
-
Packages that use Trade Package Description com.opengamma.strata.loader.csv Loader that reads market data from CSV files.com.opengamma.strata.loader.fpml Loader that can convert files to financial instruments.com.opengamma.strata.market.curve Definitions of curves.com.opengamma.strata.product Entity objects describing trades and products in financial markets.com.opengamma.strata.product.bond Entity objects describing bonds.com.opengamma.strata.product.capfloor Entity objects describing Ibor cap/floor.com.opengamma.strata.product.cms Entity objects describing Constant Maturity Swap (CMS) or CMS cap/floor.com.opengamma.strata.product.common Entity objects shared between other packages.com.opengamma.strata.product.credit Entity objects describing Credit Default Swap (CDS) and CDS index.com.opengamma.strata.product.deposit Entity objects describing financial instruments representing a simple deposit with interest.com.opengamma.strata.product.dsf Entity objects describing Deliverable Swap Futures (DSFs).com.opengamma.strata.product.etd Entity objects describing Exchange Traded Derivatives (ETDs).com.opengamma.strata.product.fra Entity objects describing a forward rate agreement (FRA).com.opengamma.strata.product.fx Entity objects describing financial instruments in the foreign exchange market.com.opengamma.strata.product.fxopt Entity objects describing options in the foreign exchange market.com.opengamma.strata.product.index Entity objects describing contracts based on rate indices.com.opengamma.strata.product.payment Entity objects describing simple payment financial instruments.com.opengamma.strata.product.swap Entity objects describing a swap.com.opengamma.strata.product.swaption Entity objects describing options on swaps, known as swaptions.com.opengamma.strata.report.framework.expression Provide the ability to extract data using textual expressions. -
-
Uses of Trade in com.opengamma.strata.loader.csv
Classes in com.opengamma.strata.loader.csv with type parameters of type Trade Modifier and Type Interface Description interface
TradeCsvWriterPlugin<T extends Trade>
Pluggable CSV trade writer.Methods in com.opengamma.strata.loader.csv with type parameters of type Trade Modifier and Type Method Description default <T extends Trade>
TTradeCsvInfoResolver. completeTradeCommon(CsvRow row, T trade)
Completes the trade, potentially parsing additional columns.<T extends Trade>
ValueWithFailures<List<T>>TradeCsvLoader. parse(Collection<CharSource> charSources, Class<T> tradeType)
Parses one or more CSV format trade files with a quiet type filter.Methods in com.opengamma.strata.loader.csv that return types with arguments of type Trade Modifier and Type Method Description ValueWithFailures<List<Trade>>
TradeCsvLoader. load(ResourceLocator... resources)
Loads one or more CSV format trade files.ValueWithFailures<List<Trade>>
TradeCsvLoader. load(Collection<ResourceLocator> resources)
Loads one or more CSV format trade files.default Optional<Trade>
TradeCsvInfoResolver. overrideParseTrade(String typeUpper, CsvRow row, TradeInfo info)
Parses any kind of trade from CSV before standard matching.ValueWithFailures<List<Trade>>
TradeCsvLoader. parse(Collection<CharSource> charSources)
Parses one or more CSV format trade files.ValueWithFailures<List<Trade>>
TradeCsvLoader. parse(Collection<CharSource> charSources, List<Class<? extends Trade>> tradeTypes)
Parses one or more CSV format trade files with an error-creating type filter.default Optional<Trade>
TradeCsvInfoResolver. parseOtherTrade(String typeUpper, CsvRow row, TradeInfo info)
Parses any kind of trade from CSV after standard matching.Optional<Trade>
FxNdfTradeCsvPlugin. parseTrade(Class<?> requiredJavaType, CsvRow baseRow, List<CsvRow> additionalRows, TradeInfo info, TradeCsvInfoResolver resolver)
Optional<Trade>
FxSingleBarrierOptionTradeCsvPlugin. parseTrade(Class<?> requiredJavaType, CsvRow baseRow, List<CsvRow> additionalRows, TradeInfo info, TradeCsvInfoResolver resolver)
Optional<Trade>
IborCapFloorTradeCsvPlugin. parseTrade(Class<?> requiredJavaType, CsvRow baseRow, List<CsvRow> additionalRows, TradeInfo info, TradeCsvInfoResolver resolver)
Optional<Trade>
SecurityTradeCsvPlugin. parseTrade(Class<?> requiredJavaType, CsvRow baseRow, List<CsvRow> additionalRows, TradeInfo info, TradeCsvInfoResolver resolver)
Optional<Trade>
TradeCsvParserPlugin. parseTrade(Class<?> requiredJavaType, CsvRow baseRow, List<CsvRow> additionalRows, TradeInfo info, TradeCsvInfoResolver resolver)
Parses a single CSV format trade from the input.Methods in com.opengamma.strata.loader.csv with parameters of type Trade Modifier and Type Method Description default List<String>
TradeCsvInfoSupplier. headers(Trade trade)
Returns the list of additional headers this supplier provides.default Map<String,String>
TradeCsvInfoSupplier. values(List<String> headers, Trade trade)
Gets the values associated with the headers.Method parameters in com.opengamma.strata.loader.csv with type arguments of type Trade Modifier and Type Method Description ValueWithFailures<List<Trade>>
TradeCsvLoader. parse(Collection<CharSource> charSources, List<Class<? extends Trade>> tradeTypes)
Parses one or more CSV format trade files with an error-creating type filter.void
TradeCsvWriter. write(List<? extends Trade> trades, Appendable output)
Write trades to an appendable in the applicable full details trade format. -
Uses of Trade in com.opengamma.strata.loader.fpml
Methods in com.opengamma.strata.loader.fpml that return Trade Modifier and Type Method Description Trade
FpmlParserPlugin. parseTrade(FpmlDocument document, XmlElement tradeEl)
Parses a single FpML format trade.Methods in com.opengamma.strata.loader.fpml that return types with arguments of type Trade Modifier and Type Method Description List<Trade>
FpmlDocumentParser. parseTrades(ByteSource source)
Parses FpML from the specified source, extracting the trades.List<Trade>
FpmlDocumentParser. parseTrades(XmlElement fpmlRootEl, Map<String,XmlElement> references)
Parses the FpML document extracting the trades.List<Trade>
FpmlDocumentParser. parseTrades(XmlFile xmlFile)
Parses FpML from the specified XML document, extracting the trades. -
Uses of Trade in com.opengamma.strata.market.curve
Methods in com.opengamma.strata.market.curve that return Trade Modifier and Type Method Description Trade
CurveNode. trade(double quantity, MarketData marketData, ReferenceData refData)
Creates a trade representing the instrument at the node. -
Uses of Trade in com.opengamma.strata.product
Subinterfaces of Trade in com.opengamma.strata.product Modifier and Type Interface Description interface
ProductTrade
A trade that is directly based on a product.interface
ResolvableSecurityTrade
A trade that has a security identifier that can be resolved using reference data.interface
ResolvableTrade<T extends ResolvedTrade>
A trade that can to be resolved using reference data.interface
SecuritizedProductTrade<P extends SecuritizedProduct>
A trade that is directly based on a securitized product.interface
SecurityQuantityTrade
A trade that is based on security, quantity and price.Classes in com.opengamma.strata.product that implement Trade Modifier and Type Class Description class
GenericSecurityTrade
A trade representing the purchase or sale of a security, where the security is embedded ready for mark-to-market pricing.class
SecurityTrade
A trade representing the purchase or sale of a security, where the security is referenced by identifier.Methods in com.opengamma.strata.product that return Trade Modifier and Type Method Description Trade
Trade. withInfo(PortfolioItemInfo info)
Returns an instance with the specified info. -
Uses of Trade in com.opengamma.strata.product.bond
Classes in com.opengamma.strata.product.bond that implement Trade Modifier and Type Class Description class
BillTrade
A trade representing a bill.class
BondFutureOptionTrade
A trade representing an option on a futures contract based on bonds.class
BondFutureTrade
A trade representing a futures contract based on a fixed coupon bond.class
CapitalIndexedBondTrade
A trade representing a capital indexed bond.class
FixedCouponBondTrade
A trade representing a fixed coupon bond. -
Uses of Trade in com.opengamma.strata.product.capfloor
Classes in com.opengamma.strata.product.capfloor that implement Trade Modifier and Type Class Description class
IborCapFloorTrade
A trade in an Ibor cap/floor. -
Uses of Trade in com.opengamma.strata.product.cms
Classes in com.opengamma.strata.product.cms that implement Trade Modifier and Type Class Description class
CmsTrade
A trade in a constant maturity swap (CMS). -
Uses of Trade in com.opengamma.strata.product.common
Methods in com.opengamma.strata.product.common with parameters of type Trade Modifier and Type Method Description static PortfolioItemSummary
SummarizerUtils. summary(Trade trade, ProductType type, String description, Currency... currencies)
Creates a summary instance for a trade. -
Uses of Trade in com.opengamma.strata.product.credit
Classes in com.opengamma.strata.product.credit that implement Trade Modifier and Type Class Description class
CdsCalibrationTrade
A trade in a single-name credit default swap (CDS) used for credit curve calibration.class
CdsIndexCalibrationTrade
A trade in a CDS index used for credit curve calibration.class
CdsIndexTrade
A trade in a CDS index.class
CdsTrade
A trade in a single-name credit default swap (CDS). -
Uses of Trade in com.opengamma.strata.product.deposit
Classes in com.opengamma.strata.product.deposit that implement Trade Modifier and Type Class Description class
IborFixingDepositTrade
A trade in an Ibor fixing deposit.class
TermDepositTrade
A trade in a term deposit. -
Uses of Trade in com.opengamma.strata.product.dsf
Classes in com.opengamma.strata.product.dsf that implement Trade Modifier and Type Class Description class
DsfTrade
A trade representing a futures contract based on an interest rate swap. -
Uses of Trade in com.opengamma.strata.product.etd
Subinterfaces of Trade in com.opengamma.strata.product.etd Modifier and Type Interface Description interface
EtdTrade
A trade in an exchange traded derivative (ETD).Classes in com.opengamma.strata.product.etd that implement Trade Modifier and Type Class Description class
EtdFutureTrade
A trade representing an ETD future.class
EtdOptionTrade
A trade representing an ETD option. -
Uses of Trade in com.opengamma.strata.product.fra
Classes in com.opengamma.strata.product.fra that implement Trade Modifier and Type Class Description class
FraTrade
A trade in a forward rate agreement (FRA). -
Uses of Trade in com.opengamma.strata.product.fx
Subinterfaces of Trade in com.opengamma.strata.product.fx Modifier and Type Interface Description interface
FxOptionTrade
A foreign exchange option trade such as a FxVanillaOptionTrade.interface
FxTrade
A foreign exchange trade, such as an FX forward, FX spot or FX option.Classes in com.opengamma.strata.product.fx that implement Trade Modifier and Type Class Description class
FxNdfTrade
A trade in a Non-Deliverable Forward (NDF).class
FxSingleTrade
A foreign exchange trade, such as an FX forward or FX spot.class
FxSwapTrade
A trade in an FX swap. -
Uses of Trade in com.opengamma.strata.product.fxopt
Classes in com.opengamma.strata.product.fxopt that implement Trade Modifier and Type Class Description class
FxSingleBarrierOptionTrade
A trade in an FX single barrier option.class
FxVanillaOptionTrade
A trade in a vanilla FX option. -
Uses of Trade in com.opengamma.strata.product.index
Classes in com.opengamma.strata.product.index that implement Trade Modifier and Type Class Description class
IborFutureOptionTrade
A trade representing an option on a futures contract based on an Ibor index.class
IborFutureTrade
A trade representing a futures contract based on an Ibor index.class
OvernightFutureTrade
A trade representing a futures contract based on an Overnight index. -
Uses of Trade in com.opengamma.strata.product.payment
Classes in com.opengamma.strata.product.payment that implement Trade Modifier and Type Class Description class
BulletPaymentTrade
A bullet payment trade. -
Uses of Trade in com.opengamma.strata.product.swap
Classes in com.opengamma.strata.product.swap that implement Trade Modifier and Type Class Description class
SwapTrade
A trade in a rate swap. -
Uses of Trade in com.opengamma.strata.product.swaption
Classes in com.opengamma.strata.product.swaption that implement Trade Modifier and Type Class Description class
SwaptionTrade
A trade in an option on an underlying swap. -
Uses of Trade in com.opengamma.strata.report.framework.expression
Methods in com.opengamma.strata.report.framework.expression that return types with arguments of type Trade Modifier and Type Method Description Class<Trade>
TradeTokenEvaluator. getTargetType()
Methods in com.opengamma.strata.report.framework.expression with parameters of type Trade Modifier and Type Method Description EvaluationResult
TradeTokenEvaluator. evaluate(Trade trade, CalculationFunctions functions, String firstToken, List<String> remainingTokens)
Set<String>
TradeTokenEvaluator. tokens(Trade trade)
-