TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Are there free APIs for Financial trading?

15 点作者 mister_hn超过 4 年前
I'm looking for free APIs for Financial Trading or simply to track Markets (currency exchange, ETFs, Funds, Gold value). Is it something publicly available or are they all bounded to a price?

10 条评论

larrykubin超过 4 年前
Alpaca API lets you trade stocks with a commission free API. They have a REST API and you can also receive data over websockets via their polygon.io integration if you have a brokerage account.<p>Tradier lets you trade stocks and options. Tradier option trading is commission free if you have a subscription, otherwise there is a small commission per trade. They have an API for market data over REST API and websockets.<p>TD Ameritrade has an API and tda-api python package makes it easier to use, but not easy to paper trade with it for testing.<p>You can also use an unofficial Robinhood package like robin_stocks, but Robinhood doesn&#x27;t officially support any of this.<p>Interactive Brokers supports the most instruments, including many currencies, futures, etc, but you will pay a small monthly fee for historical and real time data, plus commissions. I recommend the ib_insync package to make their API easier to use.<p>Self promo: I have a YouTube channel that is focused on this topic:<p><a href="https:&#x2F;&#x2F;youtube.com&#x2F;c&#x2F;parttimelarry" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;c&#x2F;parttimelarry</a>
评论 #25655455 未加载
keyle超过 4 年前
There are plenty of free data feeds, basically any exchange with a free account will offer you a lot of data for free, near real time. Some via REST calls, some via websocket. Some might also offer some daily numbers or hourly numbers going back a few months&#x2F;years. A lot of that said data will be market-maker data, meaning it may diverge in time from the real exchange information.<p>I&#x27;m no expert but if you want REALLY up to date information with many ticks per second, you&#x27;ll have to pay.<p>As for <i>trading</i>, you&#x27;re either paying fees or paying by the <i>spread</i> (difference) between buy&#x2F;sell.<p>There is no free lunch.
nkamoah17超过 4 年前
AlphaVantage has a free tier but there&#x27;s a limit on request per min. <a href="https:&#x2F;&#x2F;www.alphavantage.co&#x2F;documentation&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.alphavantage.co&#x2F;documentation&#x2F;</a>
qppo超过 4 年前
Think or Swim from TD Ameritrade is effectively free (you need an account with money in it, but you aren&#x27;t charged to access it or the API). When&#x2F;if you want to make trades you can as well.
traumivator超过 4 年前
I can recommend <a href="https:&#x2F;&#x2F;twelvedata.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;twelvedata.com&#x2F;</a>
homero超过 4 年前
IEX had a lot of free stuff but I think costs got to them and they charge a little now, you might also be able to use Alpaca
ArtWomb超过 4 年前
<a href="https:&#x2F;&#x2F;alpaca.markets&#x2F;data" rel="nofollow">https:&#x2F;&#x2F;alpaca.markets&#x2F;data</a>
leet_thow超过 4 年前
To get high quality, up to date data, expect to pay. I just moved from Quandl to Tiingo for EOD stock data.
colesantiago超过 4 年前
not to hijack the thread, but does anyone know or recommend an economic calendar REST API feed?
评论 #25655452 未加载
baccredited超过 4 年前
tradier.com API is free if you keep an account there. I do this and it is handy for many things.