CosminSanda.Finance 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CosminSanda.Finance --version 1.0.0                
NuGet\Install-Package CosminSanda.Finance -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CosminSanda.Finance" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CosminSanda.Finance --version 1.0.0                
#r "nuget: CosminSanda.Finance, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CosminSanda.Finance as a Cake Addin
#addin nuget:?package=CosminSanda.Finance&version=1.0.0

// Install CosminSanda.Finance as a Cake Tool
#tool nuget:?package=CosminSanda.Finance&version=1.0.0                

CosminSanda.Finance

Nuget (with prereleases) GitHub Workflow Status codecov

A small library that can be used to easily scrape information about Earnings Releases and financial quotes from Yahoo Finance.

Installation

  • Classic

    If you would like to use this library in your own project, use the standard installation process. of packages from NuGet.

    Install-Package CosminSanda.Finance
    
  • Notebook

    If you would like to use this in a .NET enabled Jupyter notebook use this command in a cell:

    #r "nuget,CosminSanda.Finance"
    

Usage

Get a list of dates when the earnings for a symbol are released

var earnings = await EarningsCalendar.GetEarnings("ZTO");

Get a list of financial stats in a selected date interval for a symbol

var earnings = await Quotes.GetQuotes("ZTO", "2020-01-01", "2020-01-15");

Get a list of financial stats around an earning date for a symbol

The method will take into account if the earnings date is after or before market close. If not specified, it will be considered to be after market close.

var quotes = await Quotes.GetQuotesAround("ZTO", earningsDate: earnings[6], lookAround: 3);

Get the next earnings date for a symbol

var nextEarnings = await EarningsCalendar.GetNextEarningsDate("ZTO");
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.5 411 11/14/2022
1.1.4 381 11/4/2022
1.1.3 391 11/4/2022
1.1.2 393 11/3/2022
1.1.1 448 10/1/2022
1.1.0 453 10/1/2022
1.0.2 421 9/29/2022
1.0.1 432 9/29/2022
1.0.0 434 9/27/2022
0.0.9 473 7/30/2022
0.0.8 461 7/29/2022
0.0.7 509 7/23/2020
0.0.6 471 6/24/2020
0.0.5 536 6/24/2020
0.0.4 479 6/20/2020
0.0.3 497 6/19/2020

- Refactor and braking changes.
- Remove cache capability