Stock.Indicators

Stock Indicators for .NET is a C# NuGet package that transforms raw equity, commodity, forex, or cryptocurrency financial market price quotes into technical indicators and trading insights. You'll need this essential data in the investment tools that you're building for algorithmic trading, technical analysis, machine learning, or visual charting.

APACHE-2.0 License

Stars
963
Committers
18

Bot releases are hidden (Show)

Stock.Indicators - 2.1.0

Published by DaveSkender over 2 years ago

New indicator:

  • True Range (TR) - see #845 for explanation

True Range was always part of the results for Average True Range (ATR), but we're pulling it out independently for people who want to apply any of our available moving average types instead.

Special thanks to:

  • @barisertekin and @Erdogan34 for the recommendation
Stock.Indicators - 2.0.3

Published by DaveSkender over 2 years ago

⚠️ If migrating from v1, install version 2.0.0 first to get informative errors and warnings to assist in the migration.

Minor new utility:

  • results.Condense() utility function - #833, see the guide

Bug fixes:

  • use null instead of NaN in results to reduce user friction - #839
Stock.Indicators - 2.0.2

Published by DaveSkender over 2 years ago

Minor update:

  • return the same length as the provided quotes when chaining, for consistency - #834

⚠️ If migrating from v1, install version 2.0.0 first to get informative errors and warnings to assist in the migration.

Stock.Indicators - 2.0.1

Published by DaveSkender over 2 years ago

Chore: remove v1 migration helper error and warning messages

⚠️ If migrating from v1, install version 2.0.0 first to get informative errors and warnings to assist in the migration.

This release removes that information. See #802 for more information on breaking changes.

Stock.Indicators - 2.0.0 - indicator chaining

Published by DaveSkender over 2 years ago

Major Release

This release introduces a major new indicator chaining capability and has breaking changes.

⚠️ If migrating from v1, install version 2.0.0 first to get informative errors and warnings to assist in the migration.

New features:

  • indicator chaining - see #802 for details, examples, and a list of breaking changes
    • slope of any indicator - #630
    • moving average of any indicator, etc
    • indicator of indicators

Special thanks to:

  • @preintel and others for recommending slope for indicators
  • @ooples for general chaining inspiration

See our roadmap for notable planned features. We'll be working on a preview for streaming uses cases next; and will continue to work on new indicators and candlestick patterns. Help wanted!

Stock.Indicators - 1.23.1

Published by DaveSkender over 2 years ago

Minor new features and updates:

⚠️ Minor breaking changes:

  • numerous output values changed from decimal to double - #797, #799
  • renamed class Signal to Match for candlestick patterns to avoid conflicts with common user names - #791

Internal chores:

  • add gaussian Brownian motion random quotes to test rig - #803

Special thanks to:

  • @tiger2014 for contributing candlePart for MACD
  • @mihakralj for contributing GBM test rig tools
Stock.Indicators - 1.23.0

Published by DaveSkender over 2 years ago

New features:

  • .NET 7 (preview) target - #773
  • HL2, OC2, HLC3, OHL3, OHLC4 selection CandlePart options for SMA, EMA, and WMA - #772

Not-really breaking changes, to rename a few things:

  • ConvertToQuotes() renamed to ToQuotes(), to be consistent with the C# ToList() style.
  • GetDoubleEma() renamed to GetDema()
  • GetTripleEma() renamed to GetTema()

I've set the old names as Obsolete, so you'll get a compiler Warning to help you find where and how to rename things. The old names still work, so they're not technically broken.

Special thanks to:

  • @mihakralj for inspiring all of the above changes
Stock.Indicators - 1.22.4

Published by DaveSkender over 2 years ago

Minor indicator update:

  • add candlePart param option for WMA - #764

Special thanks to @Miguelgs25 for the recommendation

Stock.Indicators - 1.22.3

Published by DaveSkender over 2 years ago

