Skip to main content
POST
/
api
/
v1
/
order
/
amend
Amend Order
curl --request POST \
  --url https://api.ekiden.fi/api/v1/order/amend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "price": 1,
  "size": 1,
  "sub_account_address": "<string>",
  "symbol": "BTCUSDC",
  "order_id": "<unknown>",
  "order_iv": 1,
  "order_link_id": "<unknown>",
  "tpsl": "<unknown>",
  "trigger": "<unknown>"
}
'
{
  "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order_link_id": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to amend an order.

price
integer<int64>
required
Required range: x >= 0
size
integer<int64>
required
Required range: x >= 0
sub_account_address
string
required
symbol
string
required
Example:

"BTCUSDC"

order_id
null | string<uuid>
order_iv
integer<int64> | null
Required range: x >= 0
tpsl
object
trigger
object

Response

200 - application/json

Order amended

Response for amending an order.

order_id
string<uuid>
required