Skip to main content

接口

GET
string
https://api.llmquant.com/prices/equity/snapshot

参数

必填

ticker
string
required
股票代码(如 AAPL)。支持逗号分隔的多个代码批量查询(如 AAPL,MSFT,NVDA)。

返回值

snapshots
array
EquitySnapshot 对象数组。

代码示例

import requests

headers = {"X-API-KEY": "your_api_key_here"}

url = "https://api.llmquant.com/prices/equity/snapshot?ticker=AAPL,MSFT,NVDA"
response = requests.get(url, headers=headers)
snapshots = response.json().get("snapshots")