예제 #1
0
 public Position(
     Portfolio portfolio,
     String assetName,
     TFloatArrayList price,
     TLongArrayList priceTimeMillSec,
     TIntArrayList quantity,
     TLongArrayList quantityTimeMillSec) {
   this(
       portfolio,
       assetName,
       price.toArray(),
       priceTimeMillSec.toArray(),
       quantity.toArray(),
       quantityTimeMillSec.toArray());
 }
예제 #2
0
 public Position(
     Portfolio portfolio, String assetName, TIntArrayList quantity, TLongArrayList timeMillSec) {
   this(portfolio, assetName, quantity.toArray(), timeMillSec.toArray());
 }
예제 #3
0
 public Metric setPositionQuantity(TDoubleArrayList quantityD, TLongArrayList timeMillesc) {
   return setPositionQuantity(quantityD.toArray(), timeMillesc.toArray());
 }
예제 #4
0
 public Metric setPositionQuantity(TIntArrayList quantity, TLongArrayList timeMillesc) {
   return setPositionQuantity(quantity.toArray(), timeMillesc.toArray());
 }