Connecting your exchange
Create a key that can trade but cannot withdraw, and connect it.
The steps #
You only need this for real money.
- In the app, open Exchange and press Connect your exchange. Choose your exchange.
- On your exchange, open the page for API keys and make a new key.
- Switch on reading and spot trading. Leave withdrawals and futures off.
- Where the exchange asks which addresses may use the key, paste our server's address. It is shown on the connect page once it is published.
- Paste the API key and the secret on the connect page, and press Check and connect.
We check the key with the exchange before saving it. Keys that can withdraw are refused.
Exchange by exchange #
| Exchange | Needs a passphrase | We check withdrawals ourselves |
|---|---|---|
| Binance | no | yes |
| OKX | yes | yes |
| Bybit | no | no: you confirm it |
| KuCoin | yes | no: you confirm it |
| Gate.io | no | no: you confirm it |
| Bitget | yes | no: you confirm it |
| MEXC | no | no: you confirm it |
Where the exchange doesn't tell us, real money stays off until you tick “I confirm this key has withdrawals disabled”. Check it on the exchange before you tick it.
Exchanges change their screens often, so the connect page links to each exchange's own guide.
Test accounts #
Some exchanges have a test account with play money. For such a key, open More choices and tick “This key is for the exchange's test account (testnet)”. It is checked the same way.
How we keep the key safe #
The key and secret are encrypted before they are saved. They are never shown again, never sent to your browser, never written to logs and never put in a web address. You only see the last four characters of the key. We check the key again every time a real-money bot starts.
Connecting or removing an exchange asks you to confirm it's you. A connection can't be removed while a real-money bot that isn't stopped uses it.
Changing a key #
The key itself can't be changed. Remove the connection, create a new key on the exchange, and connect that one. Delete the old key on the exchange as well.