Guides
How the exchanges really work.
Set up exchange API keys safely, and learn the venue rules that decide whether an order fills, rejects, or splits — Binance, OKX, Bybit, and Hyperliquid.
Workflow
- Hyperliquid How to Connect a Hyperliquid API Wallet to Ninja Terminal What a Hyperliquid API wallet is, how to authorize one, and the two values Ninja Terminal asks for: the API wallet private key and your trading wallet address.
- Binance How to Create a Binance API Key for Trading (Trade-Only, IP-Restricted) Step-by-step: create a system-generated Binance API key with Reading and trading permissions, withdrawals off, and trusted IPs set, then connect it to Ninja Terminal.
- Bybit How to Create a Bybit API Key and Set Permissions for Unified Trading Create a system-generated Bybit API key with Read-Write, Unified Trading Orders, Positions and Trade permissions, withdrawals off, and an IP restriction.
- OKX How to Create an OKX API Key, Secret, and Passphrase for Trading Create an OKX API key with a passphrase, Read and Trade permissions, Withdraw off, and an IP allowlist, then connect it to Ninja Terminal step by step.
- All venues How to trade crypto news: a workflow from headline to order A step-by-step workflow for acting on market-moving crypto news: pick sources, verify the headline, size the trade, set risk, and place the order from a news feed.
Exchange mechanics
- Bybit Bybit Unified Trading Account: why availableToWithdraw is empty and what to use instead Since 9 January 2025, Bybit's availableToWithdraw field is deprecated for Unified accounts and comes back empty. Learn how available balance is calculated instead.
- All venues Hedge mode vs one-way mode: how each exchange handles position modes How position modes work on Binance, OKX, Bybit and Hyperliquid, what positionSide does, and why Binance returns error -4061 when the order and the account mode disagree.
- All venues Why a large market order is rejected: market order size limits by exchange Why a big market close fails with OKX 51202, Binance -4005 or a Hyperliquid value cap, where each limit comes from (maxMktSz, MARKET_LOT_SIZE), and why orders are split.
- OKX · Bybit OKX spot market order size: tgtCcy, quote vs base currency On OKX spot, a market buy sz is in quote currency by default, not base. See how tgtCcy changes sz, what accFillSz and fillSz mean, and how Bybit marketUnit compares.
- All venues How take-profit and stop-loss orders work on Binance, OKX, Bybit and Hyperliquid How take-profit and stop-loss orders work on each venue: Binance algo orders, OKX algo orders and error 51000, Bybit conditional orders, Hyperliquid trigger orders.
Security
Trade every venue from one tab.
Binance, OKX, Bybit, and Hyperliquid with news, charts, and one-command orders. Included with Ninja Squad Pro membership.