Interface OrderRequestService
-
- All Implemented Interfaces:
public interface OrderRequestService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceOrderRequestService.WithRawResponseA view of OrderRequestService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract OrderRequestService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract OrderRequestService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
stocks
abstract StockService stocks()
-
eip155
abstract Eip155Service eip155()
-
retrieve
OrderRequest retrieve(String orderRequestId, OrderRequestRetrieveParams params)
Get a specific
OrderRequestby its ID.
-
retrieve
OrderRequest retrieve(String orderRequestId, OrderRequestRetrieveParams params, RequestOptions requestOptions)
-
retrieve
OrderRequest retrieve(OrderRequestRetrieveParams params)
-
retrieve
abstract OrderRequest retrieve(OrderRequestRetrieveParams params, RequestOptions requestOptions)
-
list
List<OrderRequest> list(String accountId)
Lists
OrderRequests.<br>OptionallyOrderRequestscan be filtered by certain parameters.
-
list
List<OrderRequest> list(String accountId, OrderRequestListParams params, RequestOptions requestOptions)
-
list
List<OrderRequest> list(String accountId, OrderRequestListParams params)
-
list
abstract List<OrderRequest> list(OrderRequestListParams params, RequestOptions requestOptions)
-
list
List<OrderRequest> list(OrderRequestListParams params)
-
list
List<OrderRequest> list(String accountId, RequestOptions requestOptions)
-
createLimitBuy
OrderRequest createLimitBuy(String accountId, OrderRequestCreateLimitBuyParams params)
Create a managed
OrderRequestto place a limit buyOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the existingOrderRequestwill be returned instead of creating a new one.
-
createLimitBuy
OrderRequest createLimitBuy(String accountId, OrderRequestCreateLimitBuyParams params, RequestOptions requestOptions)
-
createLimitBuy
OrderRequest createLimitBuy(OrderRequestCreateLimitBuyParams params)
-
createLimitBuy
abstract OrderRequest createLimitBuy(OrderRequestCreateLimitBuyParams params, RequestOptions requestOptions)
-
createLimitSell
OrderRequest createLimitSell(String accountId, OrderRequestCreateLimitSellParams params)
Create a managed
OrderRequestto place a limit sellOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the existingOrderRequestwill be returned instead of creating a new one.
-
createLimitSell
OrderRequest createLimitSell(String accountId, OrderRequestCreateLimitSellParams params, RequestOptions requestOptions)
-
createLimitSell
OrderRequest createLimitSell(OrderRequestCreateLimitSellParams params)
-
createLimitSell
abstract OrderRequest createLimitSell(OrderRequestCreateLimitSellParams params, RequestOptions requestOptions)
-
createMarketBuy
OrderRequest createMarketBuy(String accountId, OrderRequestCreateMarketBuyParams params)
Create a managed
OrderRequestto place a market buyOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the existingOrderRequestwill be returned instead of creating a new one.
-
createMarketBuy
OrderRequest createMarketBuy(String accountId, OrderRequestCreateMarketBuyParams params, RequestOptions requestOptions)
-
createMarketBuy
OrderRequest createMarketBuy(OrderRequestCreateMarketBuyParams params)
-
createMarketBuy
abstract OrderRequest createMarketBuy(OrderRequestCreateMarketBuyParams params, RequestOptions requestOptions)
-
createMarketSell
OrderRequest createMarketSell(String accountId, OrderRequestCreateMarketSellParams params)
Create a managed
OrderRequestto place a market sellOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the existingOrderRequestwill be returned instead of creating a new one.
-
createMarketSell
OrderRequest createMarketSell(String accountId, OrderRequestCreateMarketSellParams params, RequestOptions requestOptions)
-
createMarketSell
OrderRequest createMarketSell(OrderRequestCreateMarketSellParams params)
-
createMarketSell
abstract OrderRequest createMarketSell(OrderRequestCreateMarketSellParams params, RequestOptions requestOptions)
-
getFeeQuote
OrderRequestGetFeeQuoteResponse getFeeQuote(String accountId, OrderRequestGetFeeQuoteParams params)
Get fee quote data for an
Order Request. This is provided primarily for informational purposes.For market buy orders, the notional amount of the order includes the fees. For market and limit sell orders, fees are deducted from the proceeds of the sale. For limit buy orders, the fees are added to the total cost of the order.
-
getFeeQuote
OrderRequestGetFeeQuoteResponse getFeeQuote(String accountId, OrderRequestGetFeeQuoteParams params, RequestOptions requestOptions)
-
getFeeQuote
OrderRequestGetFeeQuoteResponse getFeeQuote(OrderRequestGetFeeQuoteParams params)
-
getFeeQuote
abstract OrderRequestGetFeeQuoteResponse getFeeQuote(OrderRequestGetFeeQuoteParams params, RequestOptions requestOptions)
-
-
-
-