curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/market/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/market/status"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"closing_prices": [
{
"buy": "<string>",
"captured_at": "<string>",
"sell": "<string>",
"symbol_code": "<string>"
}
],
"frozen_symbols": [
"<string>"
],
"market_close_time": "<string>",
"official_close_days": [
"<string>"
],
"official_close_time": "<string>",
"server_time": "<string>",
"trading_halted": true,
"utc_offset": "<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>"
}
}Market status (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).
Whether trading is halted, which symbols are frozen, the market clock (IST) and your rates at the latest official close. The same on test and production.
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/market/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/market/status"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"closing_prices": [
{
"buy": "<string>",
"captured_at": "<string>",
"sell": "<string>",
"symbol_code": "<string>"
}
],
"frozen_symbols": [
"<string>"
],
"market_close_time": "<string>",
"official_close_days": [
"<string>"
],
"official_close_time": "<string>",
"server_time": "<string>",
"trading_halted": true,
"utc_offset": "<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
Response
Successful Response
Your rates at the latest official close, per symbol; a symbol with no official close yet is left out.
Show child attributes
Show child attributes
Symbols whose price has not moved for the freeze window; their orders are refused with symbol_frozen until the price moves.
When the market closes each day (HH:MM, IST).
The days the official close is captured.
When the official closing prices are captured (HH:MM, IST), or null when they are not captured automatically.
The server's clock in the market's timezone (IST).
Trading is halted for every symbol: orders are refused with trading_halted.
The market timezone's offset, e.g. +05:30.