vptrade
vptrade is a technical indicators trading tools can be used to all instruments.
Requirements
- Python 3.9 or higher
Features
- Trends Indicator
- Oscillators Indicator
Installation
Instal this package with pip
pip install vptrade
Usage/Examples
Moving Average
from vptrade.indicators.trends import Trend
import pandas as pd
data = pd.read_csv(r'YOUR PATH\TSLA.csv',
index_col='Date',
parse_dates=True)
trend = Trend(data)
#simple moving average
sma = trend.sma(period=30, volume="Close", show=True, save="sma_img.png")
#exponential moving average
ema = trend.ema(period=30, volume="Close", show=True, save="ema_img.png")
#cummulative moving average show only without save
cma = trend.cma(period=30, volume="Close", show=True)
#smoothed moving average without save and show
smma = trend.smma(period=30, volume="Close", show=False)
#lienar-weighted moving average without show and save
lwma = trend.lwma(period=30, volume="Close")
Bollinger band
from vptrade.indicators.trends import Trend
import pandas as pd
data = pd.read_csv(r'YOUR PATH\TSLA.csv',
index_col='Date',
parse_dates=True)
trend = Trend(data)
bollinger = trend.bollinger_bands(period=30, volume="Close", show=True, save="bolinger_band.png")
Support
For support, Join my discord https://discord.gg/HZJZAVAZdr
Contributing
Contributions are always welcome!
See contributing.md for ways to get started.
Please adhere to this project's code of conduct.
Metadata
Release files for vptrade 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vptrade-0.0.2.tar.gz | 7.3 kB | Without provenance | Details for vptrade-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vptrade-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for vptrade-0.0.2-py3-none-any.whl |
Total release size: 15.5 kB
Release files / vptrade-0.0.2.tar.gz
| Download URL | vptrade-0.0.2.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fb2069f2fe4119fe11517b9db5b0a6269436566d462eb16c0567a878076dfb3
|
|
BLAKE2b-256 checksum How to use checksums |
13508acbba3442e912fc6c320aee7e234394f3d20244a424ffca731d7ec4b912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Release files / vptrade-0.0.2-py3-none-any.whl
| Download URL | vptrade-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
52bb8f86e8a1a3d2b5eb49d734f8048c24a46b7cc66c512bbdeff822ef0f69df
|
|
BLAKE2b-256 checksum How to use checksums |
7d866eb12e513f7b4719866d6bc504dfe5a9109308f0dd2603f58b9c7a552f56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for vptrade 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.