Skip to main content

No project description provided

Project description

QufiLab

Qufilab is a fast and modern technical indicators library implemented in c++.

Features

  • Wide array of technical indicators.

Installation

Not yet implemented

Documentation for QufiLab can be found at: https://qufilab.readthedocs.io

Usage

WARNING: All of qufilab's technical indicators are implemented in c++ and a big part of the speed performance comes from the fact that no type conversion exist between python and c++. In order for this to work, numpy arrays of type numpy.dtype.float64 (double) or numpy.dtype.float32 (float) are preferably used. Observe that all other types of numpy arrays still are accepted, however the retured numpy array will be converted into the type numpy.dtype.float64.

Indicators

import qufilab as ql
import numpy as np

# Creates an ndarray with element type float64.
data = np.random.rand(1000000)

# Calculate sma with a period of 200.
sma = ql.sma(data, period = 200)

# Calculate bollinger bands with a period of 20 and two standard deviations from the mean.
upper_band, middle_band, lower_band = ql.bbands(data, period = 20, deviation = 2)

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

qufilab-0.0.1.tar.gz (31.3 kB view hashes)

Uploaded Source

Built Distribution

qufilab-0.0.1-cp37-cp37m-macosx_10_9_x86_64.whl (559.1 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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