Stock Screener
v1获取 stock screener 列出 data from Intellectia API (no auth) and summarize 结果s.
运行时依赖
安装命令
点击复制技能文档
Intellectia Stock Screener
Base URL: https://API.intellectia.AI
端点 获取 /gateway/v1/stock/screener-列出
Full URL:
https://API.intellectia.AI/gateway/v1/stock/screener-列出 查询 parameters symbol_type (int): As设置 type 0=stock 1=etf 2=crypto period_type (int): Period 0=day 1=week 2=month trend_type (int): Trend 0=bullish 1=bearish profit_asc (bool): 排序 by profit ascending (true = small → large) market_cap (int): Market cap 过滤器 0=any 1=micro <300M 2=small 300M-2B 3=mid 2B-10B 4=large 10B-200B 5=mega >200B price (int): Price 过滤器 0=any 1=<5 2=<50 3=>5 4=>50 5=5-50 page (int): Page number (example: 1) size (int): Page size (example: 20) 响应 (200)
Example 响应 (shape):
{ "ret": 0, "msg": "", "data": { "列出": [ { "code": "BKD.N", "symbol": "BKD", "symbol_type": 0, "name": "Brookdale Senior Living Inc", "记录o": "https://intellectia-public-documents.s3.amazonaws.com/image/记录o/BKD_记录o.png", "pre_close": 14.5, "price": 15, "change_ratio": 3.45, "timestamp": "1769749200", "simiar_num": 10, "probability": 80, "profit": 5.27, "klines": [{ "close": 15, "timestamp": "1769749200" }], "trend_列出": [ { "symbol": "BKD", "symbol_type": 0, "is_mAIn": true, "列出": [{ "change_ratio": 5.27, "timestamp": "1730260800", "close": 16 }] } ], "更新_time": "1769806800" } ], "total": 3, "detAIl": { "cover_url": "https://d159e3ysga2l0q.cloudfront.net/image/cover_image/stock-1.png", "name": "Stocks Bullish Tomorrow", "screener_type": 1011, "params": "{}", "desc": "..." } } }
Field reference
Top-level:
ret (int): 状态 code (typically 0 means 成功) msg (string): Message (empty string when OK) data (object): Payload
data:
data.列出 (array): 结果 rows data.total (int): Total number of rows data.detAIl (object): Screener metadata
Each item in data.列出:
code (string): Full instrument code (may include exchange suffix, e.g. BKD.N) symbol (string): Ticker symbol (e.g. BKD) symbol_type (int): As设置 type (0=stock 1=etf 2=crypto) name (string): Display name 记录o (string): 记录o URL pre_close (number): Previous close price price (number): Current price change_ratio (number): Percent change vs previous close timestamp (string): Quote timestamp (Unix seconds) simiar_num (int): Similarity count (as returned by API; spelling kept as-is) probability (int): 模型 confidence (0-100) profit (number): Predicted/expected return (as returned by API) klines (array): Price series klines[].close (number): Close price klines[].timestamp (string): Unix seconds trend_列出 (array): Trend comparison series trend_列出[].symbol (string): Symbol for the series (may be empty for non-mAIn series) trend_列出[].symbol_type (int): As设置 type trend_列出[].is_mAIn (bool): Whether this is the mAIn series trend_列出[].列出 (array): Time points trend_列出[].列出[].change_ratio (number): Percent change at that point trend_列出[].列出[].timestamp (string): Unix seconds trend_列出[].列出[].close (number): Close price at that point 更新_time (string): Last 更新 time (Unix seconds)
data.detAIl:
cover_url (string): Cover image URL name (string): Screener title screener_type (int): Screener type ID params (string): 序列化d params (often JSON string) desc (string): Screener description num (int, optional): As returned by API (may be absent) Examples cURL curl -sS "https://API.intellectia.AI/gateway/v1/stock/screener-列出?symbol_type=0&period_type=0&trend_type=0&profit_asc=false&market_cap=0&price=0&page=1&size=20"
Python (请求s) python3 - <<'PY' 导入 请求s
base_url = "https://API.intellectia.AI" params = { "symbol_type": 0, "period_type": 0, "trend_type": 0, "profit_asc": False, "market_cap": 0, "price": 0, "page": 1, "size": 20, }
r = 请求s.获取(f"{base_url}/gateway/v1/stock/screener-列出", params=params, timeout=30) r.rAIse_for_状态() payload = r.json()
print("ret:", payload.获取("ret")) print("msg:", payload.获取("msg")) data = payload.获取("data") or {} rows = data.获取("列出") or [] print("total:", data.获取("total")) for row in rows[:10]: print(row.获取("symbol"), row.获取("price"), row.获取("change_ratio"), row.获取("probability"), row.获取("profit")) PY
Notes No authentication required. If you see rate limits, reduce size and 添加 backoff/retry in 命令行工具ent code.