Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.31 KB

README.md

File metadata and controls

59 lines (45 loc) · 1.31 KB

Tactician

Trading analysis comprehensive indicators.

Tactician Logo

npm version license

Table of Contents

Installation

Prerequisites

  • Node.js (v12.0 or higher)
  • Npm or Yarn

Using npm

npm install tactician

Using Yarn

yarn install tactician

Using pnpm

pnpm add tactician

Usage

import { rsi, obv, stoch, macd } from 'tactician';

const ohlcData = [
  { open: 10, high: 12, low: 11, close: 1, volume: 10 },
  { open: 10, high: 12, low: 11, close: 2, volume: 10 },
  // More OHLC data...
];

const rsiResults = rsi(ohlcData);
const obvResults = obv(ohlcData);
const stochResults = stoch(ohlcData);
const macdResults = macd(ohlcData);

Contributors

Thanks to all the contributors who have helped this project grow

License

This project is licensed under the MIT License - see the LICENSE.md file for details.