I like Tradier. If you want “big boy” data, databento has it all. You can find industry classifications online for free, somebody has a github that they update nightly with all traded US stocks and their fundamental. Answer from thicc_dads_club on reddit.com
🌐
Reddit
reddit.com › r/algotrading › public launches trading api
r/algotrading on Reddit: Public launches trading API
June 26, 2025 -

Just got access to this yesterday and it’s pretty good! Esp if you throw into cursor and just start vibe coding some strategies that were too laborious before.

https://public.com/api

🌐
Reddit
reddit.com › r/algotrading › choosing an api. what's your go to?
Choosing an API. What's your go to? : r/algotrading
March 12, 2025 - Polygon.io provides the last 10 years with 5-second data. They also have much less strict rate limits on api calls. I think it took me 48 hours to get 2 years of 5-second data on IBKR for the 35 most highly traded stocks.
🌐
Reddit
reddit.com › r/algotrading › what api's are you guys using for stock data?
r/algotrading on Reddit: what api's are you guys using for stock data?
January 30, 2025 -

I'm looking for APIs that provide real-time stock data including volume and detailed metrics. I also need access to fundamental reports for companies (like earnings, balance sheets, etc.).Additionally, it would be great if the API offers the ability to categorize companies based on their industry. Yeah real time stock data doesnt comes without paying i'm ready to buy the paid api's too

🌐
Reddit
reddit.com › r/algotrading › is there a fast, developer-friendly api for trading stocks and options data?
r/algotrading on Reddit: Is there a fast, developer-friendly API for trading stocks and options data?
August 2, 2025 -

I’m building a personal algo strategy and looking for a solid api for trading stocks that can also provide real-time options data. A lot of the big players either price aggressively or throttle way too quickly during backtests. Ideally I’m looking for something with a fast response time, decent documentation, and support for market events like earnings or splits. What are you all using for this kind of setup?

🌐
Reddit
reddit.com › r/algotrading › actually good apis?
r/algotrading on Reddit: Actually good APIs?
April 13, 2023 -

I'm trying to find a decent API for trading, it has to have streaming real time updates and market data, and then an HTTP end-point for order handling/account operations.

I've looked at Alpaca, but they never got back to me when I tried to open an account. I've looked at TD Ameritrade, but their API is disabled until they finish their Schwab integration. Interactive Brokers is one, but I can't say I like the idea of having to run their gateway in Java, I mean I'd do it if there is nothing else, but there has to be something else that isn't garbage.

Any suggestions?

🌐
Reddit
reddit.com › r/algotrading › what trading platforms offer options trading and have a decent api?
r/algotrading on Reddit: What trading platforms offer options trading and have a decent api?
June 1, 2024 -

I currently have a working algo but I have to submit the trades manually. Is there a recommended service that lets me trade options? I've played around a bit with alpaca but I want to see what my options are.

🌐
Reddit
reddit.com › r/algotrading › what python trading platform/api?
r/algotrading on Reddit: What Python Trading Platform/API?
January 19, 2025 -

Looking for opinions and suggestions on the best trading platforms and APIs with Python support. I have a Python trading strategy ready to deploy, but not sure which platform to deploy to.

Anyone have any experiences or recommendations? Anything would be very helpful and appreciated!

I’ve heard a lot of Alpaca or Interactive Brokers. Curious to see the sentiment regarding these two. Anyone have any suggestions or insights?

