From d88a848a8411bfabe527c2f9d7852b0c7f96057f Mon Sep 17 00:00:00 2001 From: Nico Genz <34741282+RoXioTD@users.noreply.github.com> Date: Sun, 24 Oct 2021 19:02:59 +0200 Subject: [PATCH] docs(quoteSummary): add sec fillings example (#315) --- docs/modules/quoteSummary.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/modules/quoteSummary.md b/docs/modules/quoteSummary.md index a1eaad7e..96c14637 100644 --- a/docs/modules/quoteSummary.md +++ b/docs/modules/quoteSummary.md @@ -1129,8 +1129,32 @@ await yahooFinance.quoteSummary('PLTR', { modules: [ "recommendationTrend" ] }); ### secFilings ```js -await yahooFinance.quoteSummary('', { modules: [ "secFilings" ] }); +await yahooFinance.quoteSummary('AAPL', { modules: [ "secFilings" ] }); +{ + secFilings: { + filings: [ + { + date: new Date("2021-08-05"), + epochDate: new Date("2021-08-05T21:32:55.000Z"), + type: "8-K", + title: "Other Events, Financial Statements and Exhibits", + edgarUrl: "https://yahoo.brand.edgar-online.com/DisplayFiling.aspx?TabIndex=2&dcn=0001193125-21-237787&nav=1&src=Yahoo", + maxAge: 1 + }, + { + date: new Date("2021-07-28"), + epochDate: new Date("2021-07-28T11:02:48.000Z"), + type: "10-Q", + title: "Quarterly Report", + edgarUrl: "https://yahoo.brand.edgar-online.com/DisplayFiling.aspx?TabIndex=2&dcn=0000320193-21-000065&nav=1&src=Yahoo", + maxAge: 1 + }, + ... + ], + maxAge: 86400 + } +} ```