cuansignal-1.1.2
توضیحات
A tool to predict when to buy or sell stocks
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Microsoft :: Windows :: Windows 10 |
| نام فایل | cuansignal-1.1.2 |
| نام | cuansignal |
| نسخه کتابخانه | 1.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Achmad Hisyam |
| ایمیل نویسنده | achmadhisyam@gmail.com |
| آدرس صفحه اصلی | https://github.com/hisjam/cuansignal |
| آدرس اینترنتی | https://pypi.org/project/cuansignal/ |
| مجوز | MIT |
# cuansignal: Signal Indicator to Buy / Sell Stock
Bismillaahirrahmaanirrahiim.
cuansignal is a library that contains several functions to predict and provide signals to buy and sell stocks. There are several indicators included in this library. In the initial version, there are four functions, namely Double Exponential Moving Average, Bollinger Band, Stochastics and Relative Strength Index.
More functions will be added in the next edition. We welcome input and critics.
### Double Exponential Moving Average (dEMA)
cuansignal.dEMA(df, base, short, long)
>>> import yfinance as yf
>>> from cuansignal import signals as cs
>>> data = yf.download('AAPL', start='2018-01-01', end='2020-08-01')
>>> result = cs.dEMA(data, base='Close', short=10, long=100)
### Bollinger Band (bband)
cuansignal.bband(df, base, period, std)
>>> import yfinance as yf
>>> from cuansignal import signals as cs
>>> data = yf.download('AAPL', start='2018-01-01', end='2020-08-01')
>>> result = cs.bband(data, base='Close', period=30, std=2)
### Relative Strength Index
cuansignal.rsi(df, base, EMA, MA, RSI)
>>> import yfinance as yf
>>> from cuansignal import signals as cs
>>> data = yf.download('AAPL', start='2018-01-01', end='2020-08-01')
>>> result = cs.rsi(data, base='Close', EMA=11, MA=200, RSI=30)
### Stochastics
cuansignal.stoch(df, period, period2, high, low)
>>> import yfinance as yf
>>> from cuansignal import signals as cs
>>> data = yf.download('AAPL', start='2018-01-01', end='2020-08-01')
Change Log
=================================
1.0.0 (18/08/2021)
------------------
Adding four indicators :
1. Dual Exponential Moving Average (dEMA)
2. Bollinger Band (bband)
3. Relative Strenght Index (rsi)
4. Stochastic (stoch)
نحوه نصب
نصب پکیج whl cuansignal-1.1.2:
pip install cuansignal-1.1.2.whl
نصب پکیج tar.gz cuansignal-1.1.2:
pip install cuansignal-1.1.2.tar.gz