Real-time market intelligence terminal โ A professional, information-dense dashboard for monitoring live market data.
โ ๏ธ This is NOT a trading platform. RealMarketLive is purely an informational tool for market monitoring. No buy/sell execution, no portfolio management, no broker integrations.
RealMarketLive is a terminal-style market intelligence dashboard built with Next.js 14, designed for traders, analysts, and market enthusiasts who need real-time data visualization without trading execution capabilities.
โ Real-time Market Data
- Live WebSocket price feeds
- Multi-timeframe candlestick charts
- Tick-by-tick transaction stream
โ Market Intelligence
- Automated signal generation (informational only)
- Volatility and spread analysis
- Session high/low tracking
- VWAP calculations
โ Professional Interface
- Terminal/cyberpunk aesthetic
- Bloomberg Terminal-style density
- 4-panel layout (no scrolling)
- Keyboard shortcuts for power users
- Neon color scheme (green/red/yellow)
โ System Monitoring
- WebSocket connection status
- Real-time latency tracking
- API health indicator
- Comprehensive system logs
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HEADER โ
โ Title | WS Status | Latency | Server Time | API Health โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโค
โ โ โ โ
โ Symbol โ Live Chart โ Tick Stream โ
โ Matrix โ (Candlesticks) โ (Terminal Feed) โ
โ โ โ โ
โ โ - M1, M5, M15, H1, โ [HH:MM:SS] SYM โ โ
โ โ H4, D1 timeframes โ [HH:MM:SS] SYM โ โ
โ โ - OHLC data โ (Auto-scroll) โ
โ โ - Volume bars โ โ
โ โ - VWAP overlay โ โ
โ โ - Session range โ โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโค
โ BOTTOM PANEL (Tabbed) โ
โ โ Signals | โช Logs | โ Stats โ
โ โ
โ โข Signal Direction (BUY/SELL/NEUTRAL) โ
โ โข Confidence Scores โ
โ โข System Logs (WS, reconnect, health) โ
โ โข Market Stats (spread, volatility, tick rate) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Frontend: Next.js 14 (App Router) + React 19
- Language: TypeScript
- Styling: TailwindCSS
- State Management: Zustand
- Real-time: WebSocket (native)
- Charts: Canvas (custom implementation)
- Fonts: JetBrains Mono
- Node.js 18+
- npm or yarn
- Clone or extract the project
cd realmarketlive- Install dependencies
npm install- Configure API credentials
Copy .env.example to .env.local and add your API key:
cp .env.example .env.localThen edit .env.local:
NEXT_PUBLIC_API_KEY=your-realmarketapi-key-here
NEXT_PUBLIC_API_URL=https://api.realmarketapi.com
NEXT_PUBLIC_WS_URL=wss://api.realmarketapi.comDevelopment Mode:
npm run devOpen http://localhost:3000 in your browser.
Production Build:
npm run build
npm startLinting:
npm run lint| Key | Action |
|---|---|
| 1-6 | Switch timeframe (M1, M5, M15, H1, H4, D1) |
| S | Cycle to next symbol |
| L | Jump to Logs tab |
| T | Jump to Stats tab |
| G | Jump to Signals tab |
- Left Panel: Click symbol to focus on it; heat glow indicates recent price movement
- Center Panel: Candlestick chart with overlays (VWAP, session high/low)
- Right Panel: Auto-scrolling tick feed with real-time updates
- Bottom Panel: Three tabbed sections (Signals, Logs, Stats)
Header Row
- Title with live indicator
- WebSocket status (โ LIVE / โ DISCONNECTED)
- Network latency in milliseconds
- UTC server time
- API health status (โ = ok, โ = degraded, โ = error)
Signal Panel
- Current symbol signal (BUY/SELL/NEUTRAL with confidence %)
- All active signals across symbols
- Reasoning for each signal
- Note: Signals are informationalโnot trading recommendations
System Logs
- WebSocket connection events
- Reconnection attempts
- API health checks
- Error messages
- Clear button to reset history
Market Stats
- Spread tracker
- Average volatility
- Momentum (5-period)
- Volatility spikes count
- Session high/low
- Tick rate (ticks/second)
- Top volatility symbols
Price Feed (/price)
{
"SymbolCode": "XAUUSD",
"OpenPrice": 5168.43,
"ClosePrice": 5174.00,
"HighPrice": 5176.85,
"LowPrice": 5165.20,
"Bid": 5173.75,
"Ask": 5174.25,
"Volume": 1249.33,
"OpenTime": "2026-03-11T09:20:00Z"
}Candles Feed (/candles)
[
{
"SymbolCode": "XAUUSD",
"OpenPrice": 5174.00,
"ClosePrice": 5176.00,
"HighPrice": 5178.50,
"LowPrice": 5173.20,
"Volume": 1312.10,
"OpenTime": "2026-03-11T09:21:00Z"
},
// ... up to 100 candles (newest first)
]Symbol List (GET /api/v1/symbol)
{
"Symbols": ["XAUUSD", "EURUSD", "GBPUSD", "BTCUSD", "ETHUSD", ...]
}Health Check (GET /api/v1/health)
{
"status": "ok",
"timestamp": "2026-03-08T09:25:00Z"
}- โ Auto-reconnect: Exponential backoff (up to 10 attempts)
- โ Heartbeat: 30-second ping to detect stale connections
- โ Data buffering: Prevents UI lag with smart throttling
- โ Latency tracking: Real-time network metrics
Signals are generated based on:
- Candle Patterns: Open/close positioning, body size
- Momentum Analysis: Multi-candle trend confirmation
- Volatility Adjustment: Higher confidence on volatile moves
- Confidence Scoring: 0-100% based on multiple factors
โ ๏ธ DISCLAIMER: Signals are informational tools only. They do NOT constitute financial advice. Always conduct independent research before any decisions.
The app uses four main stores:
- Current symbol & timeframe
- Price data by symbol
- Candle history
- Available symbols
- Tick history (up to 200 ticks)
- WebSocket connection status
- Latency metrics
- Server time
- API health status
- System logs (up to 100)
- Tick frequency calculation
- Current signals by symbol
- Signal history (up to 50)
- Signal confidence & direction
- Active bottom panel tab
- Heat intensity effects (for flash glow)
- Keyboard shortcuts enabled flag
Terminal Aesthetic
- Dark background (#0a0a0a)
- Green text for positive direction (#00ff00)
- Red text for negative direction (#ff0000)
- Yellow for neutral/system messages (#ffff00)
- Monospace font (JetBrains Mono)
Information Density
- Four-panel layout optimized for 1920x1080 (responsive to smaller screens)
- No unnecessary padding or whitespace
- Quick-scan formatting
- Keyboard-first interaction
Performance
- Canvas rendering for charts (lightweight)
- Optimized re-renders with React 19
- Debounced WebSocket updates
- Efficient Zustand store subscriptions
Designed for easy expansion:
- ๐ฐ News Feed: Macro events, market news aggregation
- ๐ Correlation Matrix: Symbol relationships (XAUUSD vs BTCUSD vs DXY)
- ๐ Technical Indicators: RSI, MACD, Bollinger Bands (read-only)
- ๐ Alerts: Price levels, volatility spikes, anomalies
- ๐ค AI Insights: Trend summaries, anomaly detection
- ๐งช Strategy Tester: Visual backtesting (no execution)
- ๐ Multi-Market: Add support for stocks, crypto, forex, commodities
- ๐ Portfolio Tracking: Multi-symbol performance comparison
realmarketlive/
โโโ src/
โ โโโ app/
โ โ โโโ layout.tsx # Root layout
โ โ โโโ page.tsx # Home page
โ โ โโโ globals.css # Global styles
โ โ
โ โโโ components/
โ โ โโโ Header.tsx
โ โ โโโ SymbolMatrix.tsx
โ โ โโโ LiveChart.tsx
โ โ โโโ TickStream.tsx
โ โ โโโ SignalPanel.tsx
โ โ โโโ SystemLogPanel.tsx
โ โ โโโ MarketStatsPanel.tsx
โ โ โโโ BottomPanel.tsx
โ โ โโโ TerminalLayout.tsx
โ โ
โ โโโ store/
โ โ โโโ market.ts # Market data store
โ โ โโโ connection.ts # Connection status store
โ โ โโโ signals.ts # Signals store
โ โ โโโ ui.ts # UI state store
โ โ
โ โโโ lib/
โ โ โโโ api.ts # API utilities & endpoints
โ โ โโโ signals.ts # Signal detection logic
โ โ
โ โโโ hooks/
โ โโโ useWebSocket.ts # WebSocket connection hook
โ โโโ useInitializeMarket.ts # Market initialization
โ
โโโ public/ # Static assets
โโโ .env.example # Environment template
โโโ .gitignore
โโโ .eslintrc.json
โโโ next.config.js
โโโ tailwind.config.ts
โโโ tsconfig.json
โโโ package.json
โโโ README.md
Disclaimers
- This product is NOT a trading platform and does not support order execution
- Signals and analytics are informational only and not financial advice
- Always conduct independent research before making financial decisions
- Market data is provided as-is; verify accuracy before reliance
- The developer assumes no liability for market losses or data inaccuracies
This is a foundation project. Feel free to extend it:
- Add new indicators
- Integrate additional data sources
- Enhance charting capabilities
- Improve signal algorithms
- Add localization support
This project is provided as-is for educational and professional use.
Status: Active Development | Last Updated: April 2026 | Version: 0.1.0