Cancel all market orders
curl --request POST \
--url https://api.unitedmarket.ai/markets/{id}/orders/cancel-all \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.unitedmarket.ai/markets/{id}/orders/cancel-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/orders/cancel-all"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}Orders
Cancel all market orders
Cancels open orders for the specified market and authenticated account. Requires SIWE bearer auth.
POST
https://api.unitedmarket.ai
/
markets
/
{id}
/
orders
/
cancel-all
Cancel all market orders
curl --request POST \
--url https://api.unitedmarket.ai/markets/{id}/orders/cancel-all \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.unitedmarket.ai/markets/{id}/orders/cancel-all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/markets/{id}/orders/cancel-all"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}