public interface FxTrade extends ProductTrade
FX trades operate on two different currencies. For example, it might represent the payment of USD 1,000 and the receipt of EUR 932.
Modifier and Type | Method and Description |
---|---|
FxProduct |
getProduct()
Gets the underlying product that was agreed when the trade occurred.
|
FxTrade |
withInfo(PortfolioItemInfo info)
Returns an instance with the specified info.
|
getId
FxTrade withInfo(PortfolioItemInfo info)
ProductTrade
withInfo
in interface PortfolioItem
withInfo
in interface ProductTrade
withInfo
in interface Trade
info
- the new infoFxProduct getProduct()
ProductTrade
The product captures the contracted financial details of the trade.
getProduct
in interface ProductTrade
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.