public interface NewOrderSingle
| Modifier and Type | Method and Description |
|---|---|
NewOrderSingle |
addStrategyParameter(java.lang.String name,
mftrading.StrategyParameterType type,
java.lang.String value)
Parameters to add to this order.
|
NewOrderSingle |
setMaxShow(long maxShow)
Max amount to show on this order.
|
NewOrderSingle |
setMaxShowAsMantissa(long maxShow)
Max amount to show on this order in Mantissa format.
|
NewOrderSingle |
setMinQty(long minQty)
Minimum amount to execute of this order's quantity.
|
NewOrderSingle |
setMinQtyAsMantissa(long minQty)
Minimum amount to execute of this order's quantity in Mantissa format.
|
NewOrderSingle |
setOrderQty(double orderQty)
Set quantity in decimal format - 1000000.50, for example
|
NewOrderSingle |
setOrderQty(long orderQty)
Set quantity as a whole number - 1000000, for example
|
NewOrderSingle |
setOrderQtyAsMantissa(long orderQty)
Set quantity in Mantissa format.
|
NewOrderSingle |
setPrice(double price)
Set the price in decimal format - 1.00374, for example
|
NewOrderSingle |
setPriceAsMantissa(long price)
Set the price in Mantissa format.
|
NewOrderSingle setPrice(double price)
price - order price@Mantissa NewOrderSingle setPriceAsMantissa(long price)
price - order priceNewOrderSingle setOrderQty(double orderQty)
orderQty - order quantityNewOrderSingle setOrderQty(long orderQty)
orderQty - order quantity@Mantissa NewOrderSingle setOrderQtyAsMantissa(long orderQty)
orderQty - order quantityNewOrderSingle setMaxShow(long maxShow)
maxShow - quantity to show@Mantissa NewOrderSingle setMaxShowAsMantissa(long maxShow)
maxShow - quantity to showNewOrderSingle setMinQty(long minQty)
minQty - minimum quantity to execute on this order@Mantissa NewOrderSingle setMinQtyAsMantissa(long minQty)
minQty - minimum quantity to execute on this orderNewOrderSingle addStrategyParameter(java.lang.String name, mftrading.StrategyParameterType type, java.lang.String value)
name - name of the order parameter that the venue will understandtype - type to help understand the parametervalue - value of the parameter