Barfinex
Loading
All exchanges
Futu (moomoo)

Futu (moomoo)

Coming SoonAsia-Pacific Brokers
connectorType: "futu"

Digital brokerage for HK, US, and China markets

Connection Architecture

Futu (moomoo)
WebSocket / REST
Connector
libs/exchange-futu
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
WebSocket
Authentication
OpenD Local
Data Format
JSON
Features
Local OpenD Required

Best for

  • Investors requiring simultaneous access to HK, US, and China A-share markets.
  • Programmatic traders leveraging the OpenD local gateway for low-latency order execution.
  • Moomoo users who want to plug algorithmic strategies into their existing Futu account.

Connect via code

1Environment variables (.env)

FUTU_OPEND_HOST=your_host_here
FUTU_OPEND_PORT=your_port_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "futu",
        "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

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/futu/...
/api/trades/futu/...
/api/orderbook/futu/...
/api/account/futu/...
/api/symbols/futu/...
/api/assets/futu/...

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

Important

OpenD must be running locally (or on a reachable host) before Barfinex can connect — it is not a cloud API.
Futu requires OpenD to be authenticated with a valid Futu account and may prompt for 2FA on startup.
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.