List orders (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/orders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/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>"
}
}Production environment
List orders (production)
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).
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 (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/orders \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/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
Pattern:
^(pending|open|closing|closed|rejected|deleted|all)$Required range:
1 <= x <= 200Required range:
x >= 0Maximum string length:
32Maximum string length:
8