Package Exports
- hedgequantx
- hedgequantx/src/app.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hedgequantx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
HedgeQuantX CLI
Prop Futures Algo Trading CLI
Connect to 38+ prop firms and automate your futures trading with AI supervision
Website | Installation | Features | AI Integration | Algo Trading | Discord
Features
| Feature | Description |
|---|---|
| Multi-Platform | ProjectX, Rithmic & Tradovate APIs |
| 38+ Prop Firms | TopStep, Apex, Bulenox, and more |
| Multi-Account | Connect multiple accounts simultaneously |
| Real-Time Stats | Balance, P&L, positions, orders |
| Algo Trading | One Account & Copy Trading modes |
| AI Supervision | Claude, GPT, Gemini, and 15+ providers |
| Claude Pro/Max OAuth | Login with your Claude subscription |
| Market Hours | Auto-blocks when market closed |
| Local Execution | Direct API trading, no server needed |
| Secure Storage | AES-256-GCM encrypted sessions |
| Auto-Update | Built-in version checker |
Installation
NPM (Recommended)
npm i -g hedgequantxUpdate
npm update -g hedgequantxFrom Source
git clone https://github.com/HedgeQuantX/HQX-CLI.git
cd HQX-CLI
npm install
npm linkUsage
# Launch CLI
hqx
# Or full command
hedgequantx
# Show version
hqx --versionDashboard Preview
AI Integration
HedgeQuantX integrates with leading AI providers for intelligent trading supervision.
Supported AI Providers
| Provider | Authentication | Models |
|---|---|---|
| Anthropic Claude | OAuth (Pro/Max) or API Key | Claude 4, Sonnet, Haiku, Opus |
| OpenAI | API Key | GPT-4o, GPT-4, GPT-3.5 |
| Google Gemini | API Key | Gemini Pro, Gemini Flash |
| OpenRouter | API Key | 100+ models (unified API) |
| DeepSeek | API Key | DeepSeek Chat, Coder |
| Groq | API Key | Llama, Mixtral (fast inference) |
| xAI | API Key | Grok |
| Mistral | API Key | Mistral Large, Medium, Small |
| Perplexity | API Key | Sonar models |
| Together AI | API Key | Open source models |
| Ollama | Local | Any local model |
| LM Studio | Local | Any local model |
Claude Pro/Max OAuth Login
If you have a Claude Pro or Max subscription, you can login directly without an API key:
1. AI Agent Menu -> [+] Add Agent
2. Select DIRECT PROVIDERS -> CLAUDE (ANTHROPIC)
3. Choose "CLAUDE PRO/MAX (OAUTH)"
4. Browser opens -> Login to claude.ai
5. Copy the authorization code
6. Paste in terminal -> Connected!Benefits:
- No API key needed
- Use your existing subscription
- Unlimited usage with your plan
- Tokens auto-refresh
AI Features
- Trading Analysis: Real-time position and risk analysis
- Multi-Agent Support: Connect multiple AI providers simultaneously
- Auto Token Scanner: Detects existing AI sessions from VS Code, Cursor, Claude CLI
- Token Auto-Refresh: OAuth tokens refresh automatically when expired
Algo Trading
One Account Mode
Trade on a single account with HQX algo strategy.
Copy Trading Mode
Mirror trades from Lead to Follower accounts with real execution.
Features:
- Real order execution via API
- Position synchronization
- Multi-account support
- Configurable lot multiplier
Supported Prop Firms
| ProjectX (19) | Rithmic (16) | Tradovate (3) |
|---|---|---|
| TopStep | Apex Trader Funding | Apex |
| TickTickTrader | TopstepTrader | TakeProfitTrader |
| TradeDay | MES Capital | MyFundedFutures |
| Goat Futures | Bulenox | |
| Alpha Futures | TradeFundrr | |
| Bulenox | TheTradingPit | |
| Blusky | FundedFuturesNetwork | |
| The Futures Desk | PropShopTrader | |
| DayTraders | 4PropTrader | |
| E8 Futures | DayTraders.com | |
| Blue Guardian Futures | 10XFutures | |
| FuturesElite | LucidTrading | |
| FXIFY | ThriveTrading | |
| Hola Prime | LegendsTrading | |
| Top One Futures | Earn2Trade | |
| Funding Futures | Tradesea | |
| TX3 Funding | ||
| Lucid Trading | ||
| Tradeify |
Security
| Feature | Implementation |
|---|---|
| Encryption | AES-256-GCM |
| Key Binding | Machine-bound keys |
| Input | Validated & sanitized |
| Rate Limiting | API protection |
| File Permissions | 0600 (owner only) |
| Credentials | Never stored in plain text |
| OAuth Tokens | Secure PKCE flow |
Changelog
v2.5.x (Current)
- AI Integration: Multi-provider AI supervision
- Claude OAuth: Login with Pro/Max subscription (no API key needed)
- Token Scanner: Auto-detect AI sessions from VS Code, Cursor, Claude CLI
- Real API Models: Fetch models from provider APIs (no hardcoded lists)
- Copy Trading: Real order execution via API
- Multi-Agent: Connect multiple AI providers simultaneously
- Auto Token Refresh: OAuth tokens refresh automatically
v1.8.x
- Separate UI for One Account and Copy Trading
- Market hours validation
- Arrow keys navigation
- Contracts from API
- Native readline input
- Seamless UI design
- 40 visible activity logs
v1.7.x
- HQX algo strategy
- Copy Trading single symbol
- Spinner indicators
- Cyan color theme
v1.3.x
- Major refactoring
- Robust update function
- Modular services
Roadmap
| Done | Done | Coming Soon |
|---|---|---|
| ✅ ProjectX integration | ✅ One Account mode | ⌛ Telegram alerts |
| ✅ Rithmic integration | ✅ Copy Trading mode | ⌛ Multi-symbol trading |
| ✅ 38+ prop firms | ✅ HQX Server | ⌛ Performance analytics |
| ✅ Multi-account | ✅ Market hours check | ⌛ Trade journal export |
| ✅ Trailing SL & BE | ✅ Session summary | ⌛ Web dashboard |
| ✅ Encrypted sessions | ✅ Auto-update | ⌛ Advanced AI strategies |
| ✅ AI Integration | ✅ Claude OAuth | ⌛ Voice commands |
| ✅ Multi-AI Agents | ✅ Token Scanner |
Support
License
MIT License - Open Source
Disclaimer
This software is for educational and informational purposes only. Trading futures involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results.