
com.opengamma.strata.product.TradeTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of strata-product Show documentation
Show all versions of strata-product Show documentation
Domain objects describing trades and products in financial markets
/*
* 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