Using ZML Trade
Installation, connecting exchanges, pairing, parameters and risk control.
- Install ZML TradeInstall on Alibaba Cloud ECS or AWS EC2 by following the illustrated guides; on any other Linux server, log in and run one command.
- Connect an exchangeEach exchange account you add in Trade can be used by one or more combos. Trade verifies the account before saving it.
- Pairing and sendingPair your Trade with your Z Market Lab account, then send opportunities from Z Market Lab to Trade: it creates a combo that won't open yet.
- ParametersEach combo trades with its own parameters, and you set the values in Trade.
- Risk controlsTrade watches the liquidation distance of each leg, keeps the long and short sides matched, reconciles positions with the exchange and alerts you.
- FAQQuick answers to common questions. The other guides cover each topic in full.
- Security and dataTrade runs on your own cloud server: only you can sign in, your API keys are stored there encrypted and can be bound to its IP, and every install and update checks ZML’s signature first.
- All ZML Trade featuresEvery ZML Trade feature, grouped by orders, maker orders, entries and exits, risk, accounts, alerts, pairing and install, one line each.
- Install on Alibaba Cloud ECSFrom buying the server to opening Trade, step by step on Alibaba Cloud ECS, all in your browser.
- Self-hosted arbitrage bot: your API keys stay on your own serverZML Trade is a self-hosted cross-exchange arbitrage bot: it runs on your own cloud server, stores your API keys there encrypted and lets you bind them to that server’s IP.
- Install on AWS EC2From creating the server to opening Trade, step by step on AWS EC2, all in your browser with no key pair.
- First sign-in and administrator setupOpening Trade for the first time after installation: open the link the installer printed, read the risk disclosure and accept the terms, set up the administrator, then turn on two-factor authentication.
- Use several public IPs (Alibaba Cloud ECS, AWS EC2)Add more public IPs to the server running Trade; Trade finds them by itself and spreads requests, so per-IP exchange limits go further.
- Create your first comboA combo is one long leg and one short leg. Once you fill in the form and save, it opens when your conditions are met.
- Stop and runStop halts a combo at once. Run starts it again from a clean state.
- How to read the Statistics pageThe Statistics page answers three questions: how much a day made, how a period added up, and where the money came from.
- Update TradeTrade on your server fetches updates from ZML itself. When a new version is available, a line appears at the top of the page. You can update at any time, and it installs automatically within 7 days at the latest.
- Transfers, leverage, borrowing and repayingWhat each figure in the transfer, leverage and borrow/repay windows means, why a transferable amount can be 0, why some routes accept only certain coins, where leverage can be changed, and how manual borrowing and repaying work.
- Uninstall TradeRemove Trade from your server completely: what to do first, which commands to run, and how to check it’s gone.
- Forgot your password or lost your authenticatorHow to get back into Trade when you forget the administrator password or lose the authenticator for two-factor authentication. Exchange keys, combos and history are kept.
- Move to a new serverMove Trade with its combos, trade records and accounts to a new server: how to package, restore, and what to do afterward.
- Set up notification channelsTrade shows alerts on the web page and can also send them to Telegram and Feishu.
- Combo tags, list order and bulk actionsGroup combos with tags, drag rows to set the list order, and stop, run, edit or tag several combos at once.
- Share a comboTurn a combo’s results into a share card for X, Telegram or an image file, with a link to live data for the pair on Z Market Lab.
- Place manual orders on the Trade pagePlace spot and perpetual market orders from the Trade page with an OKX, Bitget, Gate or Gate CrossEx account. Manual orders are separate from combos and are not counted in combo positions or PnL.
- Coin mapping: when two exchanges use a different name or multiplier for the same coinWhen the same coin has a different name or multiplier on two exchanges (such as 1000PEPE and PEPE), register the multiplier in coin mapping so combos count it as one coin.
- Presets: save your usual settings and start new combos from themOrder, risk, alert and leverage settings can be saved as presets. The default preset in each group prefills every new combo. Editing or deleting a preset does not change existing combos.
- Candlestick and historical charts for a comboOpen a live candlestick window for each leg’s market from a combo. Once Trade is connected to Z Market Lab, you can also see how the pair’s spread and net funding have moved.
- AI access: let your AI tool read your combos, PnL and positionsConnect an AI tool installed on your computer, such as Claude Code or Cursor, to your Trade. It can read your combos, PnL, balances and positions to help you analyze them and work out parameters. It can only read: it cannot place orders or change settings.