Barfinex
Loading
All exchanges
Polygon.io

Polygon.io

Coming SoonMarket Data Providers
connectorType: "polygon"

Real-time & historical market data for stocks, options, forex, crypto

Connection Architecture

Polygon.io
WebSocket / REST
Connector
libs/exchange-polygon
Provider
:8081/api
Detector
Advisor
Studio

The connector feeds exchange data to Provider. Detector receives market data, Studio receives read views, and Advisor sees only signed candidate evidence.

Technologies

Transport
WebSocketREST
Authentication
API Key
Data Format
JSON
Features
Data OnlyConsolidated Tape

Best for

  • Equity and options strategies requiring consolidated US market data unavailable from broker APIs.
  • Multi-asset researchers correlating US stock, forex, and crypto data in a single normalized feed.
  • Backtesting engines that need complete tick-level historical data across all US equity markets.

Connect via code

1Environment variables (.env)

POLYGON_API_KEY=your_key_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "polygon",
        "enabled": true,
        "key": "${POLYGON_API_KEY}",
        "markets": [
          { "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
        ],
        "subscriptions": [
          { "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
          { "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
          { "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
        ]
      }
    ]
  }
}

3Verify and query data

Public verification
1. Configure credentials in the private Provider environment.
2. Verify connector status in the internal Studio/Provider console.
3. Use Barfinex public pages to inspect market data.

Operator Provider commands and tokens remain in internal runbooks only.

Available via Barfinex API

/api/candles/polygon/...
/api/trades/polygon/...
/api/orderbook/polygon/...
/api/account/polygon/...
/api/symbols/polygon/...
/api/assets/polygon/...

Studio graphical setup — in development, coming in the next release.

Important

This is a DATA ONLY connector — no order execution.
Real-time streaming requires a Starter plan or above; the free tier provides delayed data only.
Options data (chains, greeks) requires the Options add-on subscription.
Supported Markets
Spot
Websitepolygon.io
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

Have questions or want to explore Barfinex? Send us a message.