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 details)
File details
Details for the file rsi_calculator-0.1.3.tar.gz
.
File metadata
- Download URL: rsi_calculator-0.1.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c3393ee709234eb98fdc1136b9d5d12ce1d328d198b1aa2eed3306c8c1d089f |
|
MD5 | 79eb7225f8e4d0e2dc77db155ea50e56 |
|
BLAKE2b-256 | 64ed34ade49cfa5a06f2fd05f4335d9e8cf0b84a3b2b34384ed27ce57d405cb1 |