OrdersApi

interface OrdersApi

Functions

cancelOrder
Link copied to clipboard
@PUT(value = /v1/accounts/{accountIdKey}/orders/cancel)
abstract fun cancelOrder(@Path(value = accountIdKeyaccountIdKey: String, @Body() body: CancelOrderRequestEnvelope): Call<CancelOrderResponseEnvelope>
createPreview
Link copied to clipboard
@POST(value = /v1/accounts/{accountIdKey}/orders/preview)
abstract fun createPreview(@Path(value = accountIdKeyaccountIdKey: String, @Body() body: PreviewRequestEnvelope): Call<PreviewOrderResponseEnvelope>
list
Link copied to clipboard
@GET(value = /v1/accounts/{accountIdKey}/orders)
abstract fun list(@Path(value = accountIdKeyaccountIdKey: String, @QueryMap() options: Map<String, String>): Call<OrdersResponseEnvelope>
placeOrder
Link copied to clipboard
@POST(value = /v1/accounts/{accountIdKey}/orders/place)
abstract fun placeOrder(@Path(value = accountIdKeyaccountIdKey: String, @Body() body: PlaceOrderRequestEnvelope): Call<PlaceOrderResponseEnvelope>

Sources

jvm source
Link copied to clipboard