Class VwapScheduler
java.lang.Object
com.quantfinlib.execution.VwapScheduler
VWAP schedule design: allocates child slices proportionally to an expected
intraday volume profile (e.g. from
com.quantfinlib.ml.IntradayLiquidityForecaster), so participation
tracks the market's own volume curve.-
Method Summary
Modifier and TypeMethodDescriptionstatic long[]allocateProportionally(long total, double[] weights) Largest-remainder proportional allocation: integer quantities that sum exactly tototal, proportional toweights.schedule(long totalQty, double[] volumeProfile, long durationMillis)
-
Method Details
-
schedule
-
allocateProportionally
public static long[] allocateProportionally(long total, double[] weights) Largest-remainder proportional allocation: integer quantities that sum exactly tototal, proportional toweights.
-