Crypto.com spot command cheat sheet

Autoview · Guide

This page lists every Crypto.com spot order you can place from an Autoview alert, with a copy-ready command for each one. It assumes you already know the shape of an Autoview command. If you don't, read the command reference first, then come back here for the Crypto.com specifics: the pair symbols, the order types it accepts, and the one habit futures traders need to drop when they trade spot. For the full parameter-by-parameter detail, see the Crypto.com command reference.

Every command below was sent to live Crypto.com before it went on this page, either at the minimum order size or at a price that could not fill, then cancelled. The behavior you read here is the behavior the exchange returned. Nothing is hand-typed or assumed.

Spot, not futures

These commands are for a Crypto.com spot account, where you buy and hold the coin itself. There is no leverage, no short side, and no position to manage. You own a balance, and you sell it when you want out. That one fact changes how you close a trade, which is the last section on this page and the part worth reading twice.

Name the pair

s= is the pair, written as the coin you are buying or selling, an underscore, then the currency you are pricing it in. s=BTC_USD is Bitcoin priced in US dollars. s=ETH_USD is Ether in dollars. Autoview passes the pair through exactly as you type it, so a pair Crypto.com does not list is rejected by the exchange, not by us.

Route to Crypto.com

e=CRYPTO sends the order to your connected Crypto.com account. Every example below starts with it.

The order types

Pick a row, copy the command, change the pair and size to yours. t= sets the order type and defaults to limit, so a market order sets it explicitly.

OrderCommand
Market buye=CRYPTO s=BTC_USD b=buy t=market q=0.0001
Market selle=CRYPTO s=BTC_USD b=sell t=market q=0.0001
Limite=CRYPTO s=BTC_USD b=buy t=limit fp=60000 q=0.0001
Immediate or cancele=CRYPTO s=BTC_USD b=buy t=ioc fp=60000 q=0.0001
Fill or kille=CRYPTO s=BTC_USD b=buy t=fok fp=60000 q=0.0001

A note on the price parameter: fp= is the fixed limit price, the price a limit order rests at. The f in front means a fixed, absolute number. A market order does not take a price, so leave fp= off when t=market.

t=ioc fills whatever it can right away and cancels the rest. t=fok fills the whole order at once or cancels all of it. If neither can act at your price the moment it lands, Crypto.com rejects it rather than resting it, which is the point of both.

Size in coins

q= is the quantity, and on a spot pair it is an amount of the coin, not a number of contracts.

  • q=0.0001 on BTC_USD buys or sells 0.0001 BTC.
  • q=50% uses half your available balance, sized at fill time.

Leave q= off and Autoview uses 100% of the balance. On a buy that spends your whole quote balance, on a sell it offloads the entire coin. Set the size you mean on every order. This is the cheapest mistake to avoid and the easiest one to make.

Crypto.com also sets a minimum order value. An order worth only a few cents comes back rejected with a BELOW_MIN_ORDER_SIZE error, so keep the size comfortably above a dollar or so of value.

Closing out: sell, do not "close"

This is where spot differs from futures, and where a futures habit will quietly do nothing. On a futures or margin account you flatten with c=position or c=all. On Crypto.com spot, neither one is your exit:

  • c=position finds nothing to act on. A spot holding is a balance, not a position, so this command reports "no positions found" and leaves your coins exactly where they are.
  • c=all is not available on Crypto.com at all.

To get out of a spot trade, place a sell for the amount you hold:

e=CRYPTO s=BTC_USD b=sell t=market q=0.0001

That is the exit. If you have a resting limit order you want to call off, c=order cancels working orders on the pair without selling anything:

e=CRYPTO s=BTC_USD c=order

Test before you go live

Append d=1 to any command and Autoview parses it, reports what it would have done, and places nothing:

e=CRYPTO s=BTC_USD b=buy t=market q=0.0001 d=1

That is the safest first run for a command you've just written. Read the log, confirm the pair, side, and size are what you meant, then drop d=1 and let it fill. For more on reading the log and dry-running, see test and debug your setup.

Connect Crypto.com