@madeindreams-team/trade-brain

Artificial Intelligence For Trading Bot

Usage no npm install needed!

<script type="module">
  import madeindreamsTeamTradeBrain from 'https://cdn.skypack.dev/@madeindreams-team/trade-brain';
</script>

README

READEME

This is a package that return different indicators for your trading bot strategies.

Usage

const Rsi = require('@madeindreams/ai-for-tradeBot')

const rsiInstance = new Rsi()

Once the Rsi instance initiated, feed it with every close price, after 14 prices, it will start returning the rsi index.

let rsi = rsiInstance.rsi(price)

will return null until it 15 prices are received.

To run a test

npm run test