|
222 | 222 | "name": "stdout", |
223 | 223 | "output_type": "stream", |
224 | 224 | "text": [ |
225 | | - "[FilingMetadata(accession_number='0000950170-23-035122',\n", |
| 225 | + "[FilingMetadata(accession_number='0000950170-24-087843',\n", |
226 | 226 | " form_type='10-K',\n", |
227 | | - " primary_doc_url='https://www.sec.gov/Archives/edgar/data/789019/000095017023035122/msft-20230630.htm',\n", |
| 227 | + " primary_doc_url='https://www.sec.gov/Archives/edgar/data/789019/000095017024087843/msft-20240630.htm',\n", |
228 | 228 | " items='',\n", |
229 | 229 | " primary_doc_description='10-K',\n", |
230 | | - " filing_date='2023-07-27',\n", |
231 | | - " report_date='2023-06-30',\n", |
| 230 | + " filing_date='2024-07-30',\n", |
| 231 | + " report_date='2024-06-30',\n", |
232 | 232 | " cik='0000789019',\n", |
233 | 233 | " company_name='MICROSOFT CORP',\n", |
234 | 234 | " tickers=[Ticker(symbol='MSFT', exchange='Nasdaq')]),\n", |
235 | | - " FilingMetadata(accession_number='0001564590-22-026876',\n", |
| 235 | + " FilingMetadata(accession_number='0000950170-23-035122',\n", |
236 | 236 | " form_type='10-K',\n", |
237 | | - " primary_doc_url='https://www.sec.gov/Archives/edgar/data/789019/000156459022026876/msft-10k_20220630.htm',\n", |
| 237 | + " primary_doc_url='https://www.sec.gov/Archives/edgar/data/789019/000095017023035122/msft-20230630.htm',\n", |
238 | 238 | " items='',\n", |
239 | 239 | " primary_doc_description='10-K',\n", |
240 | | - " filing_date='2022-07-28',\n", |
241 | | - " report_date='2022-06-30',\n", |
| 240 | + " filing_date='2023-07-27',\n", |
| 241 | + " report_date='2023-06-30',\n", |
242 | 242 | " cik='0000789019',\n", |
243 | 243 | " company_name='MICROSOFT CORP',\n", |
244 | 244 | " tickers=[Ticker(symbol='MSFT', exchange='Nasdaq')])]\n" |
|
282 | 282 | "name": "stdout", |
283 | 283 | "output_type": "stream", |
284 | 284 | "text": [ |
285 | | - "[FilingMetadata(accession_number='0001065280-23-000273',\n", |
| 285 | + "[FilingMetadata(accession_number='0001065280-24-000287',\n", |
286 | 286 | " form_type='10-Q',\n", |
287 | | - " primary_doc_url='https://www.sec.gov/Archives/edgar/data/1065280/000106528023000273/nflx-20230930.htm',\n", |
| 287 | + " primary_doc_url='https://www.sec.gov/Archives/edgar/data/1065280/000106528024000287/nflx-20240930.htm',\n", |
288 | 288 | " items='',\n", |
289 | 289 | " primary_doc_description='10-Q',\n", |
290 | | - " filing_date='2023-10-20',\n", |
291 | | - " report_date='2023-09-30',\n", |
| 290 | + " filing_date='2024-10-18',\n", |
| 291 | + " report_date='2024-09-30',\n", |
292 | 292 | " cik='0001065280',\n", |
293 | 293 | " company_name='NETFLIX INC',\n", |
294 | 294 | " tickers=[Ticker(symbol='NFLX', exchange='Nasdaq')])]\n" |
|
333 | 333 | "name": "stdout", |
334 | 334 | "output_type": "stream", |
335 | 335 | "text": [ |
336 | | - "'<?xml version=\"1.0\" ?><!--XBRL Document Created wi'\n" |
| 336 | + "\"<?xml version='1.0' encoding='ASCII'?>\\n<!--XBRL Do\"\n" |
337 | 337 | ] |
338 | 338 | } |
339 | 339 | ], |
|
367 | 367 | "name": "stdout", |
368 | 368 | "output_type": "stream", |
369 | 369 | "text": [ |
370 | | - "\"<?xml version='1.0' encoding='ASCII'?>\\n<html xmlns...\"\n" |
| 370 | + "\"<?xml version='1.0' encoding='ASCII'?>\\n<!--XBRL Do...\"\n" |
371 | 371 | ] |
372 | 372 | } |
373 | 373 | ], |
|
403 | 403 | "name": "stdout", |
404 | 404 | "output_type": "stream", |
405 | 405 | "text": [ |
| 406 | + "('Path: sec-edgar-filings/GOOG/10-K/0001652044-25-000014/full-submission.txt\\n'\n", |
| 407 | + " 'Content [len=14773739]: <SEC-DOCUMENT>0001652044-25-00...\\n')\n", |
406 | 408 | "('Path: sec-edgar-filings/GOOG/10-K/0001652044-24-000022/full-submission.txt\\n'\n", |
407 | | - " 'Content [len=13927595]: <SEC-DOCUMENT>0001652044-24-00...\\n')\n", |
408 | | - "('Path: sec-edgar-filings/GOOG/10-K/0001652044-23-000016/full-submission.txt\\n'\n", |
409 | | - " 'Content [len=15264470]: <SEC-DOCUMENT>0001652044-23-00...\\n')\n" |
| 409 | + " 'Content [len=13927595]: <SEC-DOCUMENT>0001652044-24-00...\\n')\n" |
410 | 410 | ] |
411 | 411 | } |
412 | 412 | ], |
|
421 | 421 | " print(f\"Path: {path}\\nContent [len={len(content)}]: {content[:30]}...\\n\")" |
422 | 422 | ] |
423 | 423 | }, |
| 424 | + { |
| 425 | + "cell_type": "code", |
| 426 | + "execution_count": null, |
| 427 | + "metadata": {}, |
| 428 | + "outputs": [ |
| 429 | + { |
| 430 | + "data": { |
| 431 | + "text/plain": [ |
| 432 | + "[FilingMetadata(accession_number='0000002488-25-000009', form_type='8-K', primary_doc_url='https://www.sec.gov/Archives/edgar/data/2488/000000248825000009/amd-20250204.htm', items='2.02,7.01,9.01', primary_doc_description='8-K', filing_date='2025-02-04', report_date='2025-02-04', cik='0000002488', company_name='ADVANCED MICRO DEVICES INC', tickers=[Ticker(symbol='AMD', exchange='Nasdaq')])]" |
| 433 | + ] |
| 434 | + }, |
| 435 | + "execution_count": null, |
| 436 | + "metadata": {}, |
| 437 | + "output_type": "execute_result" |
| 438 | + } |
| 439 | + ], |
| 440 | + "source": [ |
| 441 | + "from sec_downloader import Downloader\n", |
| 442 | + "dl = Downloader(\"MyCompanyName\", \"my.email@domain.com\")\n", |
| 443 | + "metadata = dl.get_filing_metadatas(\"https://www.sec.gov/Archives/edgar/data/2488/000000248825000009/0001193125-10-034401-index.htm\", include_amends=True)\n", |
| 444 | + "metadata" |
| 445 | + ] |
| 446 | + }, |
| 447 | + { |
| 448 | + "cell_type": "markdown", |
| 449 | + "metadata": {}, |
| 450 | + "source": [ |
| 451 | + "# # Frequently Asked Questions (FAQ)\n", |
| 452 | + "# \n", |
| 453 | + "# **Q: I'm encountering a ValueError stating '8-K/A' forms are not supported. How can I download \"8-K/A\" filings?**\n", |
| 454 | + "# \n", |
| 455 | + "# **A:** To download amended filings such as \"8-K/A\", you need to set the parameter `include_amends=True`. For example, to download [this filing](https://www.sec.gov/Archives/edgar/data/2488/000000248825000009/0001193125-10-034401-index.htm), you would use:" |
| 456 | + ] |
| 457 | + }, |
| 458 | + { |
| 459 | + "cell_type": "code", |
| 460 | + "execution_count": null, |
| 461 | + "metadata": {}, |
| 462 | + "outputs": [ |
| 463 | + { |
| 464 | + "data": { |
| 465 | + "text/plain": [ |
| 466 | + "[FilingMetadata(accession_number='0001193125-10-034401', form_type='8-K', primary_doc_url='https://www.sec.gov/Archives/edgar/data/2488/000119312510034401/d8ka.htm', items='5.02', primary_doc_description='FORM 8-K/A', filing_date='2010-02-19', report_date='2010-02-16', cik='0000002488', company_name='ADVANCED MICRO DEVICES INC', tickers=[Ticker(symbol='AMD', exchange='Nasdaq')])]" |
| 467 | + ] |
| 468 | + }, |
| 469 | + "execution_count": null, |
| 470 | + "metadata": {}, |
| 471 | + "output_type": "execute_result" |
| 472 | + } |
| 473 | + ], |
| 474 | + "source": [ |
| 475 | + "from sec_downloader import Downloader\n", |
| 476 | + "dl = Downloader(\"MyCompanyName\", \"my.email@domain.com\")\n", |
| 477 | + "str_cik = \"0000002488\"\n", |
| 478 | + "str_acc = \"0001193125-10-034401\"\n", |
| 479 | + "metadata = dl.get_filing_metadatas(f\"{str_cik}/{str_acc}\", include_amends=True)\n", |
| 480 | + "metadata" |
| 481 | + ] |
| 482 | + }, |
424 | 483 | { |
425 | 484 | "cell_type": "markdown", |
426 | 485 | "metadata": {}, |
|
0 commit comments