New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

indicatorts

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indicatorts

Stock technical indicators and strategies in TypeScript for browser and server programs.

latest
Source
npmnpm
Version
2.2.2
Version published
Weekly downloads
3.1K
-23.23%
Maintainers
0
Weekly downloads
 
Created
Source

npm version License Build Status codecov CodeQL Analysis

Indicator TS

Indicator is a TypeScript module providing various stock technical analysis indicators, strategies, and a backtest framework for trading.

This is a clone of my Indicator Go Golang module.

Indicators Provided

The following list of indicators are currently supported by this package:

Trend Indicators

Momentum Indicators

Volatility Indicators

Volume Indicators

Strategies Provided

Strategies relies on the following:

The following list of strategies are currently supported by this package:

Trend Strategies

Momentum Strategies

Volatility Strategies

Volume Strategies

Backtest

Backtesting is the method for seeing how well a strategy would have done. The following backtesting functions are provided for evaluating strategies.

Chart

Chart provides an easy way to plot the outcome of the indicators and the strategies.

Build

The project can be build from its source through the build command.

npm run build

Usage

Install package.

npm install indicatorts

Import indicator.

import { ao } from 'indicatorts';

const highs = [10, 20, 30, 40];
const lows = [1, 2, 3, 4];

// Awesome Oscillator!
const result = ao(highs, lows);

Disclaimer

The information provided on this project is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.

License

Copyright (c) 2022 Onur Cinar. All Rights Reserved.

The source code is provided under MIT License.

Keywords

analysis

FAQs

Package last updated on 26 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts