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 interfaceTradeCsvWriterPlugin<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.voidTradeCsvWriter. 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 TradeFpmlParserPlugin. 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 TradeCurveNode. 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 interfaceProductTradeA trade that is directly based on a product.interfaceResolvableSecurityTradeA trade that has a security identifier that can be resolved using reference data.interfaceResolvableTrade<T extends ResolvedTrade>A trade that can to be resolved using reference data.interfaceSecuritizedProductTrade<P extends SecuritizedProduct>A trade that is directly based on a securitized product.interfaceSecurityQuantityTradeA trade that is based on security, quantity and price.Classes in com.opengamma.strata.product that implement Trade Modifier and Type Class Description classGenericSecurityTradeA trade representing the purchase or sale of a security, where the security is embedded ready for mark-to-market pricing.classSecurityTradeA 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 TradeTrade. 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 classBillTradeA trade representing a bill.classBondFutureOptionTradeA trade representing an option on a futures contract based on bonds.classBondFutureTradeA trade representing a futures contract based on a fixed coupon bond.classCapitalIndexedBondTradeA trade representing a capital indexed bond.classFixedCouponBondTradeA 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 classIborCapFloorTradeA 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 classCmsTradeA 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 PortfolioItemSummarySummarizerUtils. 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 classCdsCalibrationTradeA trade in a single-name credit default swap (CDS) used for credit curve calibration.classCdsIndexCalibrationTradeA trade in a CDS index used for credit curve calibration.classCdsIndexTradeA trade in a CDS index.classCdsTradeA 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 classIborFixingDepositTradeA trade in an Ibor fixing deposit.classTermDepositTradeA 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 classDsfTradeA 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 interfaceEtdTradeA trade in an exchange traded derivative (ETD).Classes in com.opengamma.strata.product.etd that implement Trade Modifier and Type Class Description classEtdFutureTradeA trade representing an ETD future.classEtdOptionTradeA 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 classFraTradeA 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 interfaceFxOptionTradeA foreign exchange option trade such as a FxVanillaOptionTrade.interfaceFxTradeA 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 classFxNdfTradeA trade in a Non-Deliverable Forward (NDF).classFxSingleTradeA foreign exchange trade, such as an FX forward or FX spot.classFxSwapTradeA 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 classFxSingleBarrierOptionTradeA trade in an FX single barrier option.classFxVanillaOptionTradeA 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 classIborFutureOptionTradeA trade representing an option on a futures contract based on an Ibor index.classIborFutureTradeA trade representing a futures contract based on an Ibor index.classOvernightFutureTradeA 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 classBulletPaymentTradeA 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 classSwapTradeA 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 classSwaptionTradeA 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 EvaluationResultTradeTokenEvaluator. evaluate(Trade trade, CalculationFunctions functions, String firstToken, List<String> remainingTokens)Set<String>TradeTokenEvaluator. tokens(Trade trade)
-