Market status
get_marketCheck a market's trading status and headline index summary using a Yahoo market key like US or EUROPE; status includes next open and close for US, with index moves for all keys.
Instructions
Get the trading status and headline index summary for a market.
Answers questions like whether the market is open, when it opens or closes
next, and how the major indices are doing. Takes a market key such as
US or EUROPE — not a ticker symbol. status (open/closed plus the
next open and close times) is only available for US and is null for
every other key, which is an upstream limitation rather than an error. The
index summary, with price, previous close and change, works for all keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | A Yahoo market key (uppercase). One of: US, GB, ASIA, EUROPE, RATES, COMMODITIES, CURRENCIES, CRYPTOCURRENCIES. Only 'US' reports a trading status, the others return the index summary with 'status' set to null. | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||