Back to Ccxt

Cex

wiki/exchanges/cex.md

4.5.5232.8 KB
Original Source

<a name="cex" id="cex"></a>

cex{docsify-ignore}

Kind: global class
Extends: <code>Exchange</code>

<a name="fetchCurrencies" id="fetchcurrencies"></a>

fetchCurrencies{docsify-ignore}

fetches all available currencies on an exchange

Kind: instance method of <code>cex</code>
Returns: <code>dict</code> - an associative dictionary of currencies

See: https://trade.cex.io/docs/#rest-public-api-calls-currencies-info

ParamTypeRequiredDescription
params<code>dict</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchCurrencies ([params])

<a name="fetchMarkets" id="fetchmarkets"></a>

fetchMarkets{docsify-ignore}

retrieves data on all markets for ace

Kind: instance method of <code>cex</code>
Returns: <code>Array<object></code> - an array of objects representing market data

See: https://trade.cex.io/docs/#rest-public-api-calls-pairs-info

ParamTypeRequiredDescription
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchMarkets ([params])

<a name="fetchTime" id="fetchtime"></a>

fetchTime{docsify-ignore}

fetches the current integer timestamp in milliseconds from the exchange server

Kind: instance method of <code>cex</code>
Returns: <code>int</code> - the current integer timestamp in milliseconds from the exchange server

ParamTypeRequiredDescription
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchTime ([params])

<a name="fetchTicker" id="fetchticker"></a>

fetchTicker{docsify-ignore}

fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a dictionary of ticker structures

See: https://trade.cex.io/docs/#rest-public-api-calls-ticker

ParamTypeRequiredDescription
symbol<code>string</code>Yes
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchTicker (symbol[, params])

<a name="fetchTickers" id="fetchtickers"></a>

fetchTickers{docsify-ignore}

fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a dictionary of ticker structures

See: https://trade.cex.io/docs/#rest-public-api-calls-ticker

ParamTypeRequiredDescription
symbols<code>Array<string></code>, <code>undefined</code>Yesunified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchTickers (symbols[, params])

<a name="fetchTrades" id="fetchtrades"></a>

fetchTrades{docsify-ignore}

get the list of most recent trades for a particular symbol

Kind: instance method of <code>cex</code>
Returns: <code>Array<Trade></code> - a list of trade structures

See: https://trade.cex.io/docs/#rest-public-api-calls-trade-history

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch trades for
since<code>int</code>Notimestamp in ms of the earliest trade to fetch
limit<code>int</code>Nothe maximum amount of trades to fetch
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.until<code>int</code>Notimestamp in ms of the latest entry
javascript
cex.fetchTrades (symbol[, since, limit, params])

<a name="fetchOrderBook" id="fetchorderbook"></a>

fetchOrderBook{docsify-ignore}

fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - A dictionary of order book structures indexed by market symbols

See: https://trade.cex.io/docs/#rest-public-api-calls-order-book

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch the order book for
limit<code>int</code>Nothe maximum amount of order book entries to return
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchOrderBook (symbol[, limit, params])

<a name="fetchOHLCV" id="fetchohlcv"></a>

fetchOHLCV{docsify-ignore}

fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market

Kind: instance method of <code>cex</code>
Returns: <code>Array<Array<int>></code> - A list of candles ordered as timestamp, open, high, low, close, volume

See: https://trade.cex.io/docs/#rest-public-api-calls-candles

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch OHLCV data for
timeframe<code>string</code>Yesthe length of time each candle represents
since<code>int</code>Notimestamp in ms of the earliest candle to fetch
limit<code>int</code>Nothe maximum amount of candles to fetch
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.until<code>int</code>Notimestamp in ms of the latest entry
javascript
cex.fetchOHLCV (symbol, timeframe[, since, limit, params])

<a name="fetchTradingFees" id="fetchtradingfees"></a>

fetchTradingFees{docsify-ignore}

fetch the trading fees for multiple markets

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a dictionary of fee structures indexed by market symbols

See: https://trade.cex.io/docs/#rest-public-api-calls-candles

ParamTypeRequiredDescription
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchTradingFees ([params])

<a name="fetchBalance" id="fetchbalance"></a>

fetchBalance{docsify-ignore}

query for balance and get the amount of funds available for trading or funds locked in orders

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a balance structure

See: https://trade.cex.io/docs/#rest-private-api-calls-account-status-v3

ParamTypeRequiredDescription
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.method<code>object</code>No'privatePostGetMyWalletBalance' or 'privatePostGetMyAccountStatusV3'
params.account<code>object</code>Noin case 'privatePostGetMyAccountStatusV3' is chosen, this can specify the account name (default is empty string)
javascript
cex.fetchBalance ([params])

<a name="fetchOrders" id="fetchorders"></a>

fetchOrders{docsify-ignore}

fetches information on multiple orders made by the user

Kind: instance method of <code>cex</code>
Returns: <code>Array<Order></code> - a list of order structures

See: https://trade.cex.io/docs/#rest-private-api-calls-orders

ParamTypeRequiredDescription
status<code>string</code>Yesorder status to fetch for
symbol<code>string</code>Yesunified market symbol of the market orders were made in
since<code>int</code>Nothe earliest time in ms to fetch orders for
limit<code>int</code>Nothe maximum number of order structures to retrieve
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.until<code>int</code>Notimestamp in ms of the latest entry
javascript
cex.fetchOrders (status, symbol[, since, limit, params])

<a name="fetchClosedOrders" id="fetchclosedorders"></a>

fetchClosedOrders{docsify-ignore}

fetches information on multiple canceled orders made by the user

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a list of order structures

See: https://trade.cex.io/docs/#rest-private-api-calls-orders

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified market symbol of the market orders were made in
since<code>int</code>Notimestamp in ms of the earliest order, default is undefined
limit<code>int</code>Nomax number of orders to return, default is undefined
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchClosedOrders (symbol[, since, limit, params])

<a name="fetchOpenOrders" id="fetchopenorders"></a>

fetchOpenOrders{docsify-ignore}

fetches information on multiple canceled orders made by the user

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a list of order structures

See: https://trade.cex.io/docs/#rest-private-api-calls-orders

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified market symbol of the market orders were made in
since<code>int</code>Notimestamp in ms of the earliest order, default is undefined
limit<code>int</code>Nomax number of orders to return, default is undefined
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchOpenOrders (symbol[, since, limit, params])

<a name="fetchOpenOrder" id="fetchopenorder"></a>

fetchOpenOrder{docsify-ignore}

fetches information on an open order made by the user

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - an order structure

See: https://trade.cex.io/docs/#rest-private-api-calls-orders

ParamTypeRequiredDescription
id<code>string</code>Yesorder id
symbol<code>string</code>Nounified symbol of the market the order was made in
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchOpenOrder (id[, symbol, params])

<a name="fetchClosedOrder" id="fetchclosedorder"></a>

fetchClosedOrder{docsify-ignore}

fetches information on an closed order made by the user

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - an order structure

See: https://trade.cex.io/docs/#rest-private-api-calls-orders

ParamTypeRequiredDescription
id<code>string</code>Yesorder id
symbol<code>string</code>Nounified symbol of the market the order was made in
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchClosedOrder (id[, symbol, params])

<a name="createOrder" id="createorder"></a>

createOrder{docsify-ignore}

create a trade order

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - an order structure

See: https://trade.cex.io/docs/#rest-private-api-calls-new-order

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to create an order in
type<code>string</code>Yes'market' or 'limit'
side<code>string</code>Yes'buy' or 'sell'
amount<code>float</code>Yeshow much of currency you want to trade in units of base currency
price<code>float</code>Nothe price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.accountId<code>string</code>Noaccount-id to use (default is empty string)
params.triggerPrice<code>float</code>Nothe price at which a trigger order is triggered at
javascript
cex.createOrder (symbol, type, side, amount[, price, params])

<a name="cancelOrder" id="cancelorder"></a>

cancelOrder{docsify-ignore}

cancels an open order

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - An order structure

See: https://trade.cex.io/docs/#rest-private-api-calls-cancel-order

ParamTypeRequiredDescription
id<code>string</code>Yesorder id
symbol<code>string</code>Yesunified symbol of the market the order was made in
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.cancelOrder (id, symbol[, params])

<a name="cancelAllOrders" id="cancelallorders"></a>

cancelAllOrders{docsify-ignore}

cancel all open orders in a market

Kind: instance method of <code>cex</code>
Returns: <code>Array<object></code> - a list of order structures

See: https://trade.cex.io/docs/#rest-private-api-calls-cancel-all-orders

ParamTypeRequiredDescription
symbol<code>string</code>Yesalpaca cancelAllOrders cannot setting symbol, it will cancel all open orders
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.cancelAllOrders (symbol[, params])

<a name="fetchLedger" id="fetchledger"></a>

fetchLedger{docsify-ignore}

fetch the history of changes, actions done by the user or operations that altered the balance of the user

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a ledger structure

See: https://trade.cex.io/docs/#rest-private-api-calls-transaction-history

ParamTypeRequiredDescription
code<code>string</code>Nounified currency code
since<code>int</code>Notimestamp in ms of the earliest ledger entry
limit<code>int</code>Nomax number of ledger entries to return
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.until<code>int</code>Notimestamp in ms of the latest ledger entry
javascript
cex.fetchLedger ([code, since, limit, params])

<a name="fetchDepositsWithdrawals" id="fetchdepositswithdrawals"></a>

fetchDepositsWithdrawals{docsify-ignore}

fetch history of deposits and withdrawals

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a list of transaction structure

See: https://trade.cex.io/docs/#rest-private-api-calls-funding-history

ParamTypeRequiredDescription
code<code>string</code>Nounified currency code for the currency of the deposit/withdrawals, default is undefined
since<code>int</code>Notimestamp in ms of the earliest deposit/withdrawal, default is undefined
limit<code>int</code>Nomax number of deposit/withdrawals to return, default is undefined
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.fetchDepositsWithdrawals ([code, since, limit, params])

<a name="transfer" id="transfer"></a>

transfer{docsify-ignore}

transfer currency internally between wallets on the same account

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a transfer structure

See: https://trade.cex.io/docs/#rest-private-api-calls-internal-transfer

ParamTypeRequiredDescription
code<code>string</code>Yesunified currency code
amount<code>float</code>Yesamount to transfer
fromAccount<code>string</code>Yes'SPOT', 'FUND', or 'CONTRACT'
toAccount<code>string</code>Yes'SPOT', 'FUND', or 'CONTRACT'
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.transfer (code, amount, fromAccount, toAccount[, params])

<a name="fetchDepositAddress" id="fetchdepositaddress"></a>

fetchDepositAddress{docsify-ignore}

fetch the deposit address for a currency associated with this account

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - an address structure

See: https://trade.cex.io/docs/#rest-private-api-calls-deposit-address

ParamTypeRequiredDescription
code<code>string</code>Yesunified currency code
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.accountId<code>string</code>Noaccount-id (default to empty string) to refer to (at this moment, only sub-accounts allowed by exchange)
javascript
cex.fetchDepositAddress (code[, params])

<a name="watchBalance" id="watchbalance"></a>

watchBalance{docsify-ignore}

watch balance and get the amount of funds available for trading or funds locked in orders

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a balance structure

See: https://cex.io/websocket-api#get-balance

ParamTypeRequiredDescription
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.watchBalance ([params])

<a name="watchTrades" id="watchtrades"></a>

watchTrades{docsify-ignore}

get the list of most recent trades for a particular symbol. Note: can only watch one symbol at a time.

Kind: instance method of <code>cex</code>
Returns: <code>Array<object></code> - a list of trade structures

See: https://cex.io/websocket-api#old-pair-room

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch trades for
since<code>int</code>Notimestamp in ms of the earliest trade to fetch
limit<code>int</code>Nothe maximum amount of trades to fetch
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.watchTrades (symbol[, since, limit, params])

