Skip to main content

QuantStream

QuantStream is a Python-based financial modeling preperation platform designed to interact with real-time financial data via APIs, including the Financial Modeling Prep (FMP) API. The platform provides tools for model training, real-time data integration, and visualization. It is designed to be a central data structure for financial modeling and analysis based on Xarray, allowing users to easily access and manipulate financial data for their projects.

Features

  • FMP API Wrapper: Integration with the FMP API for fetching financial data.
  • Data Visualization: Display and interact with real-time financial data.
  • Data Export: Download financial data in various formats such as CSV.
  • Data Storage: Store financial data easily in a SQLite databases.
  • Extensible Architecture: Easily add new models or financial data providers.

Installation

Requirements

  • Python 3.11 or higher
  • uv package for environment and dependency management
  • ruff for linting

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/quantstream.git
    cd quantstream
    
  2. Install uv and sync dependencies:

    curl -sSL https://install.astral.sh | sh
    uv sync --all-extras --dev
    
  3. Set up the environment variable for your API key:

    export FMP_API_KEY=your_api_key_here
    
  4. Run the application:

    uv run python -m quantstream
    

Usage

Development Workflow

Code Style and Linting

We use ruff for code linting. You can check for any style issues by running:

uv run ruff check .

Running Tests

Tests are managed using pytest. You can run all tests with:

uv run pytest tests/

Pre-commit Hooks

This project uses pre-commit hooks to enforce code quality. Install the hooks by running:

pre-commit install

Contributing

We welcome contributions! Please see the CONTRIBUTING.md file for guidelines.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for quantstream 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quantstream 0.0.4
File Size Uploaded
quantstream-0.0.4.tar.gz 8.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for quantstream 0.0.4
File Interpreter ABI Platform
quantstream-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 MB

Release files / quantstream-0.0.4.tar.gz

Download URL quantstream-0.0.4.tar.gz
Size 8.2 MB
Tags Source
SHA-256 checksum
How to use checksums
ad268c7b7a9bae4111e842a464660243901183671f6ab42dd6d3e46af5b58d5c
BLAKE2b-256 checksum
How to use checksums
868770d50c325a8f083508e150ae84313e46ae11364574aa141c414983a5416d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.12

Release files / quantstream-0.0.4-py3-none-any.whl

Download URL quantstream-0.0.4-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ae243e01cbdd6c98c874bc0f9e93b097e6ae833869c1232ad0c2322237ce8ba
BLAKE2b-256 checksum
How to use checksums
0f212a617dac2a53eaf6409aca17b27e55d6bcb7656f51fa86c36690aaee9d94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page