All Projects → bennycode → Trading Signals

bennycode / Trading Signals

Licence: mit
Technical indicators to run technical analysis with JavaScript / TypeScript. 📈

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Trading Signals

Ta Rs
Technical analysis library for Rust language
Stars: ✭ 248 (+110.17%)
Mutual labels:  trading, technical-analysis, financial, indicator
Ta
Technical Analysis Library using Pandas and Numpy
Stars: ✭ 2,649 (+2144.92%)
Mutual labels:  trading, technical-analysis, financial
Jhtalib
Technical Analysis Library Time-Series
Stars: ✭ 131 (+11.02%)
Mutual labels:  analysis, trading, technical-analysis
Finquant
A program for financial portfolio management, analysis and optimisation.
Stars: ✭ 395 (+234.75%)
Mutual labels:  analysis, financial
Ta4j Origins
A Java library for technical analysis ***Not maintained anymore, kept for archival purposes, see #192***
Stars: ✭ 354 (+200%)
Mutual labels:  trading, technical-analysis
Stan
🕵️ Haskell STatic ANalyser
Stars: ✭ 386 (+227.12%)
Mutual labels:  analysis, hacktoberfest
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+3027.12%)
Mutual labels:  trading, technical-analysis
Revelt
Analysis of a project using React and Svelte technologies
Stars: ✭ 20 (-83.05%)
Mutual labels:  analysis, hacktoberfest
Trady
Trady is a handy library for computing technical indicators, and it targets to be an automated trading system that provides stock data feeding, indicator computing, strategy building and automatic trading. It is built based on .NET Standard 2.0.
Stars: ✭ 433 (+266.95%)
Mutual labels:  analysis, indicator
Finta
Common financial technical indicators implemented in Pandas.
Stars: ✭ 901 (+663.56%)
Mutual labels:  trading, technical-analysis
Trading Indicator
provide trading technical indicator values based on data of almost crypto currency exchanges
Stars: ✭ 31 (-73.73%)
Mutual labels:  trading, indicator
Erc20 Ico Onchain Technical Analysis
An tool to analyze any company's ICO
Stars: ✭ 326 (+176.27%)
Mutual labels:  analysis, trading
Horusec
Horusec is an open source tool that improves identification of vulnerabilities in your project with just one command.
Stars: ✭ 311 (+163.56%)
Mutual labels:  analysis, hacktoberfest
Verible
Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, and formatter.
Stars: ✭ 384 (+225.42%)
Mutual labels:  analysis, hacktoberfest
Code Sleep Python
Awesome Projects in Python - Machine Learning Applications, Games, Desktop Applications all in Python 🐍
Stars: ✭ 306 (+159.32%)
Mutual labels:  analysis, hacktoberfest
Octobot
Cryptocurrency trading bot: high frequency, daily trading, social trading, ...
Stars: ✭ 706 (+498.31%)
Mutual labels:  trading, technical-analysis
Bitvision
Terminal dashboard for trading Bitcoin, predicting price movements, and losing all your money
Stars: ✭ 957 (+711.02%)
Mutual labels:  trading, technical-analysis
Pandas Ta
Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators
Stars: ✭ 962 (+715.25%)
Mutual labels:  trading, technical-analysis
Backtesting.py
🔎 📈 🐍 💰 Backtest trading strategies in Python.
Stars: ✭ 1,124 (+852.54%)
Mutual labels:  hacktoberfest, trading
crypto-database
Database for crypto data, supporting several exchanges. Can be used for TA, bots, backtest, realtime trading, etc.
Stars: ✭ 72 (-38.98%)
Mutual labels:  trading, technical-analysis

Trading Signals

Language Details Code Coverage License Package Version Dependency Updates

Technical indicators and overlays to run technical analysis with JavaScript / TypeScript.

Motivation

Provide a TypeScript implementation for common technical indicators with arbitrary-precision decimal arithmetic.

Features

  • Accurate. Don't rely on type number and its precision limits. Use Big.
  • Typed. Source code is 100% TypeScript. No need to install external typings.
  • Tested. Code coverage is 100%. No surprises when using it.

Supported Indicators

  1. Acceleration Bands (ABANDS)
  2. Average Directional Index (ADX)
  3. Average True Range (ATR)
  4. Bollinger Bands (BBANDS)
  5. Center of Gravity (CG)
  6. Double Exponential Moving Average (DEMA)
  7. Double Moving Average (DMA)
  8. Exponential Moving Average (EMA)
  9. Moving Average Convergence Divergence (MACD)
  10. Rate-of-Change (ROC)
  11. Relative Strength Index (RSI)
  12. Simple Moving Average (SMA)
  13. Smoothed Moving Average (SMMA)

Usage

import {SMA} from 'trading-signals';

const sma = new SMA(3);

// You can add numbers:
sma.update(40);
sma.update(30);
sma.update(20);

// You can add strings:
sma.update('10');

// You can add arbitrary-precision decimals:
import Big from 'big.js';
sma.update(new Big(30));

// You can get the result in various formats:
console.log(sma.getResult().valueOf()); // "20"
console.log(sma.getResult().toFixed(2)); // "20.00"

Good to know

This library draws attention to miscalculations by throwing errors instead of returning default values. If you call getResult(), before an indicator has received the required amount of input values, a NotEnoughDataError will be thrown.

Example:

import {SMA} from 'trading-signals';

// Our interval is 3, so we need 3 input values
const sma = new SMA(3);

// We supply 2 input values
sma.update(10);
sma.update(40);

try {
  // We will get an error, because the minimum amount of inputs is 3
  sma.getResult();
} catch (error) {
  console.log(error.constructor.name); // "NotEnoughDataError"
}

// We will supply the 3rd input value
sma.update(70);

// Now, we will receive a proper result
console.log(sma.getResult().valueOf()); // "40"

Alternatives

Maintainers

Benny Neugebauer on Stack Exchange

Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

License

This project is MIT licensed.

⭐️ Show your support ⭐️

Please leave a star if you find this project useful.

If you like this project, you might also like these related projects:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].