Minor indicator updates:

  • improve PSAR: exclude warmup results when no reversal identified - #758

Chores:

  • refactor remove redundant EMA + SMA overrides - #757
  • add documentation and examples for custom indicators - #698

Special thanks to:

Stock.Indicators - 1.22.2

Published by DaveSkender over 2 years ago

Modified indicators:

  • change Beta to use returns - #744

Special thanks to:

  • @dhpulsar for recommending changing this convention
Stock.Indicators - 1.22.1

Published by DaveSkender over 2 years ago

Minor breaking change:

  • rename library Candle class to CandleProperties to reduce user friction - #739

Special thanks to:

  • @M22arius494 and @endeffects for recommending this change
Stock.Indicators - 1.22.0

Published by DaveSkender over 2 years ago

New indicators:

  • Doji (Preview) - #735

Updated indicators:

Special thanks to:

  • @SvenSkrabal for recommending Month quote aggregation
  • @overstartup for inspiring PP validation
Stock.Indicators - 1.21.1

Published by DaveSkender over 2 years ago

Minor indicator updates:

  • add ADX Rating to ADX indicator - #693
  • base Heikin-Ashi and Renko results on IQuote - #718

Special thanks to:

  • @ooples for contributing ADX Rating
  • @moslem7026 for recommending Heikin-Ashi re-usability improvements
Stock.Indicators - 1.21.0

Published by DaveSkender over 2 years ago

⚠️ Breaking changes:

  • removed BadQuotesException - please review #685
  • redesigned Marubozu (Preview) based on feedback - #683

Special thanks to:

  • @Jammooly1 and @myalgomate for feedback on handling BadQuotesException
  • @jimtollan for feedback on Marubozu
Stock.Indicators - 1.20.2

Published by DaveSkender almost 3 years ago

Updated indicators:

  • add 3rd support/resistance level to Standard Pivot Points - #671

Special thanks to:

  • @myalgomate for contributing PP update
  • @Marcusbaker1 for your patronage
Stock.Indicators - 1.20.1

Published by DaveSkender almost 3 years ago

Updated indicators:

  • parameterize Alligator (and corresponding Gator) - #662

Minor breaking change:

  • multiplier parameter for Chandelier Exit was changed from decimal to double

Chores:

Special thanks to:

  • @myalgomate for recommending Alligator parameterization
Stock.Indicators - 1.20.0

Published by DaveSkender almost 3 years ago

New indicators:

⚠️ Breaking changes:

  • performance tuning - #652 (see notes)
    General performance tuning makes the library about 2x faster.
    Numerous results properties and a few input parameters were changed from decimal to double data types.

Special thanks to:

  • @myalgomate for recommending SMI
  • @Salardx for recommending VWMA
Stock.Indicators - 1.9.2

Published by DaveSkender almost 3 years ago

Bug fixed:

  • ZigZag UnhandledException with small data sets - #632

Special thanks to:

  • @Fredrik-C for reporting and providing clear information and historical quote data to reproduce the error.
Stock.Indicators - 1.19.1

Published by DaveSkender almost 3 years ago

Minor indicator updates:

Minor bugs fixed:

  • improper lines when ZigZag has not met the threshold - #618
  • special exception to Parabolic SAR values during reversal - #620

Special thanks to:

  • @kokazani for encouraging added KDJ customization
  • @Salardx for providing data for ZigZag that uncovered an unusual error case
  • @overstartup for recommending initialFactor for Parabolic SAR
Stock.Indicators - 1.19.0

Published by DaveSkender almost 3 years ago

Modified indicators:

  • add Beta+/Beta- to Beta - #597
  • add slow and fast EMA to MACD results - #595

Modify supported frameworks:

  • add .NET 6.0
  • remove .NET Framework 4.6.1

Chores:

Special thanks to:

  • @GordonEldest for recommending Beta+/-
  • @sophisma for recommending EMA additions to MACD