Uses of Interface
com.opengamma.strata.product.Position
-
Packages that use Position Package Description com.opengamma.strata.loader.csv Loader that reads market data from CSV files.com.opengamma.strata.product Entity objects describing trades and products in financial markets.com.opengamma.strata.product.bond Entity objects describing bonds.com.opengamma.strata.product.common Entity objects shared between other packages.com.opengamma.strata.product.dsf Entity objects describing Deliverable Swap Futures (DSFs).com.opengamma.strata.product.etd Entity objects describing Exchange Traded Derivatives (ETDs).com.opengamma.strata.product.index Entity objects describing contracts based on rate indices.com.opengamma.strata.report.framework.expression Provide the ability to extract data using textual expressions. -
-
Uses of Position in com.opengamma.strata.loader.csv
Methods in com.opengamma.strata.loader.csv with type parameters of type Position Modifier and Type Method Description <T extends Position>
ValueWithFailures<List<T>>PositionCsvLoader. parse(Collection<CharSource> charSources, Class<T> positionType)
Parses one or more CSV format position files.Methods in com.opengamma.strata.loader.csv that return Position Modifier and Type Method Description default Position
LightweightPositionCsvInfoResolver. parseEtdFuturePosition(CsvRow row, PositionInfo info)
default Position
PositionCsvInfoResolver. parseEtdFuturePosition(CsvRow row, PositionInfo info)
Parses an ETD future position from the CSV row.default Position
LightweightPositionCsvInfoResolver. parseEtdOptionPosition(CsvRow row, PositionInfo info)
default Position
PositionCsvInfoResolver. parseEtdOptionPosition(CsvRow row, PositionInfo info)
Parses an ETD future position from the CSV row.default Position
LightweightPositionCsvInfoResolver. parseNonEtdPosition(CsvRow row, PositionInfo info)
default Position
PositionCsvInfoResolver. parseNonEtdPosition(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 Position Modifier and Type Method Description ValueWithFailures<List<Position>>
PositionCsvLoader. load(ResourceLocator... resources)
Loads one or more CSV format position files.ValueWithFailures<List<Position>>
PositionCsvLoader. load(Collection<ResourceLocator> resources)
Loads one or more CSV format position files.ValueWithFailures<List<Position>>
PositionCsvLoader. parse(Collection<CharSource> charSources)
Parses one or more CSV format position files, returning ETD futures and options using information from reference data.Optional<Position>
PositionCsvParserPlugin. parsePosition(Class<?> requiredJavaType, CsvRow row, PositionInfo info, PositionCsvInfoResolver resolver)
Parses a single CSV format position from the input. -
Uses of Position in com.opengamma.strata.product
Subinterfaces of Position in com.opengamma.strata.product Modifier and Type Interface Description interface
ResolvableSecurityPosition
A position that has a security identifier that can be resolved using reference data.interface
SecuritizedProductPosition<P extends SecuritizedProduct>
A position that is directly based on a securitized product.Classes in com.opengamma.strata.product that implement Position Modifier and Type Class Description class
GenericSecurityPosition
A position in a security, where the security is embedded ready for mark-to-market pricing.class
SecurityPosition
A position in a security, where the security is referenced by identifier.Methods in com.opengamma.strata.product that return Position Modifier and Type Method Description Position
Security. createPosition(PositionInfo positionInfo, double longQuantity, double shortQuantity, ReferenceData refData)
Creates a position based on this security from a long and short quantity.Position
Security. createPosition(PositionInfo positionInfo, double quantity, ReferenceData refData)
Creates a position based on this security from a net quantity.Position
Position. withInfo(PortfolioItemInfo info)
Returns an instance with the specified info.Position
Position. withQuantity(double quantity)
Returns an instance with the specified quantity. -
Uses of Position in com.opengamma.strata.product.bond
Classes in com.opengamma.strata.product.bond that implement Position Modifier and Type Class Description class
BillPosition
A position in a bill.class
BondFutureOptionPosition
A position in a bond future option.class
BondFuturePosition
A position in a bond future.class
CapitalIndexedBondPosition
A position in a capital indexed bond.class
FixedCouponBondPosition
A position in a fixed coupon bond. -
Uses of Position in com.opengamma.strata.product.common
Methods in com.opengamma.strata.product.common with parameters of type Position Modifier and Type Method Description static PortfolioItemSummary
SummarizerUtils. summary(Position position, ProductType type, String description, Currency... currencies)
Creates a summary instance for a position. -
Uses of Position in com.opengamma.strata.product.dsf
Classes in com.opengamma.strata.product.dsf that implement Position Modifier and Type Class Description class
DsfPosition
A position in a DSF. -
Uses of Position in com.opengamma.strata.product.etd
Subinterfaces of Position in com.opengamma.strata.product.etd Modifier and Type Interface Description interface
EtdPosition
A position in an ETD, where the security is embedded ready for mark-to-market pricing.Classes in com.opengamma.strata.product.etd that implement Position Modifier and Type Class Description class
EtdFuturePosition
A position in an ETD future, where the security is embedded ready for mark-to-market pricing.class
EtdOptionPosition
A position in an ETD option, where the security is embedded ready for mark-to-market pricing. -
Uses of Position in com.opengamma.strata.product.index
Classes in com.opengamma.strata.product.index that implement Position Modifier and Type Class Description class
IborFutureOptionPosition
A position in an option on a futures contract based on an Ibor index.class
IborFuturePosition
A position in a futures contract based on an Ibor index.class
OvernightFuturePosition
A futures contract based on an Overnight index. -
Uses of Position in com.opengamma.strata.report.framework.expression
Methods in com.opengamma.strata.report.framework.expression that return types with arguments of type Position Modifier and Type Method Description Class<Position>
PositionTokenEvaluator. getTargetType()
Methods in com.opengamma.strata.report.framework.expression with parameters of type Position Modifier and Type Method Description EvaluationResult
PositionTokenEvaluator. evaluate(Position position, CalculationFunctions functions, String firstToken, List<String> remainingTokens)
Set<String>
PositionTokenEvaluator. tokens(Position position)
-