Top answer
1 of 17
54
It would be good to get some more information about where exactly you are with deployment. With the space as it currently stands, this process typically involves quite a number of hurdles. Let’s split the services in the algo trading space up into a few categories: - Brokers (e.g. Alpaca & IB) - Raw Tick Data Providers (e.g. Polygon & Databento) - Python Libraries (e.g. BackTrader & vectorbt) - Automation Platforms (e.g. QuantConnect & TradeStation) Given that you have a Python strategy, you would likely need programmatic access to data and trade execution, as well as some place to actually run your strategy if you require uptime. Also, as is the case with most strategies, you may also want to make improvements over time. Can you execute trades on Brokers? Yes, that’s what they’re for. If you’re happy with receiving aggregated data, being subject to PFOF and preferential treatment of orders, with limited types of orders you can create, then Alpaca is great. Now, if your strategy is institutional-grade, you would need a Broker like IB that provides raw tick data and DMA. However, they are very difficult to integrate with so you would need to be highly proficient in coding. Can you run your strategy on Brokers? No, you would need your own locally running system or a VPS. This means you would need to be in charge of handling uptime. Want to trade multiple asset classes? Unfortunately, IB only provides data for traditional assets. If your strategy involves digital assets, you could use a raw tick Data Provider like Polygon. However, they don't allow you to execute trades (only receive data), so that part is still left up to you to somehow handle. Want to make improvements? Adding functionality like the ability to backtest, forward test, or optimise using ML, requires further tooling integrations that would only add to the complexity of your stack. There are Python Libraries that help with this, such as vectorbt, where you don’t have to handle API connections (to data providers) or testing integrations. However, they still require to signup to all the venues you wish to trade on (providing KYC where required along with wait times). They also don't provide cloud resourcing for you to be able to run your strategy without downtime, and these also generally come with a steep learning curve. Is there a unified solution? Currently, the closest platform to offering a unified solution is QuantConnect. Through them, you’ll receive raw tick data, be able to execute trades, run your strategy on their cloud infrastructure, and make improvements using their integrated tooling. However, where QuantConnect falls short is having to connect your own brokers, only being able to execute trades on a single venue as part of a strategy, and being limited to 100% automation (cannot make any manual decisions). Final thoughts? Depending on what you’re after, your proficiency with coding, and the time you have available, there are some options available to you. We aren’t a fan of the space as it is currently, and having run into these issues (plus many others), we decided to address them with Axiom–a truly unified solution.
2 of 17
6
IBKR. Some find their API confusing, the ib_async library makes it easier. Schwab, using the schwab-py library.
🌐
Reddit
reddit.com › r/algotrading › what is the best free stock trading api?
r/algotrading on Reddit: What Is The Best Free Stock Trading API?
May 26, 2018 -

I know there are many different options as to which trading API to go with, but what are the pros and cons of each? I'm looking for a free API or close to free API which has minimal delay and can execute orders fast. What are my options, and which API is the best in terms of a performance over cost ratio?

Top answer
1 of 19
99
  1. [FREE] Alpaca Markets - haven't tried it yet, but it's free, REST API, looks cool, has only stocks, haven't seen options or futures

  2. [FREE] RobinHood - you can find implementation of intercepted RobinHood API on GitHub, it's also free, REST API, but RH can ban you for using it, because they can barely handle load from manual traders, you can trade options for free

  3. IEX Exchange - it was free for non-profit organizations, brokers, and other exchanges, now it's available to retail traders for something like $5-$10 a month, only stocks, maybe currencies, no options or futures

  4. Interactive Brokers - so-o-o-o-o-o sl-o-o-o-o-w, it's ok to use it if you want to trade stocks, but getting options chain for only one single week takes minimum 30 seconds after all code optimizations, initial implementation took something around 5 minutes, if you have an account in IB, you only need to buy subscriptions to specific market data, aPI is free and kind of open-source, available on GitHub if you send them a request to add you to GitHub repository

  5. TD Ameritrade - works much much faster than IB, like milliseconds compared to minutes, has REST API for all kind of securities, but people say their API is still in beta mode, and Schwab is going to buy TDA soon, so some features, like API may be abandoned

  6. LightSpeed - they seem to have C++ and C# API, but it's attached to their platform, so you have to pay $300-$500 a month only to get their platform first

  7. [FREE] Meta Trader 5 - US stocks can be traded through Just 2 Trade - Finam, futures can be traded through AMP Futures, no options, API is free, but you have to create your own bridge between your program and MT5

  8. Quant Connect - stocks, options, and currencies, C# and Python API libraries, free for testing on historical data and $20 for real-time trading through IB gateway.

  9. IQ feed - perhaps the fastest way to get market data for options, but you still need a broker to send actual orders to buy or sell, costs around $50 a month

2 of 19
11

Checkout https://mboum.com/api/documentation - it offers stocks, options, insider trading, more

Find elsewhere
🌐
Reddit
reddit.com › r/algotrading › how do i get started trading with api's?
r/algotrading on Reddit: How do I get started trading with API's?
April 21, 2016 -

I'm a recently graduated engineer, I want to get started on my own trading algorithms but I don't know where to start.

