caeb-supertrend
v0.1.1
Published
Supertrend stock signal indicator
Downloads
59
Maintainers
Readme
CAEB SUPERTREND
caeb-supertrend
is a typescript / javascript library to calculate SuperTrend indicator created by Olivier SEBAN.
Install
yarn add caeb-supertrend
# - or -
npm i caeb-supertrend
Usage
Run Unit Tests
npm run test
# - or -
npm run test:watch
Options
| Var | Type | Default | Desc | | :-------------- | :----- | :------------------------- | :-------------------------------------------------------------------------------------- | | apiUrl | string | https://api.1inch.exchange | The 1inch API url. | | apiVersion | string | v3.0 | The 1inch version to use. | | chainId | number | 56 | The Blockchain ID to use (ETH: 1, BSC: 56). | | priceMultiplier | number | 10 | The price multiplier to apply on quote amount to have enough floats in the quote price. |
Documentation
Visit https://caebwallace.github.io/caeb-supertrend/ for extended informations and documentations.
Want to donate ?
If you like that project and my work, you can send me your favorite shitcoin to my ERC20 / BEP20 wallet address : 0x1Ed970C1D3F9B85bA6607d45C752E22D9b0b09f4
Credits
Thanks to covalent, axios and web3 for their developments and products.
License
Made by Caeb WALLACE with ❤️