Trading bot for OKX
hamster-bot connects to OKX via API and trades the strategy you choose on your own computer or server. The keys stay with you, and the money stays in your exchange account.
Sign up on OKX Download the bot
Supported markets
| Market | exchange.name |
Pair example |
| USDT-M futures (perpetual) | okx |
BTC-USDT-SWAP |
| Coin-M futures (inverse) | okx |
BTC-USD-SWAP |
| Delivery futures | okx |
BTC-USDT-250627 |
| Spot | okx |
BTC-USDT |
Short is not available on spot: the bot opens long only.
How to create an API key
The bot only needs keys with trading permission. Do not enable withdrawals.
For security, bind the key to the IP address of the computer or server where the bot runs.
OKX asks for a passphrase when you create the key: enter it in the bot as well.
For futures, the OKX account mode must be «Spot and futures»: in «Spot only» mode the bot can trade spot only.
Which strategies work
All bot strategies work on OKX. Before going live you can check a strategy on history in the tester.
ZigZag, ZZ · ZigZag Double, ZigZag MarketOrder · Donchian Channel · Channel Close Strategy · RiskTurtle · Moving Average Crossover, Price vs MA, MACD Trend · DoubleDragon · MRS · MRS2, MRS2 FAST · MRS3 · HiDeep · RedFlag · SmartProfit · ShadowOverlap · TV MAPM · MZ · TradingView Webhook · Volume Market · Long/Short-bot · Close Position Delete Orders
Videos
Exchange sign-up
If you don't have an account yet, sign up with the referral link: it supports the bot's development.