Skip to main content

A package for stock pattern extraction and matching using cosine similarity

Project description

rjfinance

A Python library for generating and matching stock price & volume patterns using cosine similarity.


📖 Project Overview

rjfinance is a lightweight, experimental Python package crafted for traders, data scientists, and financial analysts eager to dive into pattern-based technical analysis. This library empowers you to identify recurring patterns in stock price and volume data, offering a streamlined way to explore market behavior. It helps you:

  • Generate historical price and volume patterns from CSV data, capturing key market movements.
  • Store these patterns in a reusable format for quick reference.
  • Match real-time stock data against your pattern library using cosine similarity, a robust mathematical approach.
  • Predict potential future percentage moves based on the closest historical match.

Why use rjfinance?
Analyzing stock patterns manually can be a tedious and error-prone task. rjfinance automates this process, saving you time and effort while delivering consistent results. By leveraging cosine similarity—a technique widely used in data science to measure vector similarity—it ensures accurate pattern matching, even across varying scales of data.

Who is it for?

  • Traders: Perfect for backtesting pattern-driven strategies with historical data.
  • Data Scientists: Ideal for those experimenting with machine learning in financial markets.
  • Analysts: A handy tool for automating repetitive pattern-recognition workflows.

⚠️ Disclaimer:
This library is designed for informational and educational purposes only. It is not intended as financial advice. Always conduct thorough research and consult professionals before making investment decisions.


🚀 Installation

Installing rjfinance is a breeze with pip:

pip install rjfinance

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

rjfinance-0.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

rjfinance-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rjfinance-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for rjfinance-0.1.1.tar.gz
Algorithm Hash digest
SHA256 004ad435efaf3a5fc00180e20b104115500175c367ce992b00259e064d84b877
MD5 85191e5415454bce4eea6683105d622f
BLAKE2b-256 e8254328a869ab64928f375c592f2f78c09b5a9abced19905a8f1d5e135aebe0

See more details on using hashes here.

File details

Details for the file rjfinance-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rjfinance-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for rjfinance-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47020ca977bfd6bd06d28586399533cc47b706078a595866d2be842333c3349f
MD5 6fd21524b65f27fa893fb5a6a24117bb
BLAKE2b-256 7c26f486252c63b8096a60ad580ab432bd4814e63fc94f6bd7eb38ad927a20b9

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