Skip to content
CreeeegerPublic

About

Get notified when the next hype comes in

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

HypeTrain

HypeTrain is an experimental desktop application for monitoring market momentum, reviewing historical price data, and generating configurable stock alerts. It combines a Java Swing interface with Alpha Vantage market data, Trading 212 integration, Pushcut notifications, and optional ONNX models.

Warning

HypeTrain is research software, not financial advice or an automated promise of profitable trades. Market data may be delayed, incomplete, or inaccurate. Review every signal independently and never risk capital that you cannot afford to lose.

HypeTrain chart example

Features

Market monitoring

  • Live symbol search and configurable watchlists
  • Preset and custom market regimes, including AI, large-cap, cryptocurrency, and pharmaceutical groups
  • Persistent regime selection between sessions
  • Volume- and liquidity-aware symbol filtering
  • Support for regular, pre-market, and after-hours data
  • Cached symbol and market data for faster subsequent launches

Charts and analytics

  • Candlestick and line charts
  • Time ranges from one minute to one month
  • Automatic live-data refresh
  • Custom candle aggregation
  • Two-point percentage-change measurements with chart annotations
  • Volume, price, P/E, PEG, 52-week range, and market-cap data
  • Company summaries and recent news with direct article access

Alerts

  • Hype Mode for scanning configured markets for momentum events
  • Configurable alert sensitivity using an aggressiveness multiplier
  • Liquidity checks before alerts are emitted
  • In-application, system, and Pushcut notifications
  • Notification history and duplicate suppression
  • Sorting by timestamp or percentage change
  • Alert categories for dips, gap fills, R-line spikes, large spikes, and general events
  • Optional second-based processing for faster updates

Models and technical indicators

  • ONNX entry-prediction and uptrend models
  • Extension point for custom prediction models
  • Simple moving-average crossovers
  • TRIX
  • Rate of change
  • Cumulative percentage change
  • Percentage-change thresholds
  • Keltner Channels
  • Elder-Ray approximation

Requirements

  • Java 21 or later
  • Maven 3.9 or later
  • An internet connection
  • An Alpha Vantage API key
  • A Trading 212 API key for liquidity checks and Trading 212 links
  • A Pushcut endpoint for remote notifications

The Alpha Vantage subscription must support the US real-time data required by the application. Full-market scans generate many requests, so select a plan with a rate limit appropriate for the number of symbols you intend to monitor. A free or lower-rate plan may be sufficient for a small watchlist but can delay larger scans.

Installation

Clone the repository and build it from the project root:

git clone https://github.com/Creeeeger/Hypetrain.git
cd Hypetrain
mvn clean package

Run the application with Maven:

mvn exec:java -Dexec.mainClass=org.crecker.mainUI

You can also open the project in IntelliJ IDEA or another Java IDE and run org.crecker.mainUI.

First-run configuration

On its first launch, HypeTrain creates config.xml and opens the settings window. Configure the following values before starting a scan:

  1. Enter the Alpha Vantage API key.
  2. Set the intended trade volume. HypeTrain uses this value for liquidity checks and alert sizing.
  3. Enter the Trading 212 API token if Trading 212 integration is required.
  4. Enter the Pushcut endpoint if remote notifications are required.
  5. Select a market regime and alert aggressiveness.
  6. Enable real-time, candlestick, or second-based processing as needed.

The initial data cache can take up to ten minutes to populate, depending on the connection speed, provider rate limits, and selected market regime.

Pushcut setup

  1. Create a notification in Pushcut.
  2. Grant the required notification permissions.
  3. Enable dynamic text and dynamic title support for external requests.
  4. Copy the notification's external-trigger URL into the HypeTrain settings.

For native notifications on macOS, install terminal-notifier:

brew install terminal-notifier

Configuration

HypeTrain stores local runtime settings in config.xml.

Setting Purpose
Volume Trade volume used for liquidity checks and alert sizing
Symbols Current watchlist
Sort preference Notification and symbol ordering
API key Alpha Vantage authentication
Real-time mode Enables real-time data retrieval
Aggressiveness Adjusts alert sensitivity
Candle view Selects candlestick or line-chart display
Trading 212 token Enables liquidity checks and platform links
Pushcut endpoint Enables remote push notifications
Market Selects the active market regime
Second framework Enables second-based processing

Settings can be imported and exported as XML. The selected market, symbols, theme, chart mode, sorting, and alert preferences persist between sessions.

config.xml may contain live credentials and is excluded from version control. Do not commit it, attach it to bug reports, or share it publicly.

Typical workflow

  1. Select a market regime or create a watchlist.
  2. Choose the volume threshold and alert sensitivity.
  3. Review the chart, company information, and current market session.
  4. Start Hype Mode or run the rally scanner.
  5. Validate each notification against current price action and liquidity.
  6. Open a candidate in the real-time chart or the configured broker portal for further review.

Notifications expire after twenty minutes and recent duplicates are suppressed. New ticks received after an alert are appended to both the OHLC and line series. Chart updates are dispatched through the Swing event thread.

Strategy assumptions

The bundled signal logic was designed around the following rules:

  • Favor entries after a retracement or reversal has been confirmed.
  • Require the next candle to close above the previous candle before considering an entry.
  • Do not chase a missed entry or enter solely because a declining candle appears inexpensive.
  • Treat flattening momentum or a sharp reversal as a reason to reassess or exit.
  • Apply market-specific thresholds for regular hours, pre-market, after-hours, and sector-specific conditions.
  • After repeated losses, stop trading and review historical setups before resuming.

These are design assumptions used by the project, not recommendations or guarantees.

Market-regime weights

HypeTrain can adjust signal-category weights for different market conditions.

Category Bull market Bear market High volatility Scraper mode
Trend 0.30 0.15 0.20 0.10
Momentum 0.40 0.25 0.35 0.10
Statistics 0.15 0.30 0.25 0.45
Advanced 0.15 0.30 0.20 0.35

Model research notes

The included model parameters are based on project experiments and should be revalidated against current data before use:

  • Short training windows produced poorly separated event clusters.
  • Windows of approximately 35 to 40 minutes generally produced clearer separation in the project's historical datasets.
  • A batch size of 64 produced the least observed noise in those experiments.
  • Class weighting was removed after it increased output noise.
  • Synthetic Bollinger Band values are used as stability features.
  • A single-event input buffer was selected for efficiency and consistency.

Python model scripts are located in rallyMLModel/. Install the dependencies required by the selected script and run it from the project root. For example:

python rallyMLModel/spikeModel.py

Model outputs and historical results are experimental. Performance observed on one-second or one-minute data should not be assumed to generalize to other symbols, periods, or market conditions.

Documentation

Detailed technical documentation is available in docs/:

macOS background execution

To prevent macOS from sleeping while HypeTrain is running:

caffeinate mvn exec:java -Dexec.mainClass=org.crecker.mainUI

This command is portable across local project paths and avoids embedding a machine-specific Java installation or dependency classpath.

Legacy chart implementation

The previous advanced-chart implementation is available in commit 6b1ef75.

Disclaimer

HypeTrain is provided solely for educational, informational, and research purposes. It does not guarantee any financial outcome. Trading and investing involve significant risk, including the possible loss of the entire amount invested.

You are solely responsible for decisions made using this software. Conduct your own research and consult a qualified financial professional when appropriate. The project's creators, developers, and distributors accept no liability for losses or damages arising from the use of the application, its data, or its signals.

About

Get notified when the next hype comes in

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages