MeowQuant is an independent third-party information site — not OKX official. This site contains affiliate links, and we may earn a fee from them. Full disclosure →

All articles

From sign-up to a running strategy — pick one and start

This is every MeowQuant article, grouped in the real order you'd work through quant: get your account and API sorted first, then get hands-on with the API, then pick one strategy and run it. Each piece follows the order you'd actually do things in, with the parameters and the spots where it's easy to slip up — not a concept explainer.

Getting started / sign-up / funding

No account yet, no app installed, not sure how to buy USDT, still fuzzy on what quant even is? Start with this group and lay the groundwork before you touch anything.

Security

What happens when an API key leaks: permission design and least privilege

Trade on, withdrawal off: nobody can take the money out, but they can still dump or pump with your balance. The three permission types, IP whitelists and sub-accounts, a checklist for before and after creating a key, and what to do, in order, once a leak is found.

securityabout 11 min

API / quant hands-on

Want to write your own scripts? This group is for you: from connecting to the API, to handling errors, building risk control, and tapping real-time market data.

API Hands-On

OKX WebSocket Keeps Disconnecting After 30 Seconds

An OKX WebSocket closes after 30 seconds with no subscription or no data. On quiet channels, send the string ping in under 30 s and reconnect if no pong comes.

API hands-onabout 10 min
API Hands-On

Using the OKX API to Create and Stop a Grid Bot

Create an OKX grid bot with POST /api/v5/tradingBot/grid/order-algo and track it by its state field. On stop, stopType decides whether coins or positions stay.

API hands-onabout 10 min

Strategy trading

You can run strategies without writing code. OKX's built-in grid, recurring buy, martingale, copy trading and bot marketplace: this group covers what each parameter controls and what the rules say.

Strategy

OKX Grid Bot Settings: Range, Grid Count, Funds Per Grid

A spot grid asks for an upper and lower price, a grid count and an amount. How the three constrain one another, and how much money is tied up if price falls to the lower limit, worked through from the official order rules.

strategyabout 15 min
Strategy

OKX Trading Bot Marketplace: What Gets Copied With a Bot

Where the marketplace is, how the risk levels on popular bot cards are assigned, which parameters come across when you copy someone's grid and which you fill in, and what happens to your copy when the original stops.

strategyabout 12 min
Strategy

How to wire OKX's Signal Bot to TradingView alerts

Webhook URL, signalToken, and which of the two message templates you need — plus how to work through Events history when the alert fires and nothing trades. Perpetual futures only.

strategyabout 11 min

Compare

What kind of platform OKX is, how its API differs from Binance's, and which built-in bots need no code.

Basics

Quant Trading Without Coding: What Each OKX Bot Does

Spot grid, futures grid, recurring buy, spot martingale, signal bot and copy trading are all opened by filling in parameters. The rule each one follows, how each one loses money, and how to try them in demo first.

Basics10 min