Screener Search
Filter stocks by strategy ID or custom indicator conditions, with pagination support.
longbridge screener search --strategy-id 42
longbridge screener search --market HK --filter filter_marketcap:100:1000SDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| market | string | YES | Market: US, HK, CN, SG |
| strategy_id | integer | NO | Strategy ID; use alone or combined with custom filters |
| page | integer | NO | Page number starting from 1, default 1 |
| size | integer | NO | Page size, default 20 |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"total": 87,
"page": 1,
"size": 20,
"stocks": [
{
"symbol": "AAPL.US",
"name": "Apple Inc.",
"last_done": "213.49",
"chg": "+0.62%",
"market_cap": "3241500000000",
"pe": "32.15",
"pb": "50.21",
"ps": "8.04",
"roe": "147.25"
},
{
"symbol": "MSFT.US",
"name": "Microsoft",
"last_done": "415.32",
"chg": "+1.05%",
"market_cap": "3085000000000",
"pe": "35.42",
"pb": "12.87",
"ps": "12.61",
"roe": "36.52"
}
]
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | ScreenerSearchResponse |
| 400 | Bad request | None |
Schemas
ScreenerSearchResponse
| Name | Type | Required | Description |
|---|---|---|---|
| total | integer | false | Total number of matching stocks |
| page | integer | false | Current page number |
| size | integer | false | Number of results on the current page |
| stocks | object[] | false | Filtered stock list |
| ∟ symbol | string | false | Security symbol |
| ∟ name | string | false | Security name |
| ∟ last_done | string | false | Latest trade price |
| ∟ chg | string | false | Price change |
| ∟ market_cap | string | false | Market capitalisation |
| ∟ pe | string | false | P/E ratio |
| ∟ pb | string | false | P/B ratio |
| ∟ ps | string | false | P/S ratio |
| ∟ roe | string | false | Return on equity (%) |