YFinance.Net 0.1.3

dotnet add package YFinance.Net --version 0.1.3
                    
NuGet\Install-Package YFinance.Net -Version 0.1.3
                    
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="YFinance.Net" Version="0.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YFinance.Net" Version="0.1.3" />
                    
Directory.Packages.props
<PackageReference Include="YFinance.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add YFinance.Net --version 0.1.3
                    
#r "nuget: YFinance.Net, 0.1.3"
                    
#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.
#:package YFinance.Net@0.1.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=YFinance.Net&version=0.1.3
                    
Install as a Cake Addin
#tool nuget:?package=YFinance.Net&version=0.1.3
                    
Install as a Cake Tool

YFinance.Net

YFinance.Net is an independent .NET library for working with Yahoo Finance public endpoints.

It was created and is maintained by Roozbeh GH. The package takes inspiration from the Python yfinance project for scope, but this repository contains an original .NET implementation built for C# developers.

Features

  • Quote summary and company profile data
  • Price history and adjustment helpers
  • Financial statements, holders, insider data, calendars, and valuation measures
  • Search, lookup, and market endpoints
  • Predefined and custom screeners with .NET-friendly APIs
  • Live streaming updates over Yahoo's websocket feed

Installation

dotnet add package YFinance.Net

Quick Start

using YFinance.Net;

using var client = new YahooFinanceClient();

var profile = await client.GetCompanyProfileAsync("MSFT");
var history = await client.GetPriceHistoryAsync("MSFT");
var gainers = await client.GetPredefinedScreenerAsync(PredefinedScreenerId.DayGainers);

YFinance.Net is released under the MIT License. See the LICENSE file in this repository for the full text.

Yahoo, Y!Finance, and Yahoo Finance are registered trademarks of Yahoo, Inc.

YFinance.Net is not affiliated with, endorsed by, or vetted by Yahoo, Inc. It uses Yahoo's publicly available endpoints and is intended for research and educational purposes. Review Yahoo's terms of use before using downloaded data in your own applications.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
0.1.3 106 6/10/2026
0.1.2 111 6/10/2026