Retrieve the current market status for a specific product or products. This endpoint returns real-time indicators, such as open, pause, close, for futures products, along with the corresponding exchange and product codes and an evaluation timestamp. This information enables users to monitor operational conditions and adjust their trading strategies accordingly.
Use Cases: Real-time monitoring, algorithm scheduling, UI updates, operational planning.
from massive import RESTClient
client = RESTClient("YOUR_API_KEY")
market_statuses = []
for ms in client.list_futures_market_statuses(
limit="10"
):
market_statuses.append(ms)
print(market_statuses)