diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 04:56:51 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 04:56:51 +0000 |
| commit | 5d8a6c018f56f8d7db257b0cc53a82325be6b686 (patch) | |
| tree | 334a07bd5dbe764e85136b4fb43a42e0f7d2e694 /python-legitindicators.spec | |
| parent | cacfd9dc9ef37775ded663ed435a59d4ef1bb86a (diff) | |
automatic import of python-legitindicators
Diffstat (limited to 'python-legitindicators.spec')
| -rw-r--r-- | python-legitindicators.spec | 233 |
1 files changed, 233 insertions, 0 deletions
diff --git a/python-legitindicators.spec b/python-legitindicators.spec new file mode 100644 index 0000000..b850893 --- /dev/null +++ b/python-legitindicators.spec @@ -0,0 +1,233 @@ +%global _empty_manifest_terminate_build 0 +Name: python-legitindicators +Version: 0.0.66 +Release: 1 +Summary: Legit indicators to be used in trading strategies. +License: MIT License +URL: https://github.com/aticio/legitindicators +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/96/dd/1af424002752497f365f1d24451e6affb207d9ef3795e6b2695da1950c9e/legitindicators-0.0.66.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pytest + +%description +# Legit Indicators + + + +Collection of indicators that I used in my strategies. + +## List of indicators: ## + +* Simple Moving Average +* Exponential Moving Average +* Average True Range +* Smoothed ATR - Super Smoother applied Average True Range +* Rolled Moving Average +* Atrlimit - Average True Range implementation with a limit for using as a volatility indicator +* Smoothed Atrlimit - Smoothed Average True Range implementation with a limit for using as a volatility indicator +* Roofing Filter - Python implementation of the Roofing Filter indicator created by John Ehlers +* Super Smoother - Python implementation of the Super Smoother indicator created by John Ehlers +* SZLADX - A low lagging upgrade of ADX indicator. +* True Range +* Decycler - Python implementation of Simple Decycler indicator created by John Ehlers +* Decycler Oscillator - Python implementation of Decycler Oscillator created by John Ehlers +* High Pass Filter +* Damiani Volatmeter +* Voss - Python implementation of Voss indicator created by John Ehlers +* Hurst Coefficient +* Kaufman Efficiency Ratio +* Even Better Sine Wave - Python implementation of Even Better Sine Wave indicator created by John Ehlers +* Cube Transform - Python implementation of Cube Transform created by John Ehlers +* Simple Harmonic Oscillator +* Smoothed Simple Harmonic Oscillator - Super Smoother applied Simple Harmonic Oscillator +* Kaufman Adaptive Moving Average +* Linear Regression Curve +* Linear Regression Slope +* TrendFlex - Python implementation of TrendFlex indicator created by John Ehlers +* Custom TrendFlex - Python implementation of TrendFlex indicator with customizable super smoother length, created by John Ehlers +* Automatic Gain Control - Python implementation of Automatic Gain Control created by John Ehlers +* Smoothed SSL - Super Smoother Applied SSL indicator +* Bollinger Bands %B +* Volume Heat - A custom volume indicator +* Double Super Smoother - Two Super Smoother indicators for checking line crosses +* EMA Trailing - A trailing stop implementation using Exponantial Moving Average +* Momentum Normalized - Normalized Momentum Indicator; Cube Transform applied + + +## Installation + +Run the following to install: + +```python +pip install legitindicators +``` + + + + +%package -n python3-legitindicators +Summary: Legit indicators to be used in trading strategies. +Provides: python-legitindicators +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-legitindicators +# Legit Indicators + + + +Collection of indicators that I used in my strategies. + +## List of indicators: ## + +* Simple Moving Average +* Exponential Moving Average +* Average True Range +* Smoothed ATR - Super Smoother applied Average True Range +* Rolled Moving Average +* Atrlimit - Average True Range implementation with a limit for using as a volatility indicator +* Smoothed Atrlimit - Smoothed Average True Range implementation with a limit for using as a volatility indicator +* Roofing Filter - Python implementation of the Roofing Filter indicator created by John Ehlers +* Super Smoother - Python implementation of the Super Smoother indicator created by John Ehlers +* SZLADX - A low lagging upgrade of ADX indicator. +* True Range +* Decycler - Python implementation of Simple Decycler indicator created by John Ehlers +* Decycler Oscillator - Python implementation of Decycler Oscillator created by John Ehlers +* High Pass Filter +* Damiani Volatmeter +* Voss - Python implementation of Voss indicator created by John Ehlers +* Hurst Coefficient +* Kaufman Efficiency Ratio +* Even Better Sine Wave - Python implementation of Even Better Sine Wave indicator created by John Ehlers +* Cube Transform - Python implementation of Cube Transform created by John Ehlers +* Simple Harmonic Oscillator +* Smoothed Simple Harmonic Oscillator - Super Smoother applied Simple Harmonic Oscillator +* Kaufman Adaptive Moving Average +* Linear Regression Curve +* Linear Regression Slope +* TrendFlex - Python implementation of TrendFlex indicator created by John Ehlers +* Custom TrendFlex - Python implementation of TrendFlex indicator with customizable super smoother length, created by John Ehlers +* Automatic Gain Control - Python implementation of Automatic Gain Control created by John Ehlers +* Smoothed SSL - Super Smoother Applied SSL indicator +* Bollinger Bands %B +* Volume Heat - A custom volume indicator +* Double Super Smoother - Two Super Smoother indicators for checking line crosses +* EMA Trailing - A trailing stop implementation using Exponantial Moving Average +* Momentum Normalized - Normalized Momentum Indicator; Cube Transform applied + + +## Installation + +Run the following to install: + +```python +pip install legitindicators +``` + + + + +%package help +Summary: Development documents and examples for legitindicators +Provides: python3-legitindicators-doc +%description help +# Legit Indicators + + + +Collection of indicators that I used in my strategies. + +## List of indicators: ## + +* Simple Moving Average +* Exponential Moving Average +* Average True Range +* Smoothed ATR - Super Smoother applied Average True Range +* Rolled Moving Average +* Atrlimit - Average True Range implementation with a limit for using as a volatility indicator +* Smoothed Atrlimit - Smoothed Average True Range implementation with a limit for using as a volatility indicator +* Roofing Filter - Python implementation of the Roofing Filter indicator created by John Ehlers +* Super Smoother - Python implementation of the Super Smoother indicator created by John Ehlers +* SZLADX - A low lagging upgrade of ADX indicator. +* True Range +* Decycler - Python implementation of Simple Decycler indicator created by John Ehlers +* Decycler Oscillator - Python implementation of Decycler Oscillator created by John Ehlers +* High Pass Filter +* Damiani Volatmeter +* Voss - Python implementation of Voss indicator created by John Ehlers +* Hurst Coefficient +* Kaufman Efficiency Ratio +* Even Better Sine Wave - Python implementation of Even Better Sine Wave indicator created by John Ehlers +* Cube Transform - Python implementation of Cube Transform created by John Ehlers +* Simple Harmonic Oscillator +* Smoothed Simple Harmonic Oscillator - Super Smoother applied Simple Harmonic Oscillator +* Kaufman Adaptive Moving Average +* Linear Regression Curve +* Linear Regression Slope +* TrendFlex - Python implementation of TrendFlex indicator created by John Ehlers +* Custom TrendFlex - Python implementation of TrendFlex indicator with customizable super smoother length, created by John Ehlers +* Automatic Gain Control - Python implementation of Automatic Gain Control created by John Ehlers +* Smoothed SSL - Super Smoother Applied SSL indicator +* Bollinger Bands %B +* Volume Heat - A custom volume indicator +* Double Super Smoother - Two Super Smoother indicators for checking line crosses +* EMA Trailing - A trailing stop implementation using Exponantial Moving Average +* Momentum Normalized - Normalized Momentum Indicator; Cube Transform applied + + +## Installation + +Run the following to install: + +```python +pip install legitindicators +``` + + + + +%prep +%autosetup -n legitindicators-0.0.66 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-legitindicators -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.66-1 +- Package Spec generated |
