SecuritiesExchangeCommission.Edgar
1.0.0
See the version list below for details.
dotnet add package SecuritiesExchangeCommission.Edgar --version 1.0.0
NuGet\Install-Package SecuritiesExchangeCommission.Edgar -Version 1.0.0
<PackageReference Include="SecuritiesExchangeCommission.Edgar" Version="1.0.0" />
paket add SecuritiesExchangeCommission.Edgar --version 1.0.0
#r "nuget: SecuritiesExchangeCommission.Edgar, 1.0.0"
// Install SecuritiesExchangeCommission.Edgar as a Cake Addin #addin nuget:?package=SecuritiesExchangeCommission.Edgar&version=1.0.0 // Install SecuritiesExchangeCommission.Edgar as a Cake Tool #tool nuget:?package=SecuritiesExchangeCommission.Edgar&version=1.0.0
Place this at the top of your code file to import the necessary components from the namespace:
using SecuritiesExchangeCommission.Edgar;
Search the EDGAR database
The 'EdgarSearch' class is the component used to query the EDGAR database. Use the following static method to search the database:
EdgarSearch es = await EdgarSearch.CreateAsync("MSFT");
The code above queries the SEC EDGAR database for the latest filings. You optionally can specify the filing type, the time before (only return results that occurred before that date), the ownership filter, and the number of results to be returned. This is seen below:
EdgarSearch es = await EdgarSearch.CreateAsync("MSFT", "10-K", DateTime.Parse("1/1/2018"), EdgarSearchOwnershipFilter.include, EdgarSearchResultsPerPage.Entries10);
Using the results
The results of the search will exist as an array of 'EdgarSearchResults' classes in the 'EdgarSearch' class that we created above. Each 'EdgarSearchResults' object contains details about that filing such as the filing description, filing type (i.e. "10-K"), URL to the documents page, URL to the interactive data of the filing, and the date of the filing. For filings that are 10-K's or 10-Q's (annual and quarterly financial reports, respectively) you can also use the 'DownoadXbrlDocumentAsync' asynchronous method to download the associated XBRL document from the filing as a Stream.
EdgarSearchResult filing = es.Results[0];
Stream s = await filing.DownloadXbrlDocumentAsync();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on SecuritiesExchangeCommission.Edgar:
Package | Downloads |
---|---|
Aletheia
Package Description |
|
Luca
Financial statements simplified. Receive a financial statement for any publically traded company with one line of code. |
|
TimHanewich.Investing
Investing toolkit creating by Tim Hanewich |
|
EarningsAlley
Engine behind the Earnings Alley twitter account, @EarningsAlley. |
|
EdgarCacheFramework
Minimizes external requests to Yahoo and SEC EDGAR XBRL filings by caching searched results in a code first, run-time generated SQLite database. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.3.2 | 12,049 | 8/20/2022 |
6.3.1 | 16,326 | 7/3/2021 |
6.3.0 | 352 | 6/8/2021 |
6.2.3 | 5,771 | 5/21/2021 |
6.2.2 | 2,836 | 4/11/2021 |
6.2.1 | 327 | 4/11/2021 |
6.2.0 | 339 | 3/17/2021 |
6.1.0 | 359 | 3/16/2021 |
6.0.0 | 2,928 | 3/6/2021 |
5.1.1 | 1,666 | 2/17/2021 |
5.1.0 | 326 | 2/17/2021 |
5.0.0 | 422 | 2/17/2021 |
4.0.1 | 506 | 2/16/2021 |
4.0.0 | 1,678 | 2/5/2021 |
3.3.0 | 562 | 1/15/2021 |
3.2.0 | 2,528 | 1/7/2021 |
3.1.0 | 374 | 1/5/2021 |
3.0.0 | 394 | 1/5/2021 |
2.2.0 | 420 | 1/4/2021 |
2.1.0 | 389 | 1/3/2021 |
2.0.3 | 1,471 | 6/12/2020 |
2.0.2 | 470 | 6/12/2020 |
2.0.1 | 483 | 6/12/2020 |
2.0.0 | 1,573 | 5/7/2020 |
1.0.0 | 785 | 5/2/2020 |
v1 - Initial release (May 2, 2020)