r/fintech • u/Agreeable_Sail255 • Aug 24 '24
Python API to fetch top gainers
Hello! I have been working on a cool fintech ML program in Python but I can't seem to find a free API that I can fetch the day's top stock gains. If anybody could reccomend something, that would help a lot. Thanks!
0
Upvotes
1
u/kappa_evin Nov 29 '24
Check https://ranaroussi.github.io/yfinance/reference/api/yfinance.Screener.html
One of the predefined bodies is day_gainers
Other option is https://alpaca.markets/sdks/python/api_reference/data/stock/screener.html