Skip to content

A .NET library that produces stock indicators. Send in stock quote history and get back the desired technical indicators. Nothing more. It can be used in any kind of stock analysis software. We had private trading algorithms, machine learning, and charts in mind when originally creating this open library. Current indicators include: Accumulation…

License

Notifications You must be signed in to change notification settings

saeedmaghdam/Stock.Indicators

 
 

Repository files navigation

Stock Indicators

NuGet package Nuget build status code coverage CodeQL

Skender.Stock.Indicators is a .NET library that produces stock indicators. Send in historical stock price quotes and get back desired technical indicators (such as moving average, relative strength, stochastic oscillator, parabolic SAR, etc). Nothing more.

It can be used in any kind of stock analysis software. We had private trading algorithms and charts in mind when originally creating this open library.

Explore more information:

Samples

image

See full list of indicators and overlays for more information.

Getting started

Installation and setup

Find and install the Skender.Stock.Indicators NuGet package into your Project. See more help for installing packages.

# dotnet CLI example
dotnet add package Skender.Stock.Indicators

# package manager example
Install-Package Skender.Stock.Indicators

Example usage

using Skender.Stock.Indicators;

[..]  // prerequisite: acquire quote history from your own source

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

See individual indicator pages for specific guidance.

Frameworks targeted

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

Contributing

board status

This NuGet package is an open-source project. If you want to report or contribute bug fixes, new indicators, or feature requests, please review our contributing guidelines.

Contact us

Contact us through the NuGet Contact Owners method or submit an Issue with your question if it is publicly relevant. For extended chat, join us on our public Microsoft Teams site.

About

A .NET library that produces stock indicators. Send in stock quote history and get back the desired technical indicators. Nothing more. It can be used in any kind of stock analysis software. We had private trading algorithms, machine learning, and charts in mind when originally creating this open library. Current indicators include: Accumulation…

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.8%
  • HTML 0.2%