Barfinex
All exchanges
E*TRADE

E*TRADE

Coming SoonUS Brokers
connectorType: "etrade"

Online brokerage by Morgan Stanley

Connection Architecture

E*TRADE
WebSocket / REST
Connector
libs/exchange-etrade
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
REST
Authentication
OAuth 1.0a
Data Format
JSON
Features
OAuth 1.0a

Best for

  • Well-suited for experienced investors and systematic traders who already hold E*TRADE accounts and want to automate equity or options strategies.
  • Covers standard equity orders, options spreads, and ETF rotation strategies on US markets.
  • E*TRADE's bond and mutual fund access adds fixed-income automation capabilities uncommon in other broker connectors.
  • Ideal for Barfinex users who want the credibility of a Morgan Stanley-backed institution for their algo trading.

Connect via code

1Environment variables (.env)

ETRADE_CONSUMER_KEY=your_consumer_key_here
ETRADE_CONSUMER_SECRET=your_consumer_secret_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "etrade",
        "enabled": true,

        "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/etrade/spot/BTCUSDT/h1?days=7"

Available via Barfinex API

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

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

Important

E*TRADE uses OAuth 1.0a authentication — the consumer key/secret are your app credentials, but an OAuth access token must also be generated per-account and renewed periodically (tokens expire after inactivity).
Paper trading is available via E*TRADE's sandbox environment using separate sandbox credentials.
US equities and options: NYSE/NASDAQ session 09:30–16:00 ET; options expire on standard monthly/weekly cycles.
Rate limits apply per OAuth token; heavy polling of market data endpoints should be replaced with streaming subscriptions.
E*TRADE API v1 is legacy — ensure you are targeting the current API version in connector configuration.
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.