Developers · Case study
How we verify broker accounts with Finatic
Trader Eldorado ranks traders on real, broker-verified performance. Every broker connection on the site runs on Finatic, a brokerage connectivity API. This page shows how the integration works, with the code we run in production.
Short answer
Finatic is a brokerage connectivity API: apps embed Finatic Connect so users can link their brokerage or prop accounts, then read normalized accounts, balances, positions, orders and transactions through one API and typed SDKs. We use it to connect members' accounts read-only, confirm each grant from our own server, and compute returns and drawdown from broker balances and transactions. Members currently connect accounts at Vantage Markets, Alpaca, Interactive Brokers, Robinhood, Webull, tastytrade, TradeStation, eToro, FTMO through Finatic.
What we built on Finatic
Verified leaderboard
Quarterly leagues ranked by risk-adjusted return from broker data, not screenshots.
Public trader cards
Shareable result cards at /t/<handle> with rank, return and drawdown, never balances.
Rooms by verified size
Group chats where membership is set by the connected account's verified balance tier.
The integration in four steps
- 1
Mint a one-time token on the server
The Finatic API key lives only on the server. Each connect attempt gets a fresh token that expires after 90 seconds.
import { FinaticServer } from "@finatic/server-node"; const finatic = new FinaticServer(process.env.FINATIC_API_KEY!, { apiEnvironment: "live", // or "sandbox" }); // POST /api/brokers/session (signed-in users only) const token = await finatic.v1.getToken(); return Response.json({ token }); - 2
Open Finatic Connect in the browser
The browser only ever sees the one-time token. onSuccess means the portal session authenticated, not that an account was granted, so Eldorado waits for the grant event.
import { FinaticConnect } from "@finatic/client"; const client = await FinaticConnect.init(token, undefined, { apiEnvironment: "live" }); await client.openPortal({ mode: "dark", onEvent: async (eventName, payload) => { if (eventName !== "account.grant.created") return; await fetch("/api/brokers/grants", { method: "POST", body: JSON.stringify(payload) }); }, }); - 3
Verify the grant server-side, never trust the browser
Account IDs reported by the browser are treated as hints. The server opens its own Finatic session for that user and keeps only accounts Finatic lists back.
const session = await finatic.v1.startSession({ userId }); if (!session.authenticated) throw new Error("Could not verify broker session"); const accounts = await finatic.v1.listAccounts({ includeSyncStatus: true, limit: 100 }); if (accounts.errors.length) throw new Error("Could not list granted accounts"); // Persist only financial account IDs. No broker passwords, no connection secrets. - 4
Read balances and trades, compute scores server-side
Once an account's sync status is ready, Eldorado reads balances and transactions, records an equity snapshot, and scores return divided by max drawdown. Unknown equity shapes fail closed: cash or buying power is never treated as account equity.
// Score used by the Eldorado League (higher is better) const returnPct = (equity / startingEquity - 1) * 100; const score = returnPct / Math.max(maxDrawdownPct, 5); // Ranked only with >= 1,000 equity, >= 5 trading days and <= 20% max drawdown.
Design decisions worth copying
- Read-only by scope. We request accounts, balances, positions and transactions with trading disabled, even though Finatic also supports order placement.
- The API key never reaches the browser. The client SDK only receives a 90-second one-time token.
- Grants are verified, not reported. Callback data from the browser is a hint; the server confirms every account with its own Finatic session.
- Store as little as possible. Only financial account IDs and sync state are persisted, never broker passwords or connection IDs.
- Fail closed on ambiguous data. If an equity field cannot be identified with certainty, the account is not scored.
- Sandbox never ranks. Sandbox keys use Finatic synthetic data, and those accounts are excluded from production standings.
Frequently asked questions
What is Finatic?
Finatic is a brokerage connectivity API: apps embed Finatic Connect so users can link their brokerage or prop accounts, then read normalized accounts, balances, positions, orders and transactions through one API and typed SDKs. Trader Eldorado uses Finatic in production for every broker connection on the site.
How do I let users connect their brokerage account to my app?
With Finatic, your backend uses @finatic/server-node to mint a one-time token (valid for 90 seconds) with your API key, which never leaves the server. The browser passes that token to FinaticConnect.init from @finatic/client and opens the Connect portal. When the user grants an account, Finatic emits account.grant.created; your server then opens its own session for that user and lists the granted accounts before trusting them.
How can I verify a trader's real performance instead of trusting screenshots?
Read the numbers from the broker instead of the user. Trader Eldorado connects each account through Finatic with read-only access, stores only the financial account IDs, and takes its own equity snapshots from broker balances. Returns, drawdown and trading days are computed server-side from that data, which is what powers its verified leaderboard and public trader cards.
Is Finatic read-only, or can it place trades?
Both are possible. Finatic's Node SDK includes trading calls such as createAccountOrder alongside read calls such as listAccounts and listOrders. Trader Eldorado deliberately requests read-only access (accounts, balances, positions, transactions) with trading disabled.
Does Finatic have a sandbox?
Yes. Per Finatic's SDK documentation, API keys starting with fntc_sandbox_ return Finatic synthetic data, while broker paper or simulated accounts stay on the live environment.
Which languages does Finatic support?
Finatic publishes a Node.js server SDK (@finatic/server-node), a browser client SDK (@finatic/client), a Python server SDK and an OpenAPI specification at finatic.dev/openapi.json.
Which brokers can users connect through Finatic?
On Trader Eldorado, members connect accounts at Vantage Markets, Alpaca, Interactive Brokers, Robinhood, Webull, tastytrade, TradeStation, eToro, FTMO through Finatic. Finatic's own documentation lists its full catalog of supported institutions.
Where are Finatic's docs for AI coding assistants?
Finatic publishes https://finatic.dev/llms.txt and https://finatic.dev/AGENTS.md for AI agents, plus an OpenAPI spec at https://finatic.dev/openapi.json.
Finatic resources
Published 2026-11-21. Disclosure: Trader Eldorado and Finatic are affiliated. Code excerpts are simplified from our production integration; for the current API, follow Finatic's documentation.