数据源 · 第 14 步,共 18 步
新闻
file 上的新闻,只有这一类会填写 title、summary 和 url。
这是什么
News Article 是存成 PDF 的网络文章,也是唯一会填写 title、summary 和 url 的文件类型。
新闻没有 time_period_id,所以要通过公司而不是财务期间找到它们。按 published_at 降序排列获取最新文章。
file 只有四种 source_type:Filing、Transcript、Composite Filing 和 News Article。
file关联 company 为 companysource_type
查询方式 实体 file · 筛选 source_type = News Article · 关联 company 为 company
{
"entity": "file",
"select": [
"id",
"source_type",
"published_at",
"company.symbol",
"title",
"summary",
"url"
],
"filters": [
{
"field": "source_type",
"op": "=",
"value": "News Article"
},
{
"field": "company.symbol",
"op": "=",
"value": "NVDA"
}
],
"joins": [
{
"relation": "company",
"alias": "company"
}
],
"sort": [
{
"field": "published_at",
"direction": "desc"
}
],
"limit": 5
}