Package com.opengamma.strata.product
Interface TradeTemplate
- 
- All Known Subinterfaces:
- CdsTemplate,- FixedFloatSwapTemplate
 - All Known Implementing Classes:
- DatesCdsTemplate,- FixedIborSwapTemplate,- FixedInflationSwapTemplate,- FixedOvernightSwapTemplate,- FraTemplate,- FxSwapTemplate,- IborFixingDepositTemplate,- IborFutureTemplate,- IborIborSwapTemplate,- OvernightFutureTemplate,- OvernightIborSwapTemplate,- TenorCdsTemplate,- TermDepositTemplate,- ThreeLegBasisSwapTemplate,- XCcyIborIborSwapTemplate
 
 public interface TradeTemplateA template used to create a trade.A template contains almost all the information necessary to create a trade. The missing elements are likely to include the trade date and market price. As such, it is often possible to get a market price for a trade based on the template. A template is typically built on an underlying TradeConvention, however this is not required.Each implementation should provide a method with the name toTradewith whatever arguments are necessary to complete the trade.Implementations must be immutable and thread-safe beans.