Package com.longbridge.trade
Class MultiLegInfo
- java.lang.Object
-
- com.longbridge.trade.MultiLegInfo
-
public class MultiLegInfo extends Object
Multi-leg strategy information
-
-
Constructor Summary
Constructors Constructor Description MultiLegInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Returns the multi-leg combination code.MultiLegOrderLeg[]getLegs()Returns the legs of the combination order.StringgetMultilegId()Returns the multi-leg combination ID.MultiLegStrategygetStrategy()Returns the multi-leg strategy.StringgetStrategyName()Returns the strategy name.StringtoString()
-
-
-
Method Detail
-
getStrategy
public MultiLegStrategy getStrategy()
Returns the multi-leg strategy.- Returns:
- multi-leg strategy
-
getStrategyName
public String getStrategyName()
Returns the strategy name.- Returns:
- strategy name
-
getMultilegId
public String getMultilegId()
Returns the multi-leg combination ID.- Returns:
- multi-leg combination ID
-
getCode
public String getCode()
Returns the multi-leg combination code.- Returns:
- multi-leg combination code
-
getLegs
public MultiLegOrderLeg[] getLegs()
Returns the legs of the combination order.- Returns:
- legs of the combination order
-
-