Summary for one macro indicator: latest actual
GET/api/v1.0/quote/macro/indicator-summarySummary for one macro indicator: latest actual, previous, release time. indicator_id comes from quote.macro_indicator_list.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
indicator_id | int | query | yes | Macro indicator ID |
Example
bash
curl -X GET 'https://webapi.futunn.com/api/v1.0/quote/macro/indicator-summary?indicator_id=1' \
-H 'Authorization: Bearer <AccessToken>' | jqResponse parameters
| Name | Type | Description |
|---|---|---|
data.indicator_id | int | Indicator ID |
data.data_time | int | Observation time, Unix microseconds |
data.release_time | int | Release time, Unix microseconds |
data.value | string | Actual value, unscaled |
data.previous_value | string | Previous value |
data.show_estimate | bool | Whether to display the estimate |
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,
"data_time": 1710000000000000,
"release_time": 1710000000000000,
"value": "example",
"previous_value": "example",
"show_estimate": false
}
}