| Package | Description |
|---|---|
| com.opengamma.strata.product.bond |
Entity objects describing bonds.
|
| Modifier and Type | Method and Description |
|---|---|
Bill |
Bill.Builder.build() |
Bill |
BillSecurity.createProduct(ReferenceData refData) |
Bill |
BillTrade.getProduct()
Gets the bill that was traded.
|
Bill |
BillPosition.getProduct()
Gets the bill that was traded.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Bill> |
Bill.Meta.beanType() |
org.joda.beans.MetaProperty<Bill> |
BillTrade.Meta.product()
The meta-property for the
product property. |
org.joda.beans.MetaProperty<Bill> |
BillPosition.Meta.product()
The meta-property for the
product property. |
| Modifier and Type | Method and Description |
|---|---|
static BillPosition |
BillPosition.ofLongShort(PositionInfo positionInfo,
Bill product,
double longQuantity,
double shortQuantity)
Obtains an instance from position information, product, long quantity and short quantity.
|
static BillPosition |
BillPosition.ofNet(PositionInfo positionInfo,
Bill product,
double netQuantity)
Obtains an instance from position information, product and net quantity.
|
static BillTrade |
BillTrade.ofPrice(TradeInfo info,
Bill product,
double quantity,
double price)
Generates a Bill trade instance from the price.
|
static BillTrade |
BillTrade.ofYield(TradeInfo info,
Bill product,
double quantity,
double yield)
Generates a Bill trade instance where the price is computed from the traded yield.
|
BillTrade.Builder |
BillTrade.Builder.product(Bill product)
Sets the bill that was traded.
|
BillPosition.Builder |
BillPosition.Builder.product(Bill product)
Sets the bill that was traded.
|
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.