Quantitative research toolkit for financial markets
Project description
BQuant - Quantitative Research Toolkit
BQuant is a universal toolkit for quantitative research of financial markets. The project starts with MACD zone analysis as the first use case, but the architecture is designed for exploring various aspects: technical indicators, chart patterns, candlestick formations, time series, and machine learning applications.
🔧 Key Features
- Universal configuration system - support for multiple data sources and brokers
- Multi-level analysis - technical, statistical, graphical, candlestick, time series
- ML readiness - structure for machine learning (stubs)
- Visualization tools - charts and reports
- Research environment - notebooks and experiments
- Automated pipelines - ready-to-use analysis scripts
🚀 Quick Start
Installation
# Install in development mode
pip install -e .
# Install with optional dependencies
pip install -e .[dev,notebooks]
Basic Usage
from bquant.data import load_symbol_data
from bquant.indicators import MACDAnalyzer
# Load data
data = load_symbol_data('XAUUSD', '1h')
# Analyze MACD zones
analyzer = MACDAnalyzer(data, fast=8, slow=21)
zones = analyzer.identify_zones()
print(f"Found {len(zones)} zones")
Command Line
# Analyze single instrument
bquant-analyze XAUUSD
# Batch analysis
bquant-batch EURUSD GBPUSD XAUUSD
📋 Project Structure
This is a monorepo that contains:
bquant/- Python package (for PyPI)research/- Jupyter notebooks and experimentsscripts/- Automation scriptsdata/- Data storagetests/- Test suitedocs/- Documentation
🛠️ Development
Setting up development environment
# Create virtual environment
python -m venv venv_bquant_dell
# Activate (Windows)
venv_bquant_dell\Scripts\activate
# Activate (Linux/Mac)
source venv_bquant_dell/bin/activate
# Install dependencies
pip install -r requirements.txt
# Install in development mode
pip install -e .[dev]
Running tests
pytest tests/ -v
📚 Documentation
🎯 Roadmap
- Phase 1: Core functionality (data, MACD analysis, statistics)
- Phase 2: Extended visualization, time series, other indicators
- Phase 3: Full ML, chart patterns, automation
📄 License
MIT License - see LICENSE file for details.
🤝 Contributing
Contributions are welcome! Please read our contributing guidelines and submit pull requests.
📞 Contact
- Author: kogriv
- Email: kogriv@gmail.com
- Repository: https://github.com/kogriv/bquant
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bquant-0.0.0.tar.gz.
File metadata
- Download URL: bquant-0.0.0.tar.gz
- Upload date:
- Size: 352.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50c30b8f5d0f7f6833977cf68be7cdbf3b07880c1ac6d8b3cef67b200bf85757
|
|
| MD5 |
f987eeffca694a080732b6a81c4dde77
|
|
| BLAKE2b-256 |
46d24f016cc68ea055b8da39e3a01bb8a63cf3a40e8f3838857e2ee3c1f0a587
|
File details
Details for the file bquant-0.0.0-py3-none-any.whl.
File metadata
- Download URL: bquant-0.0.0-py3-none-any.whl
- Upload date:
- Size: 252.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c238d602883090dbf10dbffa14e38873251b5a69e735157c1adbb98d9d209fdd
|
|
| MD5 |
783b9aab005be442b201a4cc6a4938e1
|
|
| BLAKE2b-256 |
92f97d470f4adcc84aef5dcc3973010de05263586b196d355547716f5d879d92
|