public class PostOrderRequestBuilder extends OrdersRequestBuilder
bodyProperties, URL_SEPARATOR, urlParameters
ORDERS_ENDPOINT
Constructor | Description |
---|---|
PostOrderRequestBuilder(java.lang.String baseUrl) |
Instantiates a new post order request builder.
|
Modifier and Type | Method | Description |
---|---|---|
PostOrderRequestBuilder |
clientOrderId(java.lang.String clientOrderId) |
Client order id.
|
PostOrderRequestBuilder |
limitPrice(java.lang.Number limitPrice) |
Limit price.
|
PostOrderRequestBuilder |
quantity(java.lang.Integer qty) |
Quantity.
|
PostOrderRequestBuilder |
side(OrderSide side) |
Side.
|
PostOrderRequestBuilder |
stopPrice(java.lang.Number stopPrice) |
Stop price.
|
PostOrderRequestBuilder |
symbol(java.lang.String symbol) |
Symbol.
|
PostOrderRequestBuilder |
timeInForce(OrderTimeInForce tif) |
Time in force.
|
PostOrderRequestBuilder |
type(OrderType type) |
Type.
|
appendBodyProperty, appendEndpoint, appendURLParameter, getBodyAsJSON, getURL, isDefaultEndpoint, setDefaultEndpoint
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint
public PostOrderRequestBuilder(java.lang.String baseUrl)
baseUrl
- the base urlpublic PostOrderRequestBuilder symbol(java.lang.String symbol)
symbol
- the symbolpublic PostOrderRequestBuilder quantity(java.lang.Integer qty)
qty
- the qtypublic PostOrderRequestBuilder side(OrderSide side)
side
- the sidepublic PostOrderRequestBuilder type(OrderType type)
type
- the typepublic PostOrderRequestBuilder timeInForce(OrderTimeInForce tif)
tif
- the tifpublic PostOrderRequestBuilder limitPrice(java.lang.Number limitPrice)
limitPrice
- the limit pricepublic PostOrderRequestBuilder stopPrice(java.lang.Number stopPrice)
stopPrice
- the stop pricepublic PostOrderRequestBuilder clientOrderId(java.lang.String clientOrderId)
clientOrderId
- the client order id