CosminSanda.Finance 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package CosminSanda.Finance --version 1.0.2
NuGet\Install-Package CosminSanda.Finance -Version 1.0.2
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.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CosminSanda.Finance --version 1.0.2
#r "nuget: CosminSanda.Finance, 1.0.2"
#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.2

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

CosminSanda.Finance

Nuget (with prereleases) GitHub Workflow Status Coverage Status

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 365 11/14/2022
1.1.4 350 11/4/2022
1.1.3 369 11/4/2022
1.1.2 369 11/3/2022
1.1.1 413 10/1/2022
1.1.0 421 10/1/2022
1.0.2 406 9/29/2022
1.0.1 407 9/29/2022
1.0.0 409 9/27/2022
0.0.9 444 7/30/2022
0.0.8 438 7/29/2022
0.0.7 479 7/23/2020
0.0.6 441 6/24/2020
0.0.5 506 6/24/2020
0.0.4 451 6/20/2020
0.0.3 457 6/19/2020

- Refactor and braking changes.
- Remove cache capability