Connecting

Connecting an exchange

Generate API keys, paste them into LucraX, verify, and you're ready to trade.

1 min readUpdated Jun 19, 2026

To trade on a venue, you connect a credential (API key + secret, or OAuth, depending on the venue) on the Exchanges page. Each credential is stored encrypted (AES-256-GCM) and bound to a single user.

Steps

  1. Generate API keys at the exchange. Use a key with trading permissions but not withdrawal. We never need withdrawal.
  2. Paste into the Add credential dialog. Select live or demo.
  3. The verify step calls the exchange's account endpoint and confirms the keys work.
  4. After verification the credential is available to bind to a strategy.

Per-venue specifics

VenueConnect viaDemo
Binance FuturesAPI key + secretTestnet keys
ByBitAPI key + secretTestnet keys
BitMEXAPI key + secret + passphraseTestnet keys
HyperliquidAPI key + secretTestnet keys
LNMarketsAPI key + secret + passphraseNone (live only)
Interactive BrokersGateway (per-user)Paper account
TradovateOAuthDemo account
TradeStationOAuth (PKCE)SIM account

See the per-venue article under Supported venues for the specific quirks.

What you never share

  • Withdrawal permission.
  • Account-level admin keys.
  • 2FA codes (we don't ask).

Pitfalls

  • IP whitelist: some venues let you restrict the API key to a specific IP. LucraX's outbound IPs vary across infrastructure; use an unrestricted key or contact us for the current IP list.
  • Master vs sub-account: prefer a sub-account key per strategy / use case. Easier to revoke without affecting other strategies.
Connecting an exchange | Help Center | LucraX · LucraX