<a name="watchTicker" id="watchticker"></a>

watchTicker{docsify-ignore}

watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a ticker structure

See: https://cex.io/websocket-api#ticker-subscription

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch the ticker for
params<code>object</code>Noextra parameters specific to the exchange API endpoint
params.method<code>string</code>Nopublic or private
javascript
cex.watchTicker (symbol[, params])

<a name="watchTickers" id="watchtickers"></a>

watchTickers{docsify-ignore}

watches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a dictionary of ticker structures

See: https://cex.io/websocket-api#ticker-subscription

ParamTypeRequiredDescription
symbols<code>Array<string></code>, <code>undefined</code>Yesunified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.watchTickers (symbols[, params])

<a name="fetchTickerWs" id="fetchtickerws"></a>

fetchTickerWs{docsify-ignore}

fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a ticker structure

See: https://docs.cex.io/#ws-api-ticker-deprecated

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch the ticker for
params<code>object</code>Noextra parameters specific to the cex api endpoint
javascript
cex.fetchTickerWs (symbol[, params])

<a name="fetchBalanceWs" id="fetchbalancews"></a>

fetchBalanceWs{docsify-ignore}

query for balance and get the amount of funds available for trading or funds locked in orders

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a balance structure

See: https://docs.cex.io/#ws-api-get-balance

ParamTypeRequiredDescription
params<code>object</code>Noextra parameters specific to the cex api endpoint
javascript
cex.fetchBalanceWs ([params])

<a name="watchOrders" id="watchorders"></a>

watchOrders{docsify-ignore}

get the list of orders associated with the user. Note: In CEX.IO system, orders can be present in trade engine or in archive database. There can be time periods (~2 seconds or more), when order is done/canceled, but still not moved to archive database. That means, you cannot see it using calls: archived-orders/open-orders.

Kind: instance method of <code>cex</code>
Returns: <code>Array<object></code> - a list of trade structures

See: https://docs.cex.io/#ws-api-open-orders

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch trades for
since<code>int</code>Notimestamp in ms of the earliest trade to fetch
limit<code>int</code>Nothe maximum amount of trades to fetch
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.watchOrders (symbol[, since, limit, params])

<a name="watchMyTrades" id="watchmytrades"></a>

watchMyTrades{docsify-ignore}

get the list of trades associated with the user. Note: In CEX.IO system, orders can be present in trade engine or in archive database. There can be time periods (~2 seconds or more), when order is done/canceled, but still not moved to archive database. That means, you cannot see it using calls: archived-orders/open-orders.

Kind: instance method of <code>cex</code>
Returns: <code>Array<object></code> - a list of trade structures

See: https://docs.cex.io/#ws-api-open-orders

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch trades for
since<code>int</code>Notimestamp in ms of the earliest trade to fetch
limit<code>int</code>Nothe maximum amount of trades to fetch
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.watchMyTrades (symbol[, since, limit, params])

<a name="watchOrderBook" id="watchorderbook"></a>

watchOrderBook{docsify-ignore}

watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - A dictionary of order book structures indexed by market symbols

See: https://cex.io/websocket-api#orderbook-subscribe

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch the order book for
limit<code>int</code>Nothe maximum amount of order book entries to return
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.watchOrderBook (symbol[, limit, params])

<a name="watchOHLCV" id="watchohlcv"></a>

watchOHLCV{docsify-ignore}

watches historical candlestick data containing the open, high, low, and close price, and the volume of a market. It will return the last 120 minutes with the selected timeframe and then 1m candle updates after that.

Kind: instance method of <code>cex</code>
Returns: <code>Array<Array<int>></code> - A list of candles ordered as timestamp, open, high, low, close, volume

See: https://cex.io/websocket-api#minute-data

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to fetch OHLCV data for
timeframe<code>string</code>Yesthe length of time each candle represents.
since<code>int</code>Notimestamp in ms of the earliest candle to fetch
limit<code>int</code>Nothe maximum amount of candles to fetch
params<code>object</code>Noextra parameters specific to the exchange API endpoint
javascript
cex.watchOHLCV (symbol, timeframe[, since, limit, params])

<a name="fetchOrderWs" id="fetchorderws"></a>

fetchOrderWs{docsify-ignore}

fetches information on an order made by the user

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - An order structure

See: https://docs.cex.io/#ws-api-get-order

ParamTypeRequiredDescription
id<code>string</code>Yesthe order id
symbol<code>string</code>Yesnot used by cex fetchOrder
params<code>object</code>Noextra parameters specific to the cex api endpoint
javascript
cex.fetchOrderWs (id, symbol[, params])

<a name="fetchOpenOrdersWs" id="fetchopenordersws"></a>

fetchOpenOrdersWs{docsify-ignore}

fetch all unfilled currently open orders

Kind: instance method of <code>cex</code>
Returns: <code>Array<Order></code> - a list of order structures

See: https://docs.cex.io/#ws-api-open-orders

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified market symbol
since<code>int</code>Nothe earliest time in ms to fetch open orders for
limit<code>int</code>Nothe maximum number of open orders structures to retrieve
params<code>object</code>Noextra parameters specific to the cex api endpoint
javascript
cex.fetchOpenOrdersWs (symbol[, since, limit, params])

<a name="createOrderWs" id="createorderws"></a>

createOrderWs{docsify-ignore}

create a trade order

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - an order structure

See: https://docs.cex.io/#ws-api-order-placement

ParamTypeRequiredDescription
symbol<code>string</code>Yesunified symbol of the market to create an order in
type<code>string</code>Yes'market' or 'limit'
side<code>string</code>Yes'buy' or 'sell'
amount<code>float</code>Yeshow much of currency you want to trade in units of base currency
price<code>float</code>Yesthe price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
params<code>object</code>Noextra parameters specific to the kraken api endpoint
params.maker_only<code>boolean</code>NoOptional, maker only places an order only if offers best sell (<= max) or buy(>= max) price for this pair, if not order placement will be rejected with an error - "Order is not maker"
javascript
cex.createOrderWs (symbol, type, side, amount, price[, params])

<a name="editOrderWs" id="editorderws"></a>

editOrderWs{docsify-ignore}

edit a trade order

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - an order structure

See: https://docs.cex.io/#ws-api-cancel-replace

ParamTypeRequiredDescription
id<code>string</code>Yesorder id
symbol<code>string</code>Yesunified symbol of the market to create an order in
type<code>string</code>Yes'market' or 'limit'
side<code>string</code>Yes'buy' or 'sell'
amount<code>float</code>Yeshow much of the currency you want to trade in units of the base currency
price<code>float</code>, <code>undefined</code>Nothe price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
params<code>object</code>Noextra parameters specific to the cex api endpoint
javascript
cex.editOrderWs (id, symbol, type, side, amount[, price, params])

<a name="cancelOrderWs" id="cancelorderws"></a>

cancelOrderWs{docsify-ignore}

cancels an open order

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - An order structure

See: https://docs.cex.io/#ws-api-order-cancel

ParamTypeRequiredDescription
id<code>string</code>Yesorder id
symbol<code>string</code>Yesnot used by cex cancelOrder ()
params<code>object</code>Noextra parameters specific to the cex api endpoint
javascript
cex.cancelOrderWs (id, symbol[, params])

<a name="cancelOrdersWs" id="cancelordersws"></a>

cancelOrdersWs{docsify-ignore}

cancel multiple orders

Kind: instance method of <code>cex</code>
Returns: <code>object</code> - a list of order structures

See: https://docs.cex.io/#ws-api-mass-cancel-place

ParamTypeRequiredDescription
ids<code>Array<string></code>Yesorder ids
symbol<code>string</code>Yesnot used by cex cancelOrders()
params<code>object</code>Noextra parameters specific to the cex api endpoint
javascript
cex.cancelOrdersWs (ids, symbol[, params])