8429db504a
- New /stocks route with StockViewer component - New /api/indicators endpoint with SMA, EMA, RSI, MACD - New /api/alpaca/account endpoint - AlpacaAccountInfo component on home page - Indicator calculation utilities - Tests for utilities and components - Vite proxy config for /api
15 lines
245 B
TypeScript
15 lines
245 B
TypeScript
export interface IndicatorData {
|
|
symbol: string;
|
|
indicators: {
|
|
sma: number;
|
|
ema: number;
|
|
rsi: number;
|
|
macd: number;
|
|
};
|
|
}
|
|
|
|
export interface AlpacaAccount {
|
|
cash: number;
|
|
buying_power: number;
|
|
portfolio_value: number;
|
|
} |