Skip to main content

A Python toolkit for quantitative market analysis

Project description

Loubach

Offers price fetching, time series analysis, equity pair analysis, and portfolio testing for priceable financial instruments.

Modules

  • loubach.data: Base Yahoo Finance API connection module that helps feed loubach.instrument modules.
  • loubach.instrument: Includes functionality for instrument intialization and data fetching
  • loubach.math: Includes all math related helper modules (i.e.: pd.Series operations, market technicals, trend detection)
  • loubach.portfolio: Offers Portfolio and Holding object classes
  • loubach.timeseries: Time series module that helps visualize time series data, bivariate analysis, market technical overlays, portfolio/holding value, etc.

Example Usage

from loubach.instrument.equity import Equity
from loubach.technicals import *

# Load equity prices and get RSI as a pd.Series object
AAPL_prices = Equity('AAPL').price(start='2024-12-01', end='2025-12-01')
RSI = rsi(data=AAPL_prices, period=14)

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

loubach-1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

loubach-1.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file loubach-1.0.tar.gz.

File metadata

  • Download URL: loubach-1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for loubach-1.0.tar.gz
Algorithm Hash digest
SHA256 1cd94c4e3ace1193bf6a35920a8999d6ba663c479120572f56d038b5ebd29542
MD5 36a0fd113ee7bdd95d3c922bc55cdca6
BLAKE2b-256 553f92876aafee2e1f66149bcf0a34ff943279374136ca675243d7b88c96a73e

See more details on using hashes here.

File details

Details for the file loubach-1.0-py3-none-any.whl.

File metadata

  • Download URL: loubach-1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for loubach-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46ee7f0e2fcabb918b4d23335b45ef21ee165a7e7074ad4310fbdae60bbe2c03
MD5 16fe4afb62bc0ace0cddc75dd4c47c3f
BLAKE2b-256 2772a5bd624af0dec3887957aba3ac97d4456ae0b622eff74e1b60820a97469e

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