Market-page macro card
GET/api/v1.0/quote/macro/market-tabMarket-page macro card. region maps to source_page_type. HK is not in this card.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
region | string | query | yes | Region |
Example
bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/macro/market-tab?region=CN' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data.indicator_id | int | Primary indicator ID |
data.region_code | int | Region code |
data.popular_indicator_ids | string | Popular indicator IDs |
Errors
| ret_code | error.code | Description |
|---|---|---|
| 0 | — | Success |
| -3 | invalid_parameter | Missing or invalid parameter |
| -8 | unsupported | Not supported |
| -10 | no_data | No data |
Response example
json
{
"ret_code": 0,
"ret_msg": "success",
"data": {
"indicator_id": 0,
"region_code": 0,
"popular_indicator_ids": "example"
}
}