Skip to Content

Screener Strategy Detail

Get the full configuration of a single stock screener strategy by strategy ID, including all indicator groups and the filter range for each indicator.

CLI
longbridge screener strategies --id 42

Parameters

SDK method parameters.

NameTypeRequiredDescription
idintegerYESStrategy ID from screener_recommend_strategies or screener_user_strategies

Request Example

Response

Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {
    "groups": [
      {
        "group_name": "Range",
        "group_type": "range",
        "indicators": [
          {
            "id": -1,
            "key": "filter_market",
            "name": "HK",
            "unit": "",
            "min": "",
            "max": "",
            "value": "HK",
            "tech_data": []
          }
        ]
      },
      {
        "group_name": "Quote Indicators",
        "group_type": "Quotes",
        "indicators": [
          {
            "id": 1,
            "key": "filter_marketcap",
            "name": "Market Cap",
            "unit": "bn",
            "min": "100",
            "max": "",
            "value": "",
            "tech_data": []
          }
        ]
      }
    ]
  }
}

Response Status

StatusDescriptionSchema
200SuccessScreenerStrategyDetail
400Bad requestNone

Schemas

ScreenerStrategyDetail

NameTypeRequiredDescription
groupsobject[]falseIndicator group list
∟ group_namestringfalseGroup name
∟ group_typestringfalseGroup type (e.g. range, Quotes, DividendIndex)
∟ indicatorsobject[]falseIndicator conditions in this group
∟ ∟ idintegerfalseIndicator ID
∟ ∟ keystringfalseIndicator key
∟ ∟ namestringfalseIndicator display name
∟ ∟ unitstringfalseIndicator unit (e.g. %, bn)
∟ ∟ minstringfalseMinimum value; empty string means no lower bound
∟ ∟ maxstringfalseMaximum value; empty string means no upper bound
∟ ∟ valuestringfalseFixed value (used for non-range indicators such as market selector)
∟ ∟ tech_dataarrayfalseTechnical indicator data array