0.1.1 • Published 2 years ago

caeb-supertrend v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CAEB SUPERTREND

NPM Version

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

VarTypeDefaultDesc
apiUrlstringhttps://api.1inch.exchangeThe 1inch API url.
apiVersionstringv3.0The 1inch version to use.
chainIdnumber56The Blockchain ID to use (ETH: 1, BSC: 56).
priceMultipliernumber10The 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

MIT

Made by Caeb WALLACE with ❤️