I know a small amount of programming from college, and I've been reading Oracle's Really Big Index for two weeks now - https://docs.oracle.com/javase/tutorial/reallybigindex.html - to learn an OOP.

I am trying to use Etrade's API, and I'm still trying to figure out what a RESTful architecture is.

What's the best and fastest way to start messing around in the sandbox?

🌐
Reddit
reddit.com › r/investing › recommend: trading platforms that you can run scripts and return live data (via api)
r/investing on Reddit: Recommend: Trading Platforms that you can run scripts and return live data (via API)
March 9, 2024 -

Hi 👋

Whilst I have a keen interest in stocks and markets, I’m not a day trader. Over the years my crux has been time. I can’t physically sit there and watch the markets for a buy/sell signal.

Instead, I’ve done a significant amount of historical analysis and would like to expand this with scripts that execute custom buy/sell trade.

Seeking recommendations for trading platforms that have development environments.

Either scripts that can be built in the platform to execute when buy/sell indicators emerge.

Or trading platforms that execute scripts from an external source when buy/sell indicators emerge.

Lastly, seeking up to the second live API requests that can feed into dev environments.

Give me your recommendations!

🌐
Reddit
reddit.com › r/algotrading › is there any trading api that isn't complete shit?
Is there any trading API that isn't complete shit? : r/algotrading
December 4, 2020 - TradersPost connects with Alpaca, TradeStation and TDAmeritrade. They are all very stable and work well imo. The description of your experience does not match mine. ... Rest API is crap in public Beta testing, unreliable and faulty.
🌐
Reddit
reddit.com › r/algotrading › best all around api for stocks algo trading
r/algotrading on Reddit: Best all around API for stocks algo trading
June 30, 2021 -

Hi all,

I am just getting started in the stock algo trading world and wanted to quickly ask what is the most preferred API for algo trading as per the community? I want to make sure I spend my next couple of weeks with an API that is already established and widely used by this subreddit.

From Googling and reading articles online - I heard about alpaca, polygon, and TD Ameritrade APIs so far so would love to get people's thoughts on those and any other ones I am potentially missing.

Here are some of the things I would want from it:

  • Historical tick data

  • Live tick data

  • Being able to do paper trading with historical & live tick data

  • [Optional] Built-in signals such as EMA, SMA, RSI, etc.

For reference: my first simple project will just be following a SMA for a stock using historical data to see when to buy and see it. So I am looking for an API that can help me do all that.

Thanks for all the help!

🌐
Reddit
reddit.com › r/algotrading › anyone here actually beating the market using public apis?
r/algotrading on Reddit: Anyone here actually beating the market using public APIs?
June 14, 2025 -

Hey everyone,

I’ve been playing around with algorithmic trading using public data sources and wanted to see if there’s anyone here who’s genuinely managing to beat the market consistently.

I built a scalping bot for 0DTE options using public APIs. The logic is pretty simple:

  • It uses exponential moving averages for trend detection

  • Applies RSI and Bollinger Bands filters for entry/exit

  • "After open" and "before close" time filters

  • Everything is fully parametric — all thresholds, periods, etc., are configurable

  • Backtested using backtesting.py

After optimizing parameters through backtests, I’ve found combinations that are profitable, but still underperform the market (e.g., S&P 500) over time.

So here’s the question:
Is anyone here actually beating the market using bots built off public data and APIs?
If so, what kind of edge are you leveraging? Timing? Alternative data? Smarter filters?

Curious to hear what’s working (or not) for others.

