Skip to content

Target-price plot ​

GET /api/v1.0/quote/{code}/research/target-plot

Target-price plot (close and target). Both values are actual prices.

Parameters ​

NameTypeInRequiredDescription
codestringpathyesSymbol
monthsintquerynoMonths of plot, default 4

Example ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/US.AAPL/research/target-plot' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response parameters ​

NameTypeDescription
data.itemsobject[]
data.items[].timestampintTime, Unix microseconds
data.items[].close_pricestringClose
data.items[].target_pricestringTarget price, 0 when absent

Errors ​

ret_codeerror.codeDescription
0—Success
-3invalid_parameterMissing or invalid parameter
-8unsupportedNot supported
-10no_dataNo data

Response example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "items": [
      {
        "timestamp": 1710000000000000,
        "close_price": "example",
        "target_price": "example"
      }
    ]
  }
}