Class CrbRouter.Allocation
java.lang.Object
com.quantfinlib.crb.CrbRouter.Allocation
- Enclosing class:
CrbRouter
Where the notional went.
dark[i] aligns with the venue
array passed in; expectedCostBps is the blended expected
cost of the whole allocation.-
Constructor Summary
ConstructorsConstructorDescriptionAllocation(double internal, double[] dark, double lit, double expectedCostBps) Creates the value; array and collection arguments are copied. -
Method Summary
-
Constructor Details
-
Allocation
public Allocation(double internal, double[] dark, double lit, double expectedCostBps) Creates the value; array and collection arguments are copied.
-
-
Method Details
-
internal
public double internal()internal. -
dark
public double dark(int i) Elementiofdark. -
darkLength
public int darkLength()Length ofdark. -
darkCopy
public double[] darkCopy()A fresh copy ofdark. -
lit
public double lit()lit. -
expectedCostBps
public double expectedCostBps()expectedCostBps. -
equals
-
hashCode
-
toString
-