public class CancelOrderMethod extends OrderMethod
config, MAX_TICKERS, reqMan, RH_URL
Constructor and Description |
---|
CancelOrderMethod(SecurityOrder order,
Configuration config)
Build a cancel order method.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setOrderParameters()
Does nothing
|
setEndpointParameters, verifyTickerData
addAuthTokenParameter, addFieldParameter, addFieldParameters, addHeaderParameter, addHeaderParameters, addQueryParameter, addQueryParameters, addRouteParameter, addRoutParameters, execute, getBaseUrl, getFieldParameters, getHeaderParameters, getMethodType, getQueryParameters, getReturnType, getRouteParameters, requiresToken, requireToken, setMethodType, setReturnType, setUrlBase, toString
public CancelOrderMethod(SecurityOrder order, Configuration config) throws RobinhoodApiException
order
- The order to cancelconfig
- A logged in Configuration
RobinhoodApiException
- If the order cannot be cancelledprotected void setOrderParameters()
setOrderParameters
in class OrderMethod