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());
 }
 public Position(
     Portfolio portfolio, String assetName, TIntArrayList quantity, TLongArrayList timeMillSec) {
   this(portfolio, assetName, quantity.toArray(), timeMillSec.toArray());
 }
 public Metric setPositionQuantity(TDoubleArrayList quantityD, TLongArrayList timeMillesc) {
   return setPositionQuantity(quantityD.toArray(), timeMillesc.toArray());
 }
 public Metric setPositionQuantity(TIntArrayList quantity, TLongArrayList timeMillesc) {
   return setPositionQuantity(quantity.toArray(), timeMillesc.toArray());
 }