# Forex data and FX trading tools

Every card here raises the same question first: whose prices are these, and against whom are you trading them?

*https://stockmarketstack.com/collections/forex-data*

## There is no exchange, so there is no price list — and no single price

Everything about this page follows from one structural fact: spot foreign exchange is an
over-the-counter market. There is no central venue, so there is no exchange fee schedule, no
consolidated tape and no per-device licence. That is why a plan selling US equity quotes for
tens of dollars a month will throw FX in for nothing, and why
[twenty-five of the cards here](https://stockmarketstack.com/categories/market-data-apis) are data APIs that treat currencies
as a rounding error on the bill.

The cost of that is precision. A quote for a pair is a quote from somebody's book, and two
vendors will disagree about the same pair at the same instant by more than the difference is
usually worth arguing about. In equities you can ask what the official close was. In FX the
honest question is: whose close?

## The three kinds of FX price on this page

**Official reference rates.** One number per currency per day, published by an institution, not
dealable. The [ECB Data Portal API](https://stockmarketstack.com/tools/ecb-data-portal) serves the daily euro reference
rates, yield curves and €STR over keyless SDMX across 214 dataflows; [FRED](https://stockmarketstack.com/tools/fred) carries
FX among its macro series behind a free key; [IMF Data](https://stockmarketstack.com/tools/imf-data),
[DBnomics](https://stockmarketstack.com/tools/dbnomics) and [EconDB](https://stockmarketstack.com/tools/econdb) aggregate the same class of series from
statistics offices and central banks. These are the right source for valuation, restatement and
anything a third party has to be able to check.

**Vendor consolidated quotes.** A price built from a vendor's own sources and sold as a feed.
[Twelve Data](https://stockmarketstack.com/tools/twelve-data) covers FX alongside global equities and crypto over REST and
WebSocket, billed in credits per minute; [Tiingo](https://stockmarketstack.com/tools/tiingo),
[Finnhub](https://stockmarketstack.com/tools/finnhub), [EODHD](https://stockmarketstack.com/tools/eodhd), [Alpha Vantage](https://stockmarketstack.com/tools/alpha-vantage) and
[Financial Modeling Prep](https://stockmarketstack.com/tools/financial-modeling-prep) all do a version of the same thing.
This is the layer where "which source" stops being answerable and starts being a vendor
implementation detail.

**Tick history.** [Tick Data](https://stockmarketstack.com/tools/tickdata) sells spot FX by the symbol-year at 160 dollars,
starting 1 May 2008. [Kibot](https://stockmarketstack.com/tools/kibot) and [FirstRate Data](https://stockmarketstack.com/tools/firstrate-data) sell
bought-once archives as zipped CSV. [IQFeed](https://stockmarketstack.com/tools/iqfeed) streams it tick by tick into a local
Windows socket. If a backtest depends on the spread rather than on the mid, this is the layer
that answer lives in.

Picking between the three is not a quality judgement, it is a question about what the number is
for. A reference rate cannot be traded and a vendor quote cannot be cited; asking a single source
to do both jobs is how a revaluation ends up disagreeing with an accountant and a backtest ends
up disagreeing with a broker statement. It is normal to use two of these at once, and it costs
almost nothing to do so, because the free and near-free layer here is unusually good.

## Where the platforms sit

Twelve [charting platforms](https://stockmarketstack.com/categories/charting-screeners) here carry FX, and for most of them
it is an additional instrument list rather than a different product —
[TradingView](https://stockmarketstack.com/tools/tradingview), [Koyfin](https://stockmarketstack.com/tools/koyfin), [Optuma](https://stockmarketstack.com/tools/optuma),
[StockCharts](https://stockmarketstack.com/tools/stockcharts). The ones where FX is structurally central are the execution
platforms: [MultiCharts](https://stockmarketstack.com/tools/multicharts) and [NinjaTrader](https://stockmarketstack.com/tools/ninjatrader) route orders
to a broker and bring no data of their own, which in FX means the broker's prices are the prices
— the same book you are dealing against is the book you are charting.

That is worth saying plainly, because it is the difference between FX and every other asset class
in this catalogue. Elsewhere, the data source and the counterparty are separate companies with
separate incentives. In retail FX they are frequently the same firm.

## The cards here for a different reason

Sixteen [backtesting frameworks](https://stockmarketstack.com/categories/backtesting-frameworks) list FX —
[NautilusTrader](https://stockmarketstack.com/tools/nautilus-trader), [Backtrader](https://stockmarketstack.com/tools/backtrader),
[vectorbt](https://stockmarketstack.com/tools/vectorbt), [QuantConnect](https://stockmarketstack.com/tools/quantconnect) and the rest. They consume
prices rather than supply them, and the choice of source above is what determines whether their
output means anything.

Four [analysis libraries](https://stockmarketstack.com/categories/analysis-libraries) are here and none of them is a data
tool. [arch](https://stockmarketstack.com/tools/arch) fits GARCH and the rest of the volatility-model family, which is the
canonical FX application of that family; [QuantLib](https://stockmarketstack.com/tools/quantlib) builds the curves;
[TA-Lib](https://stockmarketstack.com/tools/ta-lib) and [pandas-ta](https://stockmarketstack.com/tools/pandas-ta) compute indicators on whatever series
you hand them.

Two portfolio trackers appear, for unrelated reasons. [Delta](https://stockmarketstack.com/tools/delta) carries FX as part
of a mixed stock-and-crypto book rather than as a trading instrument;
[TradeLog](https://stockmarketstack.com/tools/tradelog) is here for how FX gains are taxed, which is a question about your
jurisdiction rather than about the data. Six trade journals accept FX fills for
the same reason journals accept anything: it is a record of what you did, not a view on what to
do next. For the free layer under all of this,
[genuinely free financial data](https://stockmarketstack.com/guides/free-financial-data-sources) is the wider map.

## Cards

- [Adaptrade Builder](https://stockmarketstack.com/tools/adaptrade-builder.md) — Windows strategy generator — genetic programming writes the rules, you export the code.
- [Alpha Vantage](https://stockmarketstack.com/tools/alpha-vantage.md) — The API most people's first script talks to — free key, wide coverage, hard rate limits.
- [AmiBroker](https://stockmarketstack.com/tools/amibroker.md) — Windows portfolio backtester scripted in AFL, sold as a perpetual licence.
- [arch](https://stockmarketstack.com/tools/arch.md) — GARCH and the rest of the volatility-model family, plus the tests you need around them.
- [Backtesting.py](https://stockmarketstack.com/tools/backtesting-py.md) — A single-instrument Python backtester — one OHLC series, one strategy, no live trading.
- [Backtrader](https://stockmarketstack.com/tools/backtrader.md) — An event-driven Python backtester with 122 indicators, frozen since April 2023.
- [Barchart.com](https://stockmarketstack.com/tools/barchart-com.md) — Stock, fund and options screeners sold as a $0-$29.95 website membership.
- [Barchart OnDemand](https://stockmarketstack.com/tools/barchart-ondemand.md) — Seventy-odd REST endpoints covering equities, options and physical commodities.
- [Blueshift](https://stockmarketstack.com/tools/blueshift.md) — Free hosted Python backtesting with bundled minute data and broker execution.
- [Build Alpha](https://stockmarketstack.com/tools/build-alpha.md) — Point-and-click strategy generation on Windows, exported as code to eight platforms.
- [Cboe DataShop](https://stockmarketstack.com/tools/cboe-datashop.md) — Per-file OPRA options history from the exchange, priced by dataset, date and symbol.
- [CSI Data](https://stockmarketstack.com/tools/csi-data.md) — End-of-day futures history back to 1922 and eight ways to build a continuous contract.
- [DBnomics](https://stockmarketstack.com/tools/dbnomics.md) — Macro series from 93 statistics offices and central banks behind one open API.
- [Delta](https://stockmarketstack.com/tools/delta.md) — One valuation view over a mixed stock-and-crypto book, owned by a broker.
- [ECB Data Portal API](https://stockmarketstack.com/tools/ecb-data-portal.md) — Euro reference rates, yield curves and €STR over keyless SDMX — with vintages.
- [EconDB](https://stockmarketstack.com/tools/econdb.md) — 5,170 macro series and container-shipping data behind one API and one subscription.
- [Edgewonk](https://stockmarketstack.com/tools/edgewonk.md) — Post-trade analytics and discipline tracking on one annual plan, with no free tier.
- [EODHD](https://stockmarketstack.com/tools/eodhd.md) — End-of-day and fundamentals for 60+ exchanges worldwide, at a hobbyist price.
- [Financial Modeling Prep](https://stockmarketstack.com/tools/financial-modeling-prep.md) — Financial statements, ratios and filings for 70,000+ securities across 60+ exchanges.
- [Finnhub](https://stockmarketstack.com/tools/finnhub.md) — Real-time US quotes and a live trade stream on a free key. OHLC candles are not free.
- [Finviz Elite](https://stockmarketstack.com/tools/finviz-elite.md) — Real-time quotes, advanced filters and CSV export on top of the free Finviz screener.
- [FirstRate Data](https://stockmarketstack.com/tools/firstrate-data.md) — Historical US intraday and tick data as zipped CSV, bought once rather than rented.
- [FRED](https://stockmarketstack.com/tools/fred.md) — The Fed's macro database — 851,100 series, a free key and 120 requests a minute.
- [ib_async](https://stockmarketstack.com/tools/ib-async.md) — The community continuation of ib_insync — same API, new maintainers, TWS still required.
- [IMF Data](https://stockmarketstack.com/tools/imf-data.md) — Free, keyless SDMX access to IMF macro statistics — WEO included, forecasts and all.
- [IQFeed](https://stockmarketstack.com/tools/iqfeed.md) — Tick-by-tick data into a local Windows socket, with exchange fees billed on top.
- [Kibot](https://stockmarketstack.com/tools/kibot.md) — US intraday history back to 1998, bought once and kept, delivered as gzipped CSV.
- [Koyfin](https://stockmarketstack.com/tools/koyfin.md) — A browser research terminal for global equities, funds, macro and estimates.
- [Lumibot](https://stockmarketstack.com/tools/lumibot.md) — One strategy class for backtest and live, plus a built-in LLM agent runtime.
- [Marketaux](https://stockmarketstack.com/tools/marketaux.md) — Global financial news over REST, tagged to entities and scored for sentiment per entity.
- [Massive](https://stockmarketstack.com/tools/massive.md) — Full-tick US equities, options and futures from a direct exchange feed.
- [MotiveWave](https://stockmarketstack.com/tools/motivewave.md) — Java desktop charting whose Elliott Wave tooling is the reason anyone buys it.
- [MultiCharts](https://stockmarketstack.com/tools/multicharts.md) — Windows charting, backtesting and order routing on EasyLanguage, sold outright or monthly.
- [NautilusTrader](https://stockmarketstack.com/tools/nautilus-trader.md) — Rust core, Python API, one strategy that backtests and trades live unchanged.
- [NinjaTrader](https://stockmarketstack.com/tools/ninjatrader.md) — Windows futures platform with C# strategy scripting and order-flow charting.
- [Norgate Data](https://stockmarketstack.com/tools/norgate-data.md) — Survivorship-bias-free end-of-day history with delisted stocks and index constituents.
- [OneTick](https://stockmarketstack.com/tools/onetick.md) — Enterprise tick capture, storage and streaming analytics, sold only by quote.
- [OpenBB](https://stockmarketstack.com/tools/openbb.md) — One Python API, REST app and MCP server over thirty other people's data feeds.
- [Optuma Desktop](https://stockmarketstack.com/tools/optuma.md) — Windows technical-analysis desktop for analysts, with Optuma's own EOD data bundled in.
- [ORTEX](https://stockmarketstack.com/tools/ortex.md) — Short interest estimated daily from the lending pool, with cost to borrow beside it.
- [pandas-ta](https://stockmarketstack.com/tools/pandas-ta.md) — The DataFrame indicator library whose repo is gone and whose last release is a year old.
- [QuantConnect](https://stockmarketstack.com/tools/quantconnect.md) — The open-source LEAN engine, plus a hosted cloud that runs it against real brokers.
- [QuantLib](https://stockmarketstack.com/tools/quantlib.md) — The open-source derivatives pricing library banks actually use, reachable from Python.
- [Quantower](https://stockmarketstack.com/tools/quantower.md) — Windows order-flow terminal for 60+ connections, with an open C# API and a real free tier.
- [QuantRocket](https://stockmarketstack.com/tools/quantrocket.md) — Zipline and Moonshot in Docker on your own hardware, wired to Interactive Brokers.
- [ROIC.ai](https://stockmarketstack.com/tools/roic-ai.md) — Forty years of global fundamentals over REST, an MCP server and Google Sheets.
- [Sierra Chart](https://stockmarketstack.com/tools/sierra-chart.md) — Windows-native charts, order flow and DOM trading, priced as packages plus exchange fees.
- [StockCharts](https://stockmarketstack.com/tools/stockcharts.md) — Browser technical charting, custom scans and alerts, priced per service level.
- [StockSharp](https://stockmarketstack.com/tools/stocksharp.md) — C#/.NET algo stack with 384 connectors; source is published but no longer open source.
- [StrategyQuant X](https://stockmarketstack.com/tools/strategyquant-x.md) — Machine-searches for trading strategies, then tries to break them with robustness tests.
- [TA-Lib](https://stockmarketstack.com/tools/ta-lib.md) — The C indicator library everything else wraps — and pip now ships the C part with it.
- [Tick Data](https://stockmarketstack.com/tools/tickdata.md) — Historical intraday ticks from 1974, sold by the symbol-year and licensed perpetually.
- [Tiingo](https://stockmarketstack.com/tools/tiingo.md) — End-of-day equity history back to 1962, plus crypto, forex and news, from $30 a month.
- [TradeLog](https://stockmarketstack.com/tools/tradelog.md) — Wash sales and Form 8949 rebuilt from raw broker trade history, not from the 1099-B.
- [Trademetria](https://stockmarketstack.com/tools/trademetria.md) — Multi-asset trade journal and tracker with a free plan and a 194-name import list.
- [TraderSync](https://stockmarketstack.com/tools/tradersync.md) — Options-first trade journal - multi-leg spreads classified on import, replay to 250ms.
- [Tradervue](https://stockmarketstack.com/tools/tradervue.md) — The category's oldest journal, 81 supported brokers, and a free tier that still works.
- [TradesViz](https://stockmarketstack.com/tools/tradesviz.md) — The analytics-heavy journal: 150+ base charts across seven instrument types.
- [TradeZella](https://stockmarketstack.com/tools/tradezella.md) — Auto-synced trade journal with bar-by-bar replay, backtesting and AI session review.
- [Trading Economics](https://stockmarketstack.com/tools/trading-economics.md) — Macro data for 196 countries with its own forecasts. No free key; the API starts at $199.
- [TradingAgents](https://stockmarketstack.com/tools/tradingagents.md) — Analyst, bull, bear, risk and portfolio-manager agents argue over one ticker.
- [tradingview-mcp](https://stockmarketstack.com/tools/tradingview-mcp.md) — Screeners, technical analysis and backtests for any MCP client. No TradingView account.
- [TradingView](https://stockmarketstack.com/tools/tradingview.md) — Charting across 50-plus markets, with Pine Script, server-side alerts and broker trading.
- [TrendSpider](https://stockmarketstack.com/tools/trendspider.md) — Automated technical analysis, real-time scanning and no-code backtesting in one web app.
- [Twelve Data](https://stockmarketstack.com/tools/twelve-data.md) — Global stocks, forex and crypto over REST and WebSocket, billed in credits per minute.
- [Unusual Whales](https://stockmarketstack.com/tools/unusual-whales.md) — US options tape, dark pool prints and congressional trades over one REST API.
- [VectorBT PRO](https://stockmarketstack.com/tools/vectorbt-pro.md) — Paid vectorbt — native Rust simulators, streaming indicators and a built-in MCP server.
- [VectorBT](https://stockmarketstack.com/tools/vectorbt.md) — Vectorised backtesting — thousands of parameter combinations in one NumPy pass.
- [Vibe-Trading](https://stockmarketstack.com/tools/vibe-trading.md) — A local finance research agent with 74 MCP tools, nine backtest engines and 14 brokers.
- [WealthLab](https://stockmarketstack.com/tools/wealthlab.md) — Windows portfolio backtesting in C# or drag-and-drop blocks, with a built-in MCP service.
- [Wisesheets](https://stockmarketstack.com/tools/wisesheets.md) — Financials, estimates and live prices as worksheet functions in Excel and Google Sheets.
- [yfinance](https://stockmarketstack.com/tools/yfinance.md) — The Python library everyone starts with — free, unofficial, and not something to build on.

## FAQ

### Why is forex data so much cheaper than stock data?

Because there is no exchange to pay. Spot FX trades over the counter, between banks and brokers, so there is no central venue setting a fee schedule and no consolidated tape to license. What you get instead is a price from somebody's book, and different vendors will give you different numbers for the same pair at the same instant. Cheap data and ambiguous data are the same fact here, seen from two sides.

### What is a central bank reference rate good for?

Anything that has to be defensible rather than tradable — valuing a portfolio at a date, restating a foreign revenue line, writing a rule that both sides of a contract can check. The ECB publishes a daily euro reference rate set at a fixed time; it is one number a day, it is not a price you can deal on, and that is exactly why it settles arguments.

### Does it matter which vendor I take FX history from?

More than it does for listed equities. An exchange-traded stock has one official close; a currency pair has as many closes as there are sources, differing by the spread and by the snapshot time. For backtesting this is a real source of divergence between your results and someone else's, so record which source you used and at what timestamp convention, the same way you would record a data version.

### Why are macro APIs listed as forex tools?

Because they carry the official rates, and for a lot of work those are the right ones. FRED, the ECB Data Portal, DBnomics, IMF Data and EconDB all publish FX series as part of a macro catalogue rather than as a trading product. If the job is a chart, a revaluation or a research note rather than an order, these are free, keyless or nearly so, and they cite their own origin.
