Coinbase: spot
A strategy trades on Coinbase spot (Advanced Trade) by the same rules as on Binance: entry, averagings, a TP on the whole volume. In the app there is one market — "Coinbase spot" — and one environment — "live account" (real money). This page is about how Coinbase differs: the account and currencies, the portfolio for the strategies, the key, fees, orders, a "limit orders only" pair, and why there is no test environment.
The account and currencies
- You need a verified Coinbase account with access to Advanced Trade. The app was checked on an account of the European Economic Area (EEA).
- An EEA account trades pairs against EUR and USDC; USDT is not available there (the MiCA rules). A strategy's budget is in its pair's currency: BTC-EUR — in euros, ETH-USDC — in USDC. In the system administrator's "Profit currencies" lists for Coinbase — EUR and USDC (For the system administrator).
- The "First steps" checklist checks the money on Coinbase in EUR and in USDC; it is enough to have enough in one of them (the threshold — 180 EUR or 200 USDC).
- In reports the dollar (USD) counts as USDT, as on the other exchanges; USDC is 1 dollar, and the euro is taken from the USDC-EUR pair. The group in reports is "Coinbase".
- Coinbase trades "Buy first" only: what the account does not hold cannot be sold here. The app does not accept a "Sell first" strategy on Coinbase and answers with the same words.
- Only ordinary spot pairs that Coinbase trades now are offered.
A portfolio for the strategies
Inside a Coinbase account there are portfolios — like subaccounts. Make a separate portfolio for the strategies (in Coinbase: Advanced → Portfolios) and move into it only the money you are ready to trade with:
- a key is bound to one portfolio, and the strategy sees only its money and orders — your manual trading in another portfolio does not get in its way;
- one portfolio — one connection: "This market of the exchange account is already connected as '…'" if you enter the key of the same portfolio a second time;
- the strategy's free money is the portfolio's available balance; what open orders hold (the reserve) is not counted as free. While there is less than the budget there, the strategy form warns and the "First steps" checklist reminds you: "Coinbase: the strategies see only the portfolio the key belongs to. Move the money into that portfolio."
The key
The key is made not in the ordinary Coinbase profile but on the CDP developer portal (portal.cdp.coinbase.com). Keys of the old kind, made for the retail Coinbase app, no longer work. A CDP key has two values: the key name (organizations/…/apiKeys/…) and the private key (Private key — a text that begins with -----BEGIN EC PRIVATE KEY-----).
- Find out the server's address: "Profile" → "Settings" → "Exchange connections" → "+ New connection" → the market "Coinbase spot" → "Next: the key →". The address is shown above the key fields with a "Copy" button; the checklist "Before you make a key on Coinbase" and a link to Coinbase's guide are there too.
- On the CDP portal open API Keys → Secret API Keys → create a key.
- Choose the signature algorithm ECDSA (not Ed25519: the app accepts only an ECDSA key, a key of another kind is refused before any request to the exchange).
- Permissions: View and Trade. Transfer (moving and withdrawing money) — off: a key with this permission is not accepted.
- Restrict the key to the portfolio for the strategies.
- In the IP list (IP allowlist) put the server's address from step 1.
- Download the key file and enter it in the form: the name in "Key name", the whole text of the key with BEGIN and END in "Private key". The private key may be pasted with line breaks or without them, and the "\n" of the file the app understands itself. You may also paste the whole key file (
{"name": …, "privateKey": …}) into either of the two fields — the app takes both parts from it. Fields swapped, or the name in both fields, the app refuses: "The key has a wrong form (extra spaces?).". - Press "Check the key". Keep the key file: you will need it if the key has to be entered again.
A CDP key has no term, so "The key is valid until …" is not shown for Coinbase. Coinbase does not tell the app the key's IP list, and there is no "No IP restriction" warning for Coinbase: put the server's address into the list yourself. If the server moves to another address, the key stops working until you update the IP list on the CDP portal — the check then answers "The exchange does not accept this key." Remember it when you move to a new server.
What the app says on the check:
| Answer | What to do |
|---|---|
| "Withdrawals forbidden" | As it should be |
| "The key allows withdrawals — such a key is not accepted. Turn withdrawals off on the exchange." | Make a key without the Transfer permission |
| "The key does not allow trading." | Turn on the Trade permission |
| "The exchange does not accept this key." | The name or the private key is wrong, the key is deleted, or it was made for other addresses (the server's address is not in the IP list) |
| "The key has a wrong form (extra spaces?)." | Paste the key name and the whole private key, each in its own field |
| "The exchange did not answer — try later." | No connection to Coinbase; it says nothing about the key |
Once a day the server checks the keys itself (The key's term and the daily check): if the key gets the Transfer permission or loses the right to trade, you get a message. To replace a key — "Replace key" in the connection's card while the connection's strategies are stopped (Replace the key).
Fees and tiers
- Coinbase's fee is always taken in the pair's currency (EUR or USDC), separately for each trade. A purchase brings exactly the quantity bought — there is no need to buy "a step more" for a fee in the coin, as on BingX and Bybit. A fee discount, if Coinbase sends one, counts as zero.
- The rate depends on the account's tier — on the trading volume of the last 30 days; Coinbase recalculates the tier every hour. Coinbase's starting rates are noticeably higher than Binance's (by reviews of the tariffs in autumn 2026 — about 0.25 % for orders that put liquidity in the book (maker) and 0.50 % for the rest (taker); the exact figures are at Coinbase). So on Coinbase set a TP above two fees.
- To plan the TP price the strategy reads your tier's maker rate from Coinbase — a TP is a limit order (The strategy's rules in detail). The strategy refreshes the rate once an hour; if it cannot, the previous rate holds for 6 hours, then the strategy waits (a technical fault, not an emergency). The entry and the averagings are counted by the fee Coinbase really charged.
Coinbase One
For Coinbase One subscribers Coinbase makes part of the trades with no fee or a smaller one — the terms change, see Coinbase's site. The strategy's books always go by the actual fee of each trade, so the subscription shows in the profit. The rate for planning the TP is the tier's rate that Coinbase gives; if the real fee is lower, the TP comes out a little above the break-even, with a margin.
Why there is no test environment
Coinbase has no test environment where orders are filled. Its sandbox answers with prepared responses and fills no orders, so in the app Coinbase has one environment — "live account" — without a "test network", "demo" or "demo account". Try the strategy with a small sum: make a portfolio with a small amount, take a liquid pair, for example BTC-EUR or ETH-USDC, and go through a cycle or two. The smallest order and the steps of price and quantity are taken from Coinbase for each pair; if the grid's parts are below the minimum, the strategy form says so as on the other exchanges.
Orders
- A limit order is GTC, that is, it stands until it is filled or taken off. It is not "post-only": a TP and the averagings must be filled, not refused if the price has already reached them.
- A market buy goes for a sum. The strategy sends a sum in the pair's currency: the planned quantity × the best ask, to 0.01 EUR or USDC (if the pair's currency is a coin, such as BTC or ETH, to 8 decimals). If the price could not be taken (a pause of requests), the order is not sent and goes to the next step. Bought more than planned — the extra is counted, less — the strategy buys the rest. A market sell goes by the coin's quantity.
- The order's number. The strategy sends Coinbase its own order number as it is; by it and by the number Coinbase gave, it later finds the order and takes it off.
- A cancel at Coinbase is not instant: the order counts as taken off when Coinbase has shown it closed.
- Accepted but not filled. Coinbase sometimes accepts an order and then rejects it (status FAILED). The strategy sees it on the check and treats it as a refusal: it does not repeat the order every step.
- A lost answer. If the answer to an order did not come, the strategy does not send it again blindly but looks for it: among the key's open orders, by Coinbase's number, then in the pair's history from the moment of sending. The conclusion "no such order" the strategy draws only 10 minutes after the sending: Coinbase's list may lag. Before that the outcome stays "unknown" and the strategy keeps finding out. If for an EEA account Coinbase asks for an extra confirmation (SCA) instead of the list of orders or trades, that is also "no answer", not "no such order".
- Trades the strategy takes from Coinbase's trade history (REST). Coinbase's event stream only wakes the strategy when an order is filled further or has ended — so the TP is placed fast, but the facts (price, quantity, fee) still come from the history. Coinbase sometimes shows a trade late: the strategy counts it when it appears, and an order with no trades is read again by its number after 2 minutes. While the TP's trade is missing, the strategy does not take the TP as filled; after a restart it waits for the trade of a partly filled TP up to 12 minutes and does not go into the "less asset on the account than counted" emergency (Emergencies and faults). Coinbase keeps one order book for a coin's USD and USDC pairs, so the strategy looks for a USDC pair's orders and trades under both names.
"Limit orders only"
Sometimes Coinbase puts a pair into the "limit orders only" mode (limit_only, and also an auction after a trading halt): limit orders are taken, market ones are not. Then:
- the pair trades: limit orders (a limit entry, the averagings) go, the TP is moved;
- a market entry waits: the strategy does not send a market order and does not count it as an error, it tries again on the next steps. The cycle is not interrupted and the orders on the exchange stay;
- if the wait drags on, after 15 minutes the strategy tells it in one message, "🟠 Coinbase halted trading of the pair" — it is not an emergency, the strategies work: the strategy waits and tries again. When the restriction is lifted, "✅ Trading of the pair is back" comes (Telegram messages);
- your manual "Market" purchase in this mode ends with an error ("Manual N: the market buy was not made") and is not repeated — buy with a limit order (Control).
If a pair is stopped entirely (trading_disabled, cancel_only, post_only, view_only, the pair is disabled or not in the online status), a new cycle does not start and nothing is sent; the strategy waits, and after 15 minutes it says "Coinbase halted trading of the pair".
Other
- Request limits. Coinbase counts private requests per user (about 30 a second) and public ones per server address (10 a second for everyone). The app keeps a margin (24 and 8 a second); a TP goes out of turn. If Coinbase answered "too often" (429), the strategies on it pause, and TPs are placed first. Coinbase may tighten its limits in high volatility.
- The clock. Every request is signed with its own token for 2 minutes. The app checks its clock against Coinbase's every 30 minutes and after a refusal; an order whose time has run out is not sent.
- Reports. The group in reports is "Coinbase". The coin rates are from Coinbase if you have no live connections to Binance, BingX and Bybit (History and reports).
- Strategies of one portfolio may trade with each other: a trade is two rows, each strategy counts its own.
If something is wrong
| What you see | What it means |
|---|---|
| "The exchange does not accept this key." | See the table above: the key, the IP list, the kind of key |
| "This market of the exchange account is already connected as '…'" | This portfolio is already connected; one portfolio — one connection |
| "Coinbase trades “buy first” only…" | For Coinbase choose "Buy first" |
| "Coinbase halted trading of the pair" | The pair is stopped by Coinbase or takes limit orders only; the strategy waits and tries again |