← Gallery
AI-Powered Trading System

HailStorm

Dual-strategy LSTM neural network trading system with ensemble voting, news sentiment analysis, and dynamic position sizing. Paper trading GOOG via Alpaca Markets.
● Paper Trading
2
Active Strategies
7
Portfolio Models
30+
API Endpoints
17
Input Features
$100K
Paper Capital
Dual LSTM Strategies
VERSION 7.03
Regression
LSTM price prediction → derives direction
PredictsExact future price
Input Features17 indicators
Lookback24 periods
Alpaca AccountAccount 1
IndicatorsOHLC, MA, EMA, RSI, MACD, BB
VERSION 8.01
Classification
LSTM binary classifier → sigmoid 0-1
PredictsUp/Down direction
Input Features5 core features
Lookback24 periods
Alpaca AccountAccount 2
IndicatorsClose, EMA3/6, RSI, MACD
7-Model Ensemble Voting
P1
Default
LSTM
P2
Deep
LSTM
P3
Shallow
LSTM
P4
Dropout
LSTM
P5
Simple
RNN
P6
Gated
GRU
P7
Conv
ConvLSTM
Super Portfolio
Majority Vote
Buy votes vs Sell votes
Prediction Pipeline
Market Data
yfinance intraday 5-min bars + daily history
Feature Eng
MA, EMA, RSI, MACD, Bollinger Bands
LSTM Predict
24-period lookback, scaled inputs
News Sentiment
Gemini API analyzes Google News RSS
Filters
RSI, confidence, consecutive confirms
Execute
Alpaca API paper trade
Trading Filters & Thresholds
60%
Min Confidence
Predictions below threshold are skipped
2x
Confirmations
Consecutive same-direction predictions required
70/30
RSI Bounds
Overbought skip buy / Oversold skip sell
15m
Buffer Zones
No trades in first/last 15 min of session
Dynamic Position Sizing by Confidence
75%
60-69% conf
100%
70-79% conf
125%
80-89% conf
150%
90%+ conf
News Sentiment Adjustment (Gemini 2.0 Flash)
-15%
Very Negative
-8%
Negative
0%
Neutral
+8%
Positive
+15%
Very Positive
Dashboard & Admin Features
Real-Time DashboardLive predictions, positions, P&L, intraday sparkline
Strategy ComparisonSide-by-side regression vs classification performance
Admin PanelPause/resume, sell all, change frequency, adjust config
Accuracy TrackingPer-prediction scoring, streaks, daily/cumulative stats
EOD Auto-FlattenCloses all positions 15 min before market close
Configurable ModesAggressive, prediction-only, short-selling toggles
Tech Stack
Flask
TensorFlow/Keras
Firebase Firestore
Alpaca Markets API
Gemini 2.0 Flash
SQLite
Chart.js
yfinance
Nginx Proxy
scikit-learn