Self Trading
Creates a new self-trading order
POST
https://api.ajaib.co.id/coin/internal/v1/order/self-trading
Functionality: Creates a new "self-trading" order. Only available for use via (internal market maker) exchange client.
Authentication: Required
Request Body
Name
Type
Mandatory
Description
symbol
string
price
decimal
Price of order. Mandatory for order type LIMIT
quantity
decimal
Quantity of order. Mandatory for order type LIMIT
Request Body Sample
Response Body
Name
Type
Description
buy_order_id
long
Unique identifier generated by Ajaib exchange for orders submitted successfully
sell_order_id
long
Unique identifier generated by Ajaib exchange for orders submitted successfully
Last updated