Is Market Cap and/or Float available via the API? I don’t see either but thought maybe I’m missing it. Shouldn’t MarketCap at least be very easy to obtain?
I just use yfinance for current price and info on tickers.
@jschaenzle Alpaca currently doesn’t provide market cap or float information through the APIs. There are other 3rd party data providers such as Intrinio and Xignite which have this information but it’s usually not free. Since these values don’t change very often, one approach could be to screen-scrape the results from Yahoo or similar and then just store in a file, or hardcode, them into your algo. I do something similar to check for leveraged ETFs.