YFinance.Net
0.1.3
dotnet add package YFinance.Net --version 0.1.3
NuGet\Install-Package YFinance.Net -Version 0.1.3
<PackageReference Include="YFinance.Net" Version="0.1.3" />
<PackageVersion Include="YFinance.Net" Version="0.1.3" />
<PackageReference Include="YFinance.Net" />
paket add YFinance.Net --version 0.1.3
#r "nuget: YFinance.Net, 0.1.3"
#:package YFinance.Net@0.1.3
#addin nuget:?package=YFinance.Net&version=0.1.3
#tool nuget:?package=YFinance.Net&version=0.1.3
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);
Legal
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 | Versions 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. |
-
net10.0
- Google.Protobuf (>= 3.29.3)
-
net8.0
- Google.Protobuf (>= 3.29.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.