Knowledge Base/Where does Massive's currencies data come from?

Where does Massive's currencies data come from?

Forex quotes come from institutional bank feeds, because foreign exchange has no central exchange and no consolidated tape. Crypto comes from five named exchanges. Both sit under the Currencies subscription.

One subscription, two markets that work nothing alike. That is why forex on Massive has quotes and aggregate bars but no trade feed while crypto has all three: the shape of each feed follows the structure of the market behind it, not a product decision. Read this before you write code that assumes the two behave the same way.

Applies to

  • Plans: a Currencies subscription.
  • Endpoints: the forex and crypto REST endpoints, and the /forex and /crypto WebSocket clusters.
  • Asset classes: forex, with over 1,200 pairs, and crypto, with over 600.

Why forex has no trades

A currency trade happens between two institutions, on their own terms, and nobody is required to report it anywhere. There is no tape to publish, so what a data provider can offer is quotes: the rates institutions are showing, aggregated across contributors. That is what Massive publishes, as C on the WebSocket and through the forex REST endpoints.

Two consequences worth designing for. A forex aggregate bar is built from quotes rather than from executions, so its volume is not a volume of trades. And two forex providers can show slightly different rates at the same instant without either being wrong, because they aggregate different contributors.

How to tell the two halves apart in the data

A ticker record names which market a pair belongs to, which is the quickest way to confirm you are querying the half you meant:

curl -X GET "https://api.massive.com/v3/reference/tickers?ticker=C:EURUSD&limit=1&apiKey=YOUR_API_KEY"

Response

{
  "results": [
    { "ticker": "C:EURUSD", "name": "Euro - United States dollar", "market": "fx",
      "locale": "global", "base_currency_symbol": "EUR", "currency_symbol": "USD" }
  ],
  "status": "OK"
}

X:BTCUSD comes back the same shape with market: crypto and base_currency_symbol: BTC. Neither carries a source_feed, unlike indices, so the data source is a property of the subscription rather than of the individual pair.

The metals are here too

The metals are here too. Gold and silver are quoted as currency pairs, C:XAUUSD and C:XAGUSD, and come through the same bank feeds. They are not a separate commodities source. Platinum and palladium were quoted this way once and are retired; the PL and PA futures are where they are now.

If you see an error

An empty result for a forex trades request is expected rather than an outage: there is no forex trade feed.

Rates that differ from your bank's are normal. Aggregated quotes from different contributor sets will not match a single institution's pricing.

Forex data stopping over a weekend is correct. Forex closes from Friday evening to Sunday evening Eastern; crypto does not close.

Related


Was this article helpful?

Modernizing Wall St.

Reimagining financial market data for the 21st century.

Schedule a demo

Talk with our market data experts

Recommended

Can't find the answer you're looking for? Contact our team.
  • Title
    Are all indices available through the basic subscription tier?
    Data Coverage Category

    Data Coverage

    Indices Category

    Indices

    Description
    No, and the ones it withholds are the famous ones: SPX, DJI, RUT and VIX all need a paid Indices tier. Basic still reaches more than 10,000 of the 13,000-odd indices Massive publishes, and NDX and the Nasdaq Composite are among them.
  • Title
    Does Massive offer dark pool data?
    Data Coverage Category

    Data Coverage

    Stocks Category

    Stocks

    Description
    Yes. Off-exchange prints, which include dark pool executions, arrive on the ordinary trades feed and are identified by an exchange ID of 4. There is no separate dark pool endpoint, and no way to tell which individual venue a print came from.
  • Title
    Does Massive offer pre-market and after-hours data?
    FAQ Category

    FAQ

    Stocks Category

    Stocks

    Description
    Yes. Every extended-hours trade and quote is published, from 04:00 to 20:00 Eastern. There is no session parameter, so you select a session with timestamps, and expect far fewer aggregate bars outside regular hours because many extended-hours trades are odd lots that cannot set a price.