All ZML Trade features
Every ZML Trade feature, grouped by orders, maker orders, entries and exits, risk, accounts, alerts, pairing and install, one line each.
Everything ZML Trade can do, grouped by what you use it for, one line each. To see the interface first, try the online demo on the website.
Orders and fills
Long and short placed together: The long and short sides open and close together as one combo, building toward the same target position.
The lagging side catches up: However much the first side fills, the other automatically catches up to the same quantity, reducing the risk of only one side filling. The leg gap is shown in real time.
Across exchanges and accounts: The two sides can be on the same exchange or on two different exchanges, using the same account or different accounts. One account can serve multiple combos.
Spot, cross margin and perpetuals: Each leg can be spot, cross margin or a USD-margined perpetual. Spot-futures, reverse spot-futures and futures-futures arbitrage are all supported.
Builds in slices: Each entry is split into orders no larger than your per-order limit, so large positions build in steps with less price impact.
One side can be on-chain spot: One side can be on-chain spot, swapped at market through OKX Wallet, with a minimum received amount on every swap or the entire trade does not fill. The on-chain side fills first, then the other side follows at market.
Built-in maker strategies
Both legs post-only, one leg post-only, or both legs at market: Choose market or maker for each leg. You can place the long leg or the short leg first. On-chain combos use market on both sides.
Improve by 1 tick or Join best: Improve by 1 tick: place buy orders one tick above the best bid and sell orders one tick below the best ask to reach the best price without crossing the opposing price. Join best: place buy orders at the best bid and sell orders at the best ask, behind existing orders. Choose separately for each maker leg.
Post-only orders follow the book: Post-only orders are repriced in real time as the book moves and canceled once the spread no longer meets your condition, with no manual cancelling and re-placing.
Catch up at market when behind: Each maker leg has two options: “Post-only” keeps the order resting until it fills; “Post-only, catch up at market” uses a market order to catch up when this side falls behind the other, closing the leg gap faster.
Entries and exits
Open trigger and close trigger: Opens when the spread reaches your open trigger and closes when it falls back to your close trigger.
Target position: Set a target position for each combo; opening stops once it is reached.
Reverse combo: Create the mirrored combo with long and short swapped in one step, ready for when the spread flips.
Bulk create and bulk actions: Pick several long-leg and short-leg accounts at once to create one combo per pairing, and set reduce-only, resume opening or delete combos in bulk.
Presets: Save your usual settings as presets and apply them in one step when creating combos.
Combo tags: Tag your combos so you can view them by tag as the list grows. New combos go to the top, and you can reorder the list by hand.
Candlestick windows: Expand a combo to open a live candlestick chart for each leg’s market. The windows float above the page, and you can keep several open.
Risk and reconciliation
Pause-opening line and reduce-only line: At or below the pause-opening line, no new positions open. At or below the reduce-only line, you’re alerted and the combo switches to reduce-only.
Liquidation guard: When this is on, if the liquidation distance of either side falls to the liquidation guard line you set, the combo reduces its position at market in batches until the distance is above the exit line. Reducing works from an estimate and may not end exactly at the exit line. If the two sides are not the same size, the larger side is reduced first.
Cumulative loss limit: When a combo’s cumulative net loss reaches the amount you set, the combo switches to reduce-only and alerts you. It does not close the position.
Position reconciliation: Combo positions are reconciled against each exchange account’s actual positions, and you are alerted when a difference exceeds your amount.
Calibration and automatic alignment: When combo positions and the exchange’s actual positions aren’t in sync, you can calibrate them one by one or in bulk. With automatic alignment on, if a difference is still there after a period of time, the excess is reduced at market price. It only reduces, never adds.
Stop takes effect at once: Click “Stop” and this combo immediately stops placing orders, without waiting for the exchange to respond. Orders already resting on the exchange are canceled afterward; if any of them fill before they are canceled, position reconciliation lists the difference. When you run it again, it starts from scratch and does not continue the orders from before the stop.
Accounts, assets and PnL
Manage all your accounts in one place: Connect main and sub-accounts on centralized exchanges and perpetual DEXs, plus on-chain accounts, and see balances, positions and account status on one page.
Asset overview: Assets, liabilities and net assets across every account are valued in USD on one page, down to each account and coin.
PnL broken down: Net PnL is split into spread profit, trading fees, rebates, funding fees, borrow interest and on-chain network fees, with funding counted from each period's exchange rate and the combo's position.
Performance stats: Review returns by day, by month or for any period, broken down by combo, exchange and account.
Transfers: Move funds between wallets and between main and sub-accounts from the account; options vary by exchange.
Leverage, borrow and repay: Change the leverage multiplier right on the position; on some exchanges, cross margin accounts can also borrow and repay manually.
Account fee rates: On most exchanges, each account shows your current Maker and Taker fee rates.
Coin mapping: Map the same coin here when exchanges use different codes or unit multipliers, so the combo treats them as one coin. Changing one also changes the pairs mapped to it.
Egress IP: Every public IP on your server can be an egress IP, so per-IP exchange limits go further. Choose which egress IPs each account uses, then add them to the exchange’s IP allowlist.
Share a combo: Turn a combo’s net profit, time held, spread profit and funding income into a share card, then save it as an image or post it to X or Telegram.
Manual trading
Market orders: Open and close at market from the trading page, switching between accounts.
Alerts
Combo alerts: Get alerts on open spread, close spread, floating profit, funding cost, liquidation risk, the cumulative loss limit and position differences, with thresholds set per combo.
Telegram and Feishu: Alerts go to your own Telegram bot or Feishu group and the web page plays the alert sound at the same time, repeating for as long as the condition holds.
Do not disturb: Pick a duration on a web alert, or tap the button on a Telegram message, to mute that combo; alerts resume on their own when the time is up.
Connected to Z Market Lab
Receive opportunities in one click: Send an opportunity you pick in Z Market Lab to Trade and the combo is set up on the spot; you decide whether to open it. Pairing and sending are free.
Order routing for incoming opportunities: On the Z Market Lab page, choose for each exchange Gate CrossEx supports whether incoming opportunities are placed on the exchange itself or through Gate CrossEx. On other exchanges, orders go to the exchange the opportunity is on.
Historical chart: Once connected, open the history of the pair’s open spread, close spread and net funding right from the combo.
Install and security
One-command install: Follow the illustrated guide to get a cloud server on Alibaba Cloud or AWS and paste one command to install; any other Linux server works the same way. Then use it in your browser.
Self-hosted: Trade runs on your own cloud server, which you sign in to and manage yourself.
Bind your API keys to your server’s IP: Bind a centralized exchange API key to your server’s egress IPs and it works only from your server.
Runs on its own: Once installed it keeps running, with no expiry date, and keeps trading while ZML’s services can’t be reached.
Read and trade permissions only: Create the API key with read and trade permissions. Keys are stored encrypted on your server.
Withdrawal permission check: When you save an account, Trade warns you if the API key has withdrawal permission turned on, so you can go back to the exchange and turn it off. The check runs only on exchanges that report this permission.
Updates: Only updates signed by ZML are installed. You can update at any time, and a new version installs automatically within 7 days at the latest.
Two-factor authentication: Turn on two-factor authentication for sign-in, and reset a forgotten password with one command on your server.
AI access: Connect an AI tool installed on your computer to Trade. It can read your combos, PnL, balances and positions to help you analyze them and work out parameters; it cannot place orders or change settings.
Languages: The interface, alerts and help are available in 16 languages, and you can switch at any time.