Test positions
curl --request GET \
--url https://api.bullionwale.com/api/trading/test/v1/positions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/test/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>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Test environment
Test positions
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.
The client’s TEST book per metal, in the metal’s display unit (g gold, kg silver).
Test positions
curl --request GET \
--url https://api.bullionwale.com/api/trading/test/v1/positions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/test/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>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}