public class DiscreteTradingTrajectoryControl
extends java.lang.Object
Constructor and Description |
---|
DiscreteTradingTrajectoryControl(double dblStartHoldings,
double[] adblExecutionTimeNode)
DiscreteTradingTrajectoryControl Constructor
|
Modifier and Type | Method and Description |
---|---|
double[] |
executionTimeNodes()
Retrieve the Array containing the Execution Time Nodes
|
double |
finishTime()
Retrieve the Finish Time of the Trading Trajectory
|
static DiscreteTradingTrajectoryControl |
FixedInterval(OrderSpecification os,
int iNumInterval)
Create a DiscreteTradingTrajectoryControl from Fixed Intervals
|
OrderSpecification |
order()
Generate the Order Specification corresponding to the Trajectory Control
|
static DiscreteTradingTrajectoryControl |
SingleInterval(OrderSpecification os)
Create a Single Interval DiscreteTradingTrajectoryControl Instance from the Order Specification
|
double |
startHoldings()
Retrieve the Initial Holdings, i.e., the Starting Number of Units to the Executed
|
public DiscreteTradingTrajectoryControl(double dblStartHoldings, double[] adblExecutionTimeNode) throws java.lang.Exception
dblStartHoldings
- Trajectory Start HoldingsadblExecutionTimeNode
- Array of the Trajectory Time Snapshotsjava.lang.Exception
- Thrown if the Inputs are Invalidpublic static final DiscreteTradingTrajectoryControl FixedInterval(OrderSpecification os, int iNumInterval)
os
- The Order SpecificationiNumInterval
- The Number of Fixed Intervalspublic static final DiscreteTradingTrajectoryControl SingleInterval(OrderSpecification os)
os
- The Order Specificationpublic double finishTime()
public double[] executionTimeNodes()
public double startHoldings()
public OrderSpecification order()