UNPKG

vibe-stocks

Version:

Terminal-based stock market viewer with real-time data streaming

40 lines (35 loc) 1.06 kB
// Configuration for vibe-stocks // This uses public endpoints that don't require API keys module.exports = { // Public MCP server endpoints (no API key required) MCP_SERVER_URL: 'https://mcp-server-tenzetta.replit.app', MCP_WS_URL: 'wss://mcp-server-tenzetta.replit.app/ws', // Public data endpoints endpoints: { quote: (symbol) => `/mcp/quote/${symbol}`, profile: (symbol) => `/mcp/profile/${symbol}`, historical: (symbol) => `/mcp/historical-price-full/${symbol}`, news: (symbol) => `/mcp/stock-news/${symbol}`, intraday: (symbol, interval) => `/mcp/fmp/intraday/${symbol}?interval=${interval}`, }, // Default settings defaults: { symbols: ['AAPL', 'MSFT', 'GOOGL', 'AMZN', 'TSLA'], updateInterval: 5000, chartHeight: 15, chartWidth: 80, newsLimit: 10, }, // Rate limiting rateLimit: { requestsPerMinute: 60, batchSize: 10, batchDelay: 100, }, // Display settings display: { compactMode: false, showColors: true, timezone: 'America/New_York', } };