List orders
curl --request GET \
--url https://api.bullionwale.com/api/trading/test/v1/orders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/test/v1/orders"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"quantity": "<string>",
"status": "<string>",
"status_detail": "<string>",
"symbol_code": "<string>",
"trade_type": "<string>",
"unit": "<string>",
"client_order_id": "<string>",
"close_price": "<string>",
"closed_at": "<string>",
"created_at": "<string>",
"deal_no": 123,
"environment": "production",
"price": "<string>",
"realized_pnl": "<string>",
"source": "<string>",
"total": "<string>"
}
],
"total": 123
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Orders
List orders
Test (/api/trading/test/v1): Available on request. Ask the Bullionwale desk to turn on API access for your account and issue a test key. Test orders are simulated; nothing is booked.
Production (/api/trading/v1): Switched off. Production trading is implemented but not available: orders are refused with 403 production_trading_disabled. Once it opens, Bullionwale enables production access per account (see Production access requirements).
In test: Newest first.
In production: Every order of the account (web, mobile and API alike), newest first. all leaves
out orders the desk deleted; status=deleted lists only those. pending and rejected
orders appear only when placed through the API (the web never lists either).
List orders
curl --request GET \
--url https://api.bullionwale.com/api/trading/test/v1/orders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/test/v1/orders"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"quantity": "<string>",
"status": "<string>",
"status_detail": "<string>",
"symbol_code": "<string>",
"trade_type": "<string>",
"unit": "<string>",
"client_order_id": "<string>",
"close_price": "<string>",
"closed_at": "<string>",
"created_at": "<string>",
"deal_no": 123,
"environment": "production",
"price": "<string>",
"realized_pnl": "<string>",
"source": "<string>",
"total": "<string>"
}
],
"total": 123
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Query Parameters
Production only.
Pattern:
^(pending|open|closing|closed|rejected|deleted|all)$Required range:
1 <= x <= 200Required range:
x >= 0Maximum string length:
32Maximum string length:
8