From 846280c3f683d26a004adcea97d16c8730870516 Mon Sep 17 00:00:00 2001 From: I Luk Kim Date: Sun, 12 Apr 2026 22:42:38 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20alpaca=20snapshot=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=20=ED=8B=B0=EC=BB=A4=20=EC=A0=9C=ED=95=9C=20100=20=E2=86=92=20?= =?UTF-8?q?1000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- app/api/v1/endpoints/alpaca.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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():