Top answer
1 of 17
68
Is anyone here actually beating the market using bots built off public data and APIs? Yes, there are people here beating the market. I can think of 4-5 usernames off the top of my head where I'm confident they are legit. I have two strategies, one of which is up about 8% YTD which means I'm beating the SP500 so far. I'm only using my broker's market data feed and some other public APIs like FRED. It can be done. Instead of asking what others are doing, let's look at what you're doing: EMAs, RSI, Bollingers. Basically just using standard broker-provided Technical Analysis indicators. Every retail broker provides these, and most day traders fail, right? Therefore the question to ask is why you think there's any profit in looking at the same indicators everyone else is looking at? Paraphrasing an old comment of mine, there are three broad areas where I think profits are to be found: Extracting risk premiums, for example but not exclusively by selling options (see r/thetagang for inspiration). American options markets are generally very efficient so to be consistently profitable you need to have better risk management than the average bear. Profiting from persistent market phenomena like mean reversion and momentum. These are key characteristics of real markets that differentiate them from idealized academic models you'll see often in literature. To be profitable you have to understand when and where these phenomena manifest, what they look like when they do, and how to profit from them. Mean reversion begat Statistical Arbitrage ("stat arb") and was wildly profitable for a select few firms back in the 80s and 90s but that play is much more competitive now. "True alpha" in the sense of mispriced products/inefficiencies in low-liquidity markets or in hard-to-price assets. This is, IME, the most rare and most difficult to find but probably the most profitable. For example not that long ago there was a pretty good arbitrage-ish trade involving a thinly-traded ETF and a handful of its constituents. To profit here you need deep, expert understanding of the products you're trading. Try this: When QQQ drops 1% from its most recent peak, take 10% of cash and go long TQQQ. When QQQ recovers, sell TQQQ for a profit. If QQQ drops a further 1%, go long TQQQ with another 10% of cash. Then, think about which type of strategy this is from the list above (1, 2, or 3), then look at the ways this can go wrong (QQQ drops and keeps dropping until TQQQ gets dissolved like happened to some LETFs in the past) and then try to think of ways to mitigate this risk.
2 of 17
44
Don’t combine EMA’s and RSI with Bollinger Bands. Bollinger Bands were made to go with SMAs or WMAs. EMA/RSI are both infinite series (practically the same formula actually) and Bollinger Bands are based on standard deviation, which is a finite period formula (like SMA). When you put them together the data they produce is artifact filled nonsense. Generally they’re near where they’re supposed to be, but wouldn’t you rather have a formula that calculated correctly all the time? It’s amazing to me that more people don’t know this. It’s like nobody even looks at the math before using something that they’re risking their money on… If you want something to pair with EMA’s as an envelope, go with Keltner Channels. They’re based on ATR, which is also an infinite series.
🌐
Reddit
reddit.com › r/algotrading › what (preferably free) api's are preferred for 'real-time' stock data?
r/algotrading on Reddit: What (preferably free) API's are preferred for 'real-time' stock data?
October 6, 2025 -

Yes, I know it's been asked 17 million times. The problem is, there are 58 million answers and the vast majority of them are sarcastic, rhetorical, or a simple "try this platform" without explanation of why.

I'm mostly just wanting an API that integrates well with Python that provides as real-time information as possible for a single stock symbol at a time. I believe my current usage is somewhere around 100 call/min IF I happen to be holding a stock. My calls per day is significantly lighter. I would prefer a free version, but I wouldn't mind paying a little bit if it was significantly more consistent and up to date.

Here are some that I have tried and problems I've had with them:
- yFinance seems to be delayed a little bit, but there's another weird thing going on. I've run 2 functionally identical programs side-by-side and one of them will start pulling the new price a good 20+ seconds before the other one, which is kinda a lot!
-Alpaca (free) seems to update slower than yFinance, which is odd given what I've been able to find with a google search. It also held the 'current price' at the Open of the minute that a particular stock was halted and not the Last (or Close) price when the halt was initiated. It also didn't update until 30s after trading was resumed.

Again, I'm not particularly opposed to paying a bit for 'live' data IF that data is truly "real-time" (meaning within the last couple seconds) (Alpaca does not) and returns the properly updated value with each API call (yFinance does not).

yFinance price changes are underlined in red. Both programs were running on the same machine in parallel and made a new API call every time it wrote to the logs. Timestamps are in Central time.
🌐
Reddit
reddit.com › r/tradingview › alternative platform that has a public api?
r/TradingView on Reddit: Alternative platform that has a public API?
August 21, 2024 -

TradingView doesn't offer a public API that allows for automating things like plotting things on various charts. Is that correct? If so, are there any alternatives to TradingView that do allow this? Essentially, I'm looking to automate the following:

  1. Automatically adding/removing to the watchlist.

  2. Setting certain things, such as horizontal lines (with a label)

  3. Setting, updating, and removing alerts.

Any pointers hers would be greatly appreciated. I'm not sure if things like this are frowned upon or something in the trading community, but having these capabilities would definitely save me a lot of time.

Thanks in advance!