Skip to main content

vptrade is a technical indicators trading tools can be used to all instruments.

Project description

vptrade

MIT License

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.

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

vptrade-0.0.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

vptrade-0.0.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file vptrade-0.0.2.tar.gz.

File metadata

  • Download URL: vptrade-0.0.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for vptrade-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5fb2069f2fe4119fe11517b9db5b0a6269436566d462eb16c0567a878076dfb3
MD5 8b2683036c9f561ed447036ffa4f5374
BLAKE2b-256 13508acbba3442e912fc6c320aee7e234394f3d20244a424ffca731d7ec4b912

See more details on using hashes here.

File details

Details for the file vptrade-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: vptrade-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for vptrade-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 52bb8f86e8a1a3d2b5eb49d734f8048c24a46b7cc66c512bbdeff822ef0f69df
MD5 12af0656ffa0d2bcd70a00af7c8ed3fc
BLAKE2b-256 7d866eb12e513f7b4719866d6bc504dfe5a9109308f0dd2603f58b9c7a552f56

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page