One order (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/orders/{order_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/orders/{order_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"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>"
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Production environment
One order (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).
One of the account’s own orders (a deleted one reads deleted). A pending or
rejected order not placed through the API is 404, as it is hidden on the web.
One order (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/orders/{order_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/orders/{order_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"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>"
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Path Parameters
Response
Successful Response
pending, open, closing, closed, rejected or deleted.
The desk's raw status.
g or kg.
The desk's deal number.
Rupees, 2 decimals, as a string.
Channel: web, mobile, api, ...