Skip to main content

Processing functions module

Project description

logo

What is Statis.Co?

Statis.Co is a Python module encompassing diverse financial tools and functionalities, including indicators, statistical calculations, and connections to data sources. The module is crafted in pure C, seamlessly integrated with Numpy's API, and employs parallelization tools such as OpenMP. The primary goal is to facilitate blazing-fast calculations and empower the module to adeptly handle substantial workloads. To ensure robust memory management and prevent memory leaks, we utilize tools such as Valgrind and Bloomberg's Memray for in-depth analysis of memory usage.

Why Statis.Co?

In today's finance industry, there's a growing demand for optimized tools to handle massive workloads swiftly. As financial data complexity rises, cutting-edge technologies play a pivotal role in processing, analyzing, and deriving insights for market analysis, risk assessment, and investment strategies. Staying competitive in finance now hinges on the ability to make informed decisions at unprecedented speeds. Notably, we've achieved over a 70% optimization in execution time compared to pure Python NumPy calculations.

Installation

From PyPi. Check the PyPi repo:

pip install statisco

From source:

python setup.py sdist bdist_wheel

To develop and Test from the source

python3 statisco/c_src/setup.py build_ext --inplace

If you'd like to contribute, please contact me via GitHub.

Requirements

To compile the C extension, the primary requirements include the installation of Numpy and GCC.

Usage

This is a usage example:

from statisco.statistics import closingReturns, mean

msft["MyCloseReturns"] = closingReturns(msft["Adj Close"])
myMean = mean(msft["MyCloseReturns"])

print(f"myMean: {myMean}")
msft.head()

For a more in-depth understanding of usage, refer to the detailed examples provided in the test notebook. We'll be working on developing a documentation site.

TODO

This is what I’ll be working on:

  • Documentation
  • More indicators
  • Automatization Classes
  • Basic ML models integration

LICENSE

Statis.Co by Hector Miranda is licensed under Attribution-ShareAlike 4.0 International CC BY SA.

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

statisco-0.1.1.tar.gz (14.7 kB view details)

Uploaded Source

File details

Details for the file statisco-0.1.1.tar.gz.

File metadata

  • Download URL: statisco-0.1.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for statisco-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8c25bad2ffff5b836a5810524c5fdae93dbec3a349f69ea6e1c9dfc119a8454c
MD5 86cf71cae9f324515873f58a1ff08b88
BLAKE2b-256 5b1a1e3e598098134c32bd90cea80e89d868d47077f866f0b9dd7889b5f0ca6a

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