alpacahq / Alpaca-API

The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
https://alpaca.markets/
141 stars 13 forks source link

Historical Bars Endpoint Different Underlying Entities Under the Same Ticker #249

Open superichmann opened 2 months ago

superichmann commented 2 months ago

Describe the bug On some tickers (i.e. IBTA, PWUP), the data consists of several underlying entities instead of one.

To Reproduce Steps to reproduce the behavior: https://data.alpaca.markets/v2/stocks/bars?symbols=IBTA&timeframe=1D&start=2016-01-03T00%3A00%3A00Z&end=2024-05-05T00%3A00%3A00Z&adjustment=split&feed=sip&sort=desc

Expected behavior Only data for the company Ibotta (recent ipo) should be returned. related ETF data should be returned with a different ticker or with asof specification.

Screenshots image

I can provide more tickers if needed..