diff --git a/app/api/v1/endpoints/alpaca.py b/app/api/v1/endpoints/alpaca.py index 50374ac..88aa4b5 100644 --- a/app/api/v1/endpoints/alpaca.py +++ b/app/api/v1/endpoints/alpaca.py @@ -333,13 +333,13 @@ async def get_snapshot(ticker: str): ), ) async def get_snapshots( - tickers: str = Query(..., description="Comma-separated ticker symbols, e.g. AAPL,MSFT,NVDA"), + tickers: str = Query(..., description="Comma-separated ticker symbols, e.g. AAPL,MSFT,NVDA (max 1000)"), ): symbols = [s.strip().upper() for s in tickers.split(",") if s.strip()] if not symbols: raise HTTPException(status_code=400, detail="No tickers provided.") - if len(symbols) > 100: - raise HTTPException(status_code=400, detail="Maximum 100 tickers per request.") + if len(symbols) > 1000: + raise HTTPException(status_code=400, detail="Maximum 1000 tickers per request.") client = AlpacaClient() if not client.is_configured():