Production positions
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/positions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/positions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"gold": {
"free": "<string>",
"limit": "<string>",
"net": "<string>",
"unit": "<string>",
"used": "<string>"
},
"silver": {
"free": "<string>",
"limit": "<string>",
"net": "<string>",
"unit": "<string>",
"used": "<string>"
},
"symbols": [
{
"buy": "<string>",
"metal": "<string>",
"net": "<string>",
"sell": "<string>",
"symbol_code": "<string>",
"unit": "<string>"
}
]
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Production environment
Production positions
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).
The client’s REAL book per metal (display unit: g gold, kg silver) + per symbol.
Production positions
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/positions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/positions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"gold": {
"free": "<string>",
"limit": "<string>",
"net": "<string>",
"unit": "<string>",
"used": "<string>"
},
"silver": {
"free": "<string>",
"limit": "<string>",
"net": "<string>",
"unit": "<string>",
"used": "<string>"
},
"symbols": [
{
"buy": "<string>",
"metal": "<string>",
"net": "<string>",
"sell": "<string>",
"symbol_code": "<string>",
"unit": "<string>"
}
]
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}