Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ta-lib

csupnig412MIT0.11.0TypeScript support: included

A technical analysis library written entirely in JavaScript/TypeScript

talib, ta-lib, analysis, technical, trading

readme

ta-lib NPM version Build Status Dependency Status

A technical analysis library written in JavaScript/TypeScript

This library is used on cointelligence.net for calculating indicators and provides a base for trade strategies.

Read more on my website https://www.supnig.com/blog/ta-lib

Installation

Install ta-lib as a dependency:

npm install ta-lib

Usage

In your module:

var talib = require('ta-lib'),
    sma = talib.SMA([23, 34, 12,..., 34, 23], 12);

Where the passed array of prices has the most recent at its 0-index and a minimum of 12 entries.

License

MIT License