Barfinex
All exchanges
Tradier

Tradier

Coming SoonUS Brokers
connectorType: "tradier"

Brokerage API platform for equities and options

Connection Architecture

Tradier
WebSocket / REST
Connector
libs/exchange-tradier
Provider
:8081/api
Detector
Advisor
Studio

The connector receives data from the exchange and feeds it to Provider (port 8081). From there — to Detector, Advisor, and Studio.

Technologies

Transport
WebSocketREST Polling
Authentication
Bearer Token
Data Format
JSON
Features
Sandbox Mode

Best for

  • Best suited for options traders and equity-focused systematic strategies that need a clean, reliable REST API.
  • Supports covered calls, vertical spreads, and multi-leg options execution alongside standard equity orders.
  • Sandbox environment allows full end-to-end strategy testing without capital risk.
  • Attractive for fintech teams that want brokerage-as-a-service built into their Barfinex pipeline.

Connect via code

1Environment variables (.env)

TRADIER_ACCESS_TOKEN=your_token_here
TRADIER_ACCOUNT_ID=your_account_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "tradier",
        "enabled": true,
        "token": "${TRADIER_ACCESS_TOKEN}",
        "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

# Verify connection
curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \
  https://localhost:8081/api/exchanges/runtime-proof

# Candles (last 7 days)
curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \
  "https://localhost:8081/api/candles/tradier/spot/BTCUSDT/h1?days=7"

Available via Barfinex API

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

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

Important

Authentication uses a single bearer access token (not key/secret pair) — obtain it from your Tradier developer dashboard.
Paper trading uses a separate sandbox environment at sandbox.tradier.com with its own access token.
US equities and options trade during NYSE/NASDAQ hours (09:30–16:00 ET); options settlement follows standard expiration calendars.
Options strategies with multiple legs must be submitted as a single order to avoid partial-fill risk.
Streaming quotes require WebSocket connection; REST polling is subject to standard rate limits.
Supported Markets
Spot
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

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