public class OptionsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
OptionsApi.APIlistMyOptionsSettlementsRequest |
class |
OptionsApi.APIlistMyOptionsTradesRequest |
class |
OptionsApi.APIlistOptionsAccountBookRequest |
class |
OptionsApi.APIlistOptionsCandlesticksRequest |
class |
OptionsApi.APIlistOptionsContractsRequest |
class |
OptionsApi.APIlistOptionsOrderBookRequest |
class |
OptionsApi.APIlistOptionsOrdersRequest |
class |
OptionsApi.APIlistOptionsPositionCloseRequest |
class |
OptionsApi.APIlistOptionsPositionsRequest |
class |
OptionsApi.APIlistOptionsSettlementsRequest |
class |
OptionsApi.APIlistOptionsTradesRequest |
class |
OptionsApi.APIlistOptionsUnderlyingCandlesticksRequest |
| Constructor and Description |
|---|
OptionsApi() |
OptionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
OptionsOrder |
cancelOptionsOrder(Long orderId)
Cancel a single order
|
okhttp3.Call |
cancelOptionsOrderAsync(Long orderId,
ApiCallback<OptionsOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
cancelOptionsOrderCall(Long orderId,
ApiCallback _callback)
Build call for cancelOptionsOrder
|
List<OptionsOrder> |
cancelOptionsOrders(String contract,
String underlying,
String side)
Cancel all `open` orders matched
|
okhttp3.Call |
cancelOptionsOrdersAsync(String contract,
String underlying,
String side,
ApiCallback<List<OptionsOrder>> _callback)
Cancel all `open` orders matched (asynchronously)
|
okhttp3.Call |
cancelOptionsOrdersCall(String contract,
String underlying,
String side,
ApiCallback _callback)
Build call for cancelOptionsOrders
|
ApiResponse<List<OptionsOrder>> |
cancelOptionsOrdersWithHttpInfo(String contract,
String underlying,
String side)
Cancel all `open` orders matched
|
ApiResponse<OptionsOrder> |
cancelOptionsOrderWithHttpInfo(Long orderId)
Cancel a single order
|
OptionsOrder |
createOptionsOrder(OptionsOrder optionsOrder)
Create an options order
|
okhttp3.Call |
createOptionsOrderAsync(OptionsOrder optionsOrder,
ApiCallback<OptionsOrder> _callback)
Create an options order (asynchronously)
|
okhttp3.Call |
createOptionsOrderCall(OptionsOrder optionsOrder,
ApiCallback _callback)
Build call for createOptionsOrder
|
ApiResponse<OptionsOrder> |
createOptionsOrderWithHttpInfo(OptionsOrder optionsOrder)
Create an options order
|
ApiClient |
getApiClient() |
OptionsContract |
getOptionsContract(String contract)
Query specified contract detail
|
okhttp3.Call |
getOptionsContractAsync(String contract,
ApiCallback<OptionsContract> _callback)
Query specified contract detail (asynchronously)
|
okhttp3.Call |
getOptionsContractCall(String contract,
ApiCallback _callback)
Build call for getOptionsContract
|
ApiResponse<OptionsContract> |
getOptionsContractWithHttpInfo(String contract)
Query specified contract detail
|
OptionsOrder |
getOptionsOrder(Long orderId)
Get a single order
|
okhttp3.Call |
getOptionsOrderAsync(Long orderId,
ApiCallback<OptionsOrder> _callback)
Get a single order (asynchronously)
|
okhttp3.Call |
getOptionsOrderCall(Long orderId,
ApiCallback _callback)
Build call for getOptionsOrder
|
ApiResponse<OptionsOrder> |
getOptionsOrderWithHttpInfo(Long orderId)
Get a single order
|
OptionsPosition |
getOptionsPosition(String contract)
Get specified contract position
|
okhttp3.Call |
getOptionsPositionAsync(String contract,
ApiCallback<OptionsPosition> _callback)
Get specified contract position (asynchronously)
|
okhttp3.Call |
getOptionsPositionCall(String contract,
ApiCallback _callback)
Build call for getOptionsPosition
|
ApiResponse<OptionsPosition> |
getOptionsPositionWithHttpInfo(String contract)
Get specified contract position
|
OptionsSettlement |
getOptionsSettlement(String contract,
String underlying,
Long at)
Get specified contract's settlement
|
okhttp3.Call |
getOptionsSettlementAsync(String contract,
String underlying,
Long at,
ApiCallback<OptionsSettlement> _callback)
Get specified contract's settlement (asynchronously)
|
okhttp3.Call |
getOptionsSettlementCall(String contract,
String underlying,
Long at,
ApiCallback _callback)
Build call for getOptionsSettlement
|
ApiResponse<OptionsSettlement> |
getOptionsSettlementWithHttpInfo(String contract,
String underlying,
Long at)
Get specified contract's settlement
|
OptionsApi.APIlistMyOptionsSettlementsRequest |
listMyOptionsSettlements(String underlying)
List my options settlements
|
OptionsApi.APIlistMyOptionsTradesRequest |
listMyOptionsTrades(String underlying)
List personal trading history
|
OptionsAccount |
listOptionsAccount()
List options account
|
okhttp3.Call |
listOptionsAccountAsync(ApiCallback<OptionsAccount> _callback)
List options account (asynchronously)
|
OptionsApi.APIlistOptionsAccountBookRequest |
listOptionsAccountBook()
List account changing history
|
okhttp3.Call |
listOptionsAccountCall(ApiCallback _callback)
Build call for listOptionsAccount
|
ApiResponse<OptionsAccount> |
listOptionsAccountWithHttpInfo()
List options account
|
OptionsApi.APIlistOptionsCandlesticksRequest |
listOptionsCandlesticks(String contract)
Get options candlesticks
|
OptionsApi.APIlistOptionsContractsRequest |
listOptionsContracts(String underlying)
List all the contracts with specified underlying and expiration time
|
List<Long> |
listOptionsExpirations(String underlying)
List all expiration times
|
okhttp3.Call |
listOptionsExpirationsAsync(String underlying,
ApiCallback<List<Long>> _callback)
List all expiration times (asynchronously)
|
okhttp3.Call |
listOptionsExpirationsCall(String underlying,
ApiCallback _callback)
Build call for listOptionsExpirations
|
ApiResponse<List<Long>> |
listOptionsExpirationsWithHttpInfo(String underlying)
List all expiration times
|
OptionsApi.APIlistOptionsOrderBookRequest |
listOptionsOrderBook(String contract)
Options order book
Bids will be sorted by price from high to low, while asks sorted reversely
|
OptionsApi.APIlistOptionsOrdersRequest |
listOptionsOrders(String status)
List options orders
|
OptionsApi.APIlistOptionsPositionCloseRequest |
listOptionsPositionClose(String underlying)
List user's liquidation history of specified underlying
|
OptionsApi.APIlistOptionsPositionsRequest |
listOptionsPositions()
List user's positions of specified underlying
|
OptionsApi.APIlistOptionsSettlementsRequest |
listOptionsSettlements(String underlying)
List settlement history
|
List<OptionsTicker> |
listOptionsTickers(String underlying)
List tickers of options contracts
|
okhttp3.Call |
listOptionsTickersAsync(String underlying,
ApiCallback<List<OptionsTicker>> _callback)
List tickers of options contracts (asynchronously)
|
okhttp3.Call |
listOptionsTickersCall(String underlying,
ApiCallback _callback)
Build call for listOptionsTickers
|
ApiResponse<List<OptionsTicker>> |
listOptionsTickersWithHttpInfo(String underlying)
List tickers of options contracts
|
OptionsApi.APIlistOptionsTradesRequest |
listOptionsTrades()
Options trade history
|
OptionsApi.APIlistOptionsUnderlyingCandlesticksRequest |
listOptionsUnderlyingCandlesticks(String underlying)
Mark price candlesticks of an underlying
|
List<OptionsUnderlying> |
listOptionsUnderlyings()
List all underlyings
|
okhttp3.Call |
listOptionsUnderlyingsAsync(ApiCallback<List<OptionsUnderlying>> _callback)
List all underlyings (asynchronously)
|
okhttp3.Call |
listOptionsUnderlyingsCall(ApiCallback _callback)
Build call for listOptionsUnderlyings
|
ApiResponse<List<OptionsUnderlying>> |
listOptionsUnderlyingsWithHttpInfo()
List all underlyings
|
OptionsUnderlyingTicker |
listOptionsUnderlyingTickers(String underlying)
Get underlying ticker
|
okhttp3.Call |
listOptionsUnderlyingTickersAsync(String underlying,
ApiCallback<OptionsUnderlyingTicker> _callback)
Get underlying ticker (asynchronously)
|
okhttp3.Call |
listOptionsUnderlyingTickersCall(String underlying,
ApiCallback _callback)
Build call for listOptionsUnderlyingTickers
|
ApiResponse<OptionsUnderlyingTicker> |
listOptionsUnderlyingTickersWithHttpInfo(String underlying)
Get underlying ticker
|
void |
setApiClient(ApiClient apiClient) |
public OptionsApi()
public OptionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call listOptionsUnderlyingsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public List<OptionsUnderlying> listOptionsUnderlyings() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public ApiResponse<List<OptionsUnderlying>> listOptionsUnderlyingsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call listOptionsUnderlyingsAsync(ApiCallback<List<OptionsUnderlying>> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call listOptionsExpirationsCall(String underlying, ApiCallback _callback) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | List expiration times of specified underlying | - |
public List<Long> listOptionsExpirations(String underlying) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List expiration times of specified underlying | - |
public ApiResponse<List<Long>> listOptionsExpirationsWithHttpInfo(String underlying) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | List expiration times of specified underlying | - |
public okhttp3.Call listOptionsExpirationsAsync(String underlying, ApiCallback<List<Long>> _callback) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | List expiration times of specified underlying | - |
public OptionsApi.APIlistOptionsContractsRequest listOptionsContracts(String underlying)
underlying - Underlying (Obtained by listing underlying endpoint) (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call getOptionsContractCall(String contract, ApiCallback _callback) throws ApiException
contract - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsContract getOptionsContract(String contract) throws ApiException
contract - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<OptionsContract> getOptionsContractWithHttpInfo(String contract) throws ApiException
contract - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call getOptionsContractAsync(String contract, ApiCallback<OptionsContract> _callback) throws ApiException
contract - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsApi.APIlistOptionsSettlementsRequest listOptionsSettlements(String underlying)
underlying - Underlying (Obtained by listing underlying endpoint) (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call getOptionsSettlementCall(String contract, String underlying, Long at, ApiCallback _callback) throws ApiException
contract - (required)underlying - Underlying (Obtained by listing underlying endpoint) (required)at - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsSettlement getOptionsSettlement(String contract, String underlying, Long at) throws ApiException
contract - (required)underlying - Underlying (Obtained by listing underlying endpoint) (required)at - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<OptionsSettlement> getOptionsSettlementWithHttpInfo(String contract, String underlying, Long at) throws ApiException
contract - (required)underlying - Underlying (Obtained by listing underlying endpoint) (required)at - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call getOptionsSettlementAsync(String contract, String underlying, Long at, ApiCallback<OptionsSettlement> _callback) throws ApiException
contract - (required)underlying - Underlying (Obtained by listing underlying endpoint) (required)at - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsApi.APIlistMyOptionsSettlementsRequest listMyOptionsSettlements(String underlying)
underlying - Underlying (Obtained by listing underlying endpoint) (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public OptionsApi.APIlistOptionsOrderBookRequest listOptionsOrderBook(String contract)
contract - Options contract name (required)| Status Code | Description | Response Headers |
| 200 | Order book retrieved | - |
public okhttp3.Call listOptionsTickersCall(String underlying, ApiCallback _callback) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public List<OptionsTicker> listOptionsTickers(String underlying) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<List<OptionsTicker>> listOptionsTickersWithHttpInfo(String underlying) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call listOptionsTickersAsync(String underlying, ApiCallback<List<OptionsTicker>> _callback) throws ApiException
underlying - Underlying (Obtained by listing underlying endpoint) (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call listOptionsUnderlyingTickersCall(String underlying, ApiCallback _callback) throws ApiException
underlying - Underlying (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsUnderlyingTicker listOptionsUnderlyingTickers(String underlying) throws ApiException
underlying - Underlying (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<OptionsUnderlyingTicker> listOptionsUnderlyingTickersWithHttpInfo(String underlying) throws ApiException
underlying - Underlying (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call listOptionsUnderlyingTickersAsync(String underlying, ApiCallback<OptionsUnderlyingTicker> _callback) throws ApiException
underlying - Underlying (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsApi.APIlistOptionsCandlesticksRequest listOptionsCandlesticks(String contract)
contract - Options contract name (required)| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsApi.APIlistOptionsUnderlyingCandlesticksRequest listOptionsUnderlyingCandlesticks(String underlying)
underlying - Underlying (Obtained by listing underlying endpoint) (required)| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsApi.APIlistOptionsTradesRequest listOptionsTrades()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call listOptionsAccountCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsAccount listOptionsAccount() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<OptionsAccount> listOptionsAccountWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call listOptionsAccountAsync(ApiCallback<OptionsAccount> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsApi.APIlistOptionsAccountBookRequest listOptionsAccountBook()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public OptionsApi.APIlistOptionsPositionsRequest listOptionsPositions()
| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call getOptionsPositionCall(String contract, ApiCallback _callback) throws ApiException
contract - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsPosition getOptionsPosition(String contract) throws ApiException
contract - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public ApiResponse<OptionsPosition> getOptionsPositionWithHttpInfo(String contract) throws ApiException
contract - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public okhttp3.Call getOptionsPositionAsync(String contract, ApiCallback<OptionsPosition> _callback) throws ApiException
contract - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Successfully retrieved | - |
public OptionsApi.APIlistOptionsPositionCloseRequest listOptionsPositionClose(String underlying)
underlying - Underlying (Obtained by listing underlying endpoint) (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public OptionsApi.APIlistOptionsOrdersRequest listOptionsOrders(String status)
status - Only list the orders with this status (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
public okhttp3.Call createOptionsOrderCall(OptionsOrder optionsOrder, ApiCallback _callback) throws ApiException
optionsOrder - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Order detail | - |
public OptionsOrder createOptionsOrder(OptionsOrder optionsOrder) throws ApiException
optionsOrder - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Order detail | - |
public ApiResponse<OptionsOrder> createOptionsOrderWithHttpInfo(OptionsOrder optionsOrder) throws ApiException
optionsOrder - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Order detail | - |
public okhttp3.Call createOptionsOrderAsync(OptionsOrder optionsOrder, ApiCallback<OptionsOrder> _callback) throws ApiException
optionsOrder - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 201 | Order detail | - |
public okhttp3.Call cancelOptionsOrdersCall(String contract, String underlying, String side, ApiCallback _callback) throws ApiException
contract - Options contract name (optional)underlying - Underlying (optional)side - All bids or asks. Both included if not specified (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | All orders matched cancelled | - |
public List<OptionsOrder> cancelOptionsOrders(String contract, String underlying, String side) throws ApiException
contract - Options contract name (optional)underlying - Underlying (optional)side - All bids or asks. Both included if not specified (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | All orders matched cancelled | - |
public ApiResponse<List<OptionsOrder>> cancelOptionsOrdersWithHttpInfo(String contract, String underlying, String side) throws ApiException
contract - Options contract name (optional)underlying - Underlying (optional)side - All bids or asks. Both included if not specified (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | All orders matched cancelled | - |
public okhttp3.Call cancelOptionsOrdersAsync(String contract, String underlying, String side, ApiCallback<List<OptionsOrder>> _callback) throws ApiException
contract - Options contract name (optional)underlying - Underlying (optional)side - All bids or asks. Both included if not specified (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | All orders matched cancelled | - |
public okhttp3.Call getOptionsOrderCall(Long orderId, ApiCallback _callback) throws ApiException
orderId - Order ID returned on successful order creation (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public OptionsOrder getOptionsOrder(Long orderId) throws ApiException
orderId - Order ID returned on successful order creation (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public ApiResponse<OptionsOrder> getOptionsOrderWithHttpInfo(Long orderId) throws ApiException
orderId - Order ID returned on successful order creation (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public okhttp3.Call getOptionsOrderAsync(Long orderId, ApiCallback<OptionsOrder> _callback) throws ApiException
orderId - Order ID returned on successful order creation (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public okhttp3.Call cancelOptionsOrderCall(Long orderId, ApiCallback _callback) throws ApiException
orderId - Order ID returned on successful order creation (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public OptionsOrder cancelOptionsOrder(Long orderId) throws ApiException
orderId - Order ID returned on successful order creation (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public ApiResponse<OptionsOrder> cancelOptionsOrderWithHttpInfo(Long orderId) throws ApiException
orderId - Order ID returned on successful order creation (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public okhttp3.Call cancelOptionsOrderAsync(Long orderId, ApiCallback<OptionsOrder> _callback) throws ApiException
orderId - Order ID returned on successful order creation (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Order detail | - |
public OptionsApi.APIlistMyOptionsTradesRequest listMyOptionsTrades(String underlying)
underlying - Underlying (Obtained by listing underlying endpoint) (required)| Status Code | Description | Response Headers |
| 200 | List retrieved | - |
Copyright © 2023. All rights reserved.