Skip to content

Stock.Indicators for .NET is a C# library package that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more. It can be used in any market analysis software using standard OHLCV price…

License

Notifications You must be signed in to change notification settings

fabiantax/Stock.Indicators

 
 

Stock.Indicators for .NET

NuGet package Nuget code coverage

Stock.Indicators for .NET is a C# library package that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more.

It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had private trading algorithms, machine learning, and charting systems in mind when originally creating this community library.

Explore more information:

Samples

image

Example usage

using Skender.Stock.Indicators;

[..]  // prerequisite: get historical quotes from your own source

// example: get 20-period simple moving average
IEnumerable<SmaResult> results = quotes.GetSma(20);

See the guide and the full list of indicators and overlays for more information.

Frameworks targeted

  • .NET 5.0
  • .NET Core 3.1
  • .NET Standard 2.0, 2.1
  • .NET Framework 4.6.1

The compiled library package is Common Language Specification (CLS) compliant and can be used in other programming languages, including Python and everything in the .NET universe.

License

License

This repository uses the standard Apache 2.0 open-source license. Please review the license before using or contributing to the software.

☎️ Contact us

Start a new discussion, ask a question, or submit an issue if it is publicly relevant. You can also direct message @daveskender.

❤️ Patronage

If you or your organization use any of my projects or like what I’m doing, please add a ⭐ on the GitHub Repo as a token of appreciation. If you want to buy me a beer or are interest in ongoing support as a patron, become a sponsor. Patronage motivates continued maintenance and evolution of open-source projects, and to inspire new ones. Thank you for your support!

:octocat: Contributing

This NuGet package is an open-source community project. If you want to report bugs or contribute fixes, new indicators, or new features, please review our contributing guidelines and the backlog.

Special thanks to all of our community code contributors!

    {% for contributor in site.github.contributors %}
  • {{ contributor.login }}
  • {% endfor %}

About

Stock.Indicators for .NET is a C# library package that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more. It can be used in any market analysis software using standard OHLCV price…

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.5%
  • Other 0.5%