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

Uploaded Source

File details

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

File metadata

  • Download URL: statisco-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 67d781d6ce97627cf80147c3c7b766b95a70c258883cddffcf1322b4568e8ebd
MD5 e52c6087d66c0b44c2217e5f6f9552c5
BLAKE2b-256 7c0e7877c7c47145e0bed04b57643bfbbfce8db165b709a1a3c03952ecfb8c30

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