A library to calculating RSI.
Project description
RSI Calculator
A library to calculating RSI.
Install
pip3 install rsi-calculator
Using
In another script
from rsi_calculator import rsi
# rsi(prices = None, periods = 14)
print(rsi([15, 20, 25, 30, 20, 15, 20, 25, 30, 20, 15, 20, 25, 30, 100]))
In command line
-h, --help show this help message and exit
-pr PRICES [PRICES ...], --prices PRICES [PRICES ...]
Prices
-pe PERIODS, --periods PERIODS
Periods
rsi -pr 15 20 25 30 20 15 20 25 30 20 15 20 25 30 100
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rsi_calculator-0.1.3.tar.gz
(2.7 kB
view hashes)