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.0.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qufilab-0.0.0-cp37-cp37m-macosx_10_9_x86_64.whl (558.9 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file qufilab-0.0.0.tar.gz.

File metadata

  • Download URL: qufilab-0.0.0.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3

File hashes

Hashes for qufilab-0.0.0.tar.gz
Algorithm Hash digest
SHA256 bd3d42a2de584ed9e5c9fb1d356882f9daa285a5d1238c8febe8e41792da6619
MD5 21b3216a0b09f51064ab9843101a6b98
BLAKE2b-256 574cdb58be3d75737d72fdbcd9a83c2031a2244917fd88afc508650da6caa3f8

See more details on using hashes here.

File details

Details for the file qufilab-0.0.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qufilab-0.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 558.9 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3

File hashes

Hashes for qufilab-0.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3d5fbd1edeb6eccdbce7cf4a8a053f46d2e71e430128424f764650a6c7a0f24b
MD5 3c77e3b4b0ff33fef624861fabfae91c
BLAKE2b-256 a7502110f2a5443656bb4ac9bb278eaaaae8eca8a6342a15644f3924b7fe1ab2

See more details on using hashes here.

Supported by

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