Uses of Class
com.opengamma.strata.product.SecurityPosition
-
Packages that use SecurityPosition Package Description com.opengamma.strata.loader.csv Loader that reads market data from CSV files.com.opengamma.strata.measure.security Calculation functions for futures products.com.opengamma.strata.product Entity objects describing trades and products in financial markets. -
-
Uses of SecurityPosition in com.opengamma.strata.loader.csv
Methods in com.opengamma.strata.loader.csv that return SecurityPosition Modifier and Type Method Description default SecurityPosition
PositionCsvInfoResolver. completePosition(CsvRow row, SecurityPosition position)
Completes the position, potentially parsing additional columns.default SecurityPosition
PositionCsvInfoResolver. parseEtdFutureSecurityPosition(CsvRow row, PositionInfo info)
Parses an ETD future position from the CSV row without using reference data.default SecurityPosition
PositionCsvInfoResolver. parseEtdOptionSecurityPosition(CsvRow row, PositionInfo info)
Parses an ETD option position from the CSV row without using reference data.default SecurityPosition
PositionCsvInfoResolver. parseNonEtdSecurityPosition(CsvRow row, PositionInfo info)
Parses a non-ETD position from the CSV row.Methods in com.opengamma.strata.loader.csv that return types with arguments of type SecurityPosition Modifier and Type Method Description ValueWithFailures<List<SecurityPosition>>
PositionCsvLoader. parseLightweight(Collection<CharSource> charSources)
Deprecated.UseLightweightPositionCsvInfoResolver
insteadMethods in com.opengamma.strata.loader.csv with parameters of type SecurityPosition Modifier and Type Method Description default SecurityPosition
PositionCsvInfoResolver. completePosition(CsvRow row, SecurityPosition position)
Completes the position, potentially parsing additional columns. -
Uses of SecurityPosition in com.opengamma.strata.measure.security
Methods in com.opengamma.strata.measure.security that return types with arguments of type SecurityPosition Modifier and Type Method Description Class<SecurityPosition>
SecurityPositionCalculationFunction. targetType()
Methods in com.opengamma.strata.measure.security with parameters of type SecurityPosition Modifier and Type Method Description Map<Measure,Result<?>>
SecurityPositionCalculationFunction. calculate(SecurityPosition position, Set<Measure> measures, CalculationParameters parameters, ScenarioMarketData scenarioMarketData, ReferenceData refData)
Optional<String>
SecurityPositionCalculationFunction. identifier(SecurityPosition target)
Currency
SecurityPositionCalculationFunction. naturalCurrency(SecurityPosition position, ReferenceData refData)
FunctionRequirements
SecurityPositionCalculationFunction. requirements(SecurityPosition position, Set<Measure> measures, CalculationParameters parameters, ReferenceData refData)
-
Uses of SecurityPosition in com.opengamma.strata.product
Methods in com.opengamma.strata.product that return SecurityPosition Modifier and Type Method Description SecurityPosition
SecurityPosition.Builder. build()
static SecurityPosition
SecurityPosition. ofLongShort(PositionInfo positionInfo, SecurityId securityId, double longQuantity, double shortQuantity)
Obtains an instance from position information, security identifier, long quantity and short quantity.static SecurityPosition
SecurityPosition. ofLongShort(SecurityId securityId, double longQuantity, double shortQuantity)
Obtains an instance from the security identifier, long quantity and short quantity.static SecurityPosition
SecurityPosition. ofNet(PositionInfo positionInfo, SecurityId securityId, double netQuantity)
Obtains an instance from position information, security identifier and net quantity.static SecurityPosition
SecurityPosition. ofNet(SecurityId securityId, double netQuantity)
Obtains an instance from the security identifier and net quantity.SecurityPosition
SecurityPosition. withInfo(PortfolioItemInfo info)
SecurityPosition
SecurityPosition. withQuantity(double quantity)
Methods in com.opengamma.strata.product that return types with arguments of type SecurityPosition Modifier and Type Method Description Class<? extends SecurityPosition>
SecurityPosition.Meta. beanType()
-