Skip to main content

MarketHelm

A stock market monitoring and analysis tool (CLI + web dashboard) that screens indices, fetches data, and projects short-term moves—aimed at growing toward suggestions, alerts, and (later) execution. Perfect for traders and analysts building a daily workflow.

Direction: The long-term goal is a product that monitors markets, suggests buys/sells, and can eventually execute via broker APIs—with room to grow from the installable CLI toward a multi-user app. Read the full picture in docs/PROJECT_STATUS.md.

What Does It Do?

This tool automatically:

  1. Screens major stock indices (S&P 500, NASDAQ-100) to find active, high-volume stocks
  2. Fetches real-time market data using official APIs (no scraping!)
  3. Analyzes daily changes, identifies top gainers/losers
  4. Projects 5-day price targets with buy/sell/hold recommendations
  5. Saves results to CSV files and generates summary reports
  6. Logs everything for troubleshooting and monitoring

Run time: ~4 minutes per day on the free tier.

Web dashboard

Visual, interactive UI — same pip install market-helm as the CLI. The package includes the FastAPI server and a built React UI (no Node.js needed to use it).

market-helm-web

Open http://localhost:8000 — API docs at /docs.

Develop the React UI (Vite on port 3000): dashboard/README.md.
Hosting and persistence: docs/DEPLOYMENT.md.


Quick Start (Beginners Welcome!)

Prerequisites

Step 1: Install

Create a virtual environment (recommended), then activate it:

python -m venv .venv
# Windows PowerShell:
.venv\Scripts\Activate.ps1
# Windows CMD:
.venv\Scripts\activate
# Mac/Linux:
source .venv/bin/activate

Install the package—pick one:

  • From PyPI (recommended — includes CLI and dashboard):

    pip install market-helm
    
  • From source (clone for development or to rebuild the dashboard UI):

    git clone https://github.com/lawaloy/market-helm.git
    cd market-helm
    pip install -e .
    

Step 2: Add Your API Key

Create a .env file where you will run the tool:

FINNHUB_API_KEY=your-api-key-here

(Get your free key from finnhub.io/register)

Step 3: Run It

market-helm          # daily tracker → CSV/JSON under data/
market-helm-web      # web UI + API → http://localhost:8000

If you cloned the repo, you can also run python main.py from the project root.

Each tracker run screens ~201 stocks, selects the top movers, fetches detailed data, and saves data/daily_data_YYYY-MM-DD.csv.


What You Get

Output Description
data/daily_data_YYYY-MM-DD.csv Prices, volume, daily changes
data/summary_YYYY-MM-DD.json Gainers, losers, statistics
logs/market_helm_YYYY-MM-DD.log Execution logs

More entry points, console examples, and programmatic use: docs/USAGE.md.


Documentation

Full index: docs/README.md

Guide Topics
USAGE.md CLI options, dashboard, output files
CONFIGURATION.md Indices, screening filters, performance
DEPLOYMENT.md Docker, Kubernetes, DATA_DIR, secrets
ARCHITECTURE.md Code layout, workflow, rate limiting
TROUBLESHOOTING.md Common errors, FAQ
ADVANCED.md OpenAI summaries, custom providers
PROJECT_STATUS.md Roadmap, alerts, product vision

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Next priorities: alerts delivery, projection accuracy, dashboard polish — details in docs/PROJECT_STATUS.md.


License

MIT License — free to use, modify, and distribute. See LICENSE.

Author

lawaloyGitHub

Release files for market-helm 0.3.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 market-helm 0.3.4
File Size Uploaded
market_helm-0.3.4.tar.gz 827.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for market-helm 0.3.4
File Interpreter ABI Platform
market_helm-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 974.4 kB

Release files / market_helm-0.3.4.tar.gz

Download URL market_helm-0.3.4.tar.gz
Size 827.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9de2748d6c99bf2c30670171f5d0d04c93bab8f97325046ad71e7dfbccfdd966
BLAKE2b-256 checksum
How to use checksums
b19b9e867109633e6f3fc5d2550c24ce00fe728074680fe712dbe14871fcdb63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / market_helm-0.3.4-py3-none-any.whl

Download URL market_helm-0.3.4-py3-none-any.whl
Size 146.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82806c5cbd6bd6cacf4b81ffabe584c6cc55594ffaf952cdce75a2512c88f14c
BLAKE2b-256 checksum
How to use checksums
f3756174d6b4fa1de833ac44b232afbb9dce1964a7caeb0fe2d759376175c60f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.3.5

2 release files

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.7

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