Uses of Class
com.opengamma.strata.product.TradeInfoBuilder
-
Packages that use TradeInfoBuilder 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.product Entity objects describing trades and products in financial markets. -
-
Uses of TradeInfoBuilder in com.opengamma.strata.loader.csv
Methods in com.opengamma.strata.loader.csv with parameters of type TradeInfoBuilder Modifier and Type Method Description default void
TradeCsvInfoResolver. parseStandardAttributes(CsvRow row, TradeInfoBuilder builder)
Parses standard attributes intoTradeInfo
.default void
TradeCsvInfoResolver. parseTradeInfo(CsvRow row, TradeInfoBuilder builder)
Parses attributes intoTradeInfo
. -
Uses of TradeInfoBuilder in com.opengamma.strata.loader.fpml
Methods in com.opengamma.strata.loader.fpml that return TradeInfoBuilder Modifier and Type Method Description TradeInfoBuilder
FpmlTradeInfoParserPlugin. parseTrade(FpmlDocument document, LocalDate tradeDate, ListMultimap<String,StandardId> allTradeIds)
Parses trade information from the FpML document.TradeInfoBuilder
FpmlDocument. parseTradeInfo(XmlElement tradeEl)
Parses the trade header element.Methods in com.opengamma.strata.loader.fpml with parameters of type TradeInfoBuilder Modifier and Type Method Description BuySell
FpmlDocument. parseBuyerSeller(XmlElement baseEl, TradeInfoBuilder tradeInfoBuilder)
Converts an FpML 'BuyerSeller.model' to aBuySell
.PayReceive
FpmlDocument. parsePayerReceiver(XmlElement baseEl, TradeInfoBuilder tradeInfoBuilder)
Converts an FpML 'PayerReceiver.model' to aPayReceive
. -
Uses of TradeInfoBuilder in com.opengamma.strata.product
Methods in com.opengamma.strata.product that return TradeInfoBuilder Modifier and Type Method Description <T> TradeInfoBuilder
TradeInfoBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)
Adds a trade attribute to the map of attributes.static TradeInfoBuilder
TradeInfo. builder()
Returns a builder used to create an instance of the bean.TradeInfoBuilder
TradeInfoBuilder. counterparty(StandardId counterparty)
Sets the counterparty identifier, optional.TradeInfoBuilder
TradeInfoBuilder. id(StandardId id)
Sets the primary identifier for the trade, optional.TradeInfoBuilder
TradeInfoBuilder. settlementDate(LocalDate settlementDate)
Sets the settlement date, optional.TradeInfoBuilder
TradeInfo. toBuilder()
Returns a builder populated with the values of this instance.TradeInfoBuilder
TradeInfoBuilder. tradeDate(LocalDate tradeDate)
Sets the trade date, optional.TradeInfoBuilder
TradeInfoBuilder. tradeTime(LocalTime tradeTime)
Sets the trade time, optional.TradeInfoBuilder
TradeInfoBuilder. zone(ZoneId zone)
Sets the trade time-zone, optional.
-