{"id":50311674,"url":"https://github.com/janrockdev/mexc-trader","last_synced_at":"2026-05-28T21:30:28.679Z","repository":{"id":359065420,"uuid":"1244338266","full_name":"janrockdev/mexc-trader","owner":"janrockdev","description":"MEXC Exchange trading UI","archived":false,"fork":false,"pushed_at":"2026-05-20T08:25:42.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-20T11:34:49.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janrockdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-20T07:11:09.000Z","updated_at":"2026-05-20T08:25:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/janrockdev/mexc-trader","commit_stats":null,"previous_names":["janrockdev/mexc-trader"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/janrockdev/mexc-trader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janrockdev%2Fmexc-trader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janrockdev%2Fmexc-trader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janrockdev%2Fmexc-trader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janrockdev%2Fmexc-trader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janrockdev","download_url":"https://codeload.github.com/janrockdev/mexc-trader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janrockdev%2Fmexc-trader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33627934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-28T21:30:27.963Z","updated_at":"2026-05-28T21:30:28.669Z","avatar_url":"https://github.com/janrockdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MEXC Terminal — Bloomberg-Style Trading Dashboard\n\n![Dashboard](dashboard.png)\n\nA full-stack trading dashboard inspired by the Bloomberg Terminal aesthetic, built with:\n\n- **BFF** — Node.js / Express + WebSocket proxy for MEXC exchange data\n- **Frontend** — React + Vite + lightweight-charts (TradingView)\n\n## Architecture\n\n```log\nBrowser ←─WS/REST─→ BFF (Node.js :3001) ←─WS/REST─→ MEXC Exchange\n```\n\nThe BFF maintains a single persistent WebSocket to MEXC and fans out real-time data to all connected browser clients. REST endpoints provide initial data snapshots.\n\n## Quick Start\n\n### 1. Install dependencies\n\n```bash\ncd bff \u0026\u0026 npm install\ncd ../frontend \u0026\u0026 npm install\n```\n\n### 2. Configure the BFF (optional — public data works without keys)\n\n```bash\ncp bff/.env.example bff/.env\n# Edit bff/.env with your MEXC API keys if needed\n```\n\n### 3. Start both services\n\n**Terminal 1 — BFF:**\n\n```bash\ncd bff \u0026\u0026 npm run dev\n```\n\n**Terminal 2 — Frontend:**\n\n```bash\ncd frontend \u0026\u0026 npm run dev\n```\n\nOpen [http://localhost:5173](http://localhost:5173)\n\n## Features\n\n| Feature | Detail |\n| --- | --- |\n| Real-time order book | Level-2 depth with visual bars, bid/ask spread |\n| Candlestick chart | OHLCV with volume histogram, 7 intervals |\n| Live trade feed | Colour-coded buy/sell stream |\n| Ticker tape | Scrolling 24h price changes across top |\n| Watchlist | Live prices + 24h change + volume bars |\n| Trading panel | Demo order form (Market / Limit / Stop) |\n| Bloomberg theme | Black bg, amber text, green/red market colors |\n\n## MEXC WebSocket Channels\n\n| Stream | Channel |\n| --- | --- |\n| Trades | `spot@public.deals.v3.api@{SYMBOL}` |\n| Order book | `spot@public.depth.v3.api@{SYMBOL}@20` |\n| Klines | `spot@public.kline.v3.api@{SYMBOL}@Min1` |\n| Mini-tickers | `spot@public.miniTickers.v3.api@UTC` |\n\n## Notes\n\n- **Demo mode** — the trading panel does not submit real orders\n- No MEXC API keys required for read-only market data\n- The BFF reconnects automatically if MEXC drops the connection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanrockdev%2Fmexc-trader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanrockdev%2Fmexc-trader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanrockdev%2Fmexc-trader/lists"}