All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opengamma.strata.product.TradeTemplate Maven / Gradle / Ivy

There is a newer version: 2.12.56
Show newest version
/*
 * Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
 *
 * Please see distribution for license.
 */
package com.opengamma.strata.product;

/**
 * A 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 {@link TradeConvention}, however this is not required. *

* Each implementation should provide a method with the name {@code toTrade} with * whatever arguments are necessary to complete the trade. *

* Implementations must be immutable and thread-safe beans. */ public interface TradeTemplate { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy