Skip to main content

接口

GET
string
https://api.llmquant.com/financials/cash-flow-statements

参数

必填

ticker
string
required
股票代码(如 AAPLMSFT)。
period
string
required
报告周期,可选值:annualquarterlyttm

选填

limit
integer
default:4
返回记录的最大数量。
report_period_gte
date
报告期大于等于该日期(YYYY-MM-DD)。
report_period_lte
date
报告期小于等于该日期(YYYY-MM-DD)。

返回值

cash_flow_statements
array
CashFlowStatement 对象数组。

代码示例

import requests

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

url = "https://api.llmquant.com/financials/cash-flow-statements?ticker=AAPL&period=annual&limit=10"
response = requests.get(url, headers=headers)
statements = response.json().get("cash_flow_statements")