wiki/exchanges/cex.md
<a name="cex" id="cex"></a>
Kind: global class
Extends: <code>Exchange</code>
<a name="fetchCurrencies" id="fetchcurrencies"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | <code>dict</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchCurrencies ([params])
<a name="fetchMarkets" id="fetchmarkets"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchMarkets ([params])
<a name="fetchTime" id="fetchtime"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchTime ([params])
<a name="fetchTicker" id="fetchticker"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchTicker (symbol[, params])
<a name="fetchTickers" id="fetchtickers"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbols | <code>Array<string></code>, <code>undefined</code> | Yes | unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchTickers (symbols[, params])
<a name="fetchTrades" id="fetchtrades"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch trades for |
| since | <code>int</code> | No | timestamp in ms of the earliest trade to fetch |
| limit | <code>int</code> | No | the maximum amount of trades to fetch |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.until | <code>int</code> | No | timestamp in ms of the latest entry |
cex.fetchTrades (symbol[, since, limit, params])
<a name="fetchOrderBook" id="fetchorderbook"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch the order book for |
| limit | <code>int</code> | No | the maximum amount of order book entries to return |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchOrderBook (symbol[, limit, params])
<a name="fetchOHLCV" id="fetchohlcv"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch OHLCV data for |
| timeframe | <code>string</code> | Yes | the length of time each candle represents |
| since | <code>int</code> | No | timestamp in ms of the earliest candle to fetch |
| limit | <code>int</code> | No | the maximum amount of candles to fetch |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.until | <code>int</code> | No | timestamp in ms of the latest entry |
cex.fetchOHLCV (symbol, timeframe[, since, limit, params])
<a name="fetchTradingFees" id="fetchtradingfees"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchTradingFees ([params])
<a name="fetchBalance" id="fetchbalance"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.method | <code>object</code> | No | 'privatePostGetMyWalletBalance' or 'privatePostGetMyAccountStatusV3' |
| params.account | <code>object</code> | No | in case 'privatePostGetMyAccountStatusV3' is chosen, this can specify the account name (default is empty string) |
cex.fetchBalance ([params])
<a name="fetchOrders" id="fetchorders"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| status | <code>string</code> | Yes | order status to fetch for |
| symbol | <code>string</code> | Yes | unified market symbol of the market orders were made in |
| since | <code>int</code> | No | the earliest time in ms to fetch orders for |
| limit | <code>int</code> | No | the maximum number of order structures to retrieve |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.until | <code>int</code> | No | timestamp in ms of the latest entry |
cex.fetchOrders (status, symbol[, since, limit, params])
<a name="fetchClosedOrders" id="fetchclosedorders"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified market symbol of the market orders were made in |
| since | <code>int</code> | No | timestamp in ms of the earliest order, default is undefined |
| limit | <code>int</code> | No | max number of orders to return, default is undefined |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchClosedOrders (symbol[, since, limit, params])
<a name="fetchOpenOrders" id="fetchopenorders"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified market symbol of the market orders were made in |
| since | <code>int</code> | No | timestamp in ms of the earliest order, default is undefined |
| limit | <code>int</code> | No | max number of orders to return, default is undefined |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchOpenOrders (symbol[, since, limit, params])
<a name="fetchOpenOrder" id="fetchopenorder"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| id | <code>string</code> | Yes | order id |
| symbol | <code>string</code> | No | unified symbol of the market the order was made in |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchOpenOrder (id[, symbol, params])
<a name="fetchClosedOrder" id="fetchclosedorder"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| id | <code>string</code> | Yes | order id |
| symbol | <code>string</code> | No | unified symbol of the market the order was made in |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchClosedOrder (id[, symbol, params])
<a name="createOrder" id="createorder"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified 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> | Yes | how much of currency you want to trade in units of base currency |
| price | <code>float</code> | No | the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.accountId | <code>string</code> | No | account-id to use (default is empty string) |
| params.triggerPrice | <code>float</code> | No | the price at which a trigger order is triggered at |
cex.createOrder (symbol, type, side, amount[, price, params])
<a name="cancelOrder" id="cancelorder"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| id | <code>string</code> | Yes | order id |
| symbol | <code>string</code> | Yes | unified symbol of the market the order was made in |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.cancelOrder (id, symbol[, params])
<a name="cancelAllOrders" id="cancelallorders"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | alpaca cancelAllOrders cannot setting symbol, it will cancel all open orders |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.cancelAllOrders (symbol[, params])
<a name="fetchLedger" id="fetchledger"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| code | <code>string</code> | No | unified currency code |
| since | <code>int</code> | No | timestamp in ms of the earliest ledger entry |
| limit | <code>int</code> | No | max number of ledger entries to return |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.until | <code>int</code> | No | timestamp in ms of the latest ledger entry |
cex.fetchLedger ([code, since, limit, params])
<a name="fetchDepositsWithdrawals" id="fetchdepositswithdrawals"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| code | <code>string</code> | No | unified currency code for the currency of the deposit/withdrawals, default is undefined |
| since | <code>int</code> | No | timestamp in ms of the earliest deposit/withdrawal, default is undefined |
| limit | <code>int</code> | No | max number of deposit/withdrawals to return, default is undefined |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.fetchDepositsWithdrawals ([code, since, limit, params])
<a name="transfer" id="transfer"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| code | <code>string</code> | Yes | unified currency code |
| amount | <code>float</code> | Yes | amount to transfer |
| fromAccount | <code>string</code> | Yes | 'SPOT', 'FUND', or 'CONTRACT' |
| toAccount | <code>string</code> | Yes | 'SPOT', 'FUND', or 'CONTRACT' |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.transfer (code, amount, fromAccount, toAccount[, params])
<a name="fetchDepositAddress" id="fetchdepositaddress"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| code | <code>string</code> | Yes | unified currency code |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.accountId | <code>string</code> | No | account-id (default to empty string) to refer to (at this moment, only sub-accounts allowed by exchange) |
cex.fetchDepositAddress (code[, params])
<a name="watchBalance" id="watchbalance"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.watchBalance ([params])
<a name="watchTrades" id="watchtrades"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch trades for |
| since | <code>int</code> | No | timestamp in ms of the earliest trade to fetch |
| limit | <code>int</code> | No | the maximum amount of trades to fetch |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.watchTrades (symbol[, since, limit, params])
<a name="watchTicker" id="watchticker"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch the ticker for |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
| params.method | <code>string</code> | No | public or private |
cex.watchTicker (symbol[, params])
<a name="watchTickers" id="watchtickers"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbols | <code>Array<string></code>, <code>undefined</code> | Yes | unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.watchTickers (symbols[, params])
<a name="fetchTickerWs" id="fetchtickerws"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch the ticker for |
| params | <code>object</code> | No | extra parameters specific to the cex api endpoint |
cex.fetchTickerWs (symbol[, params])
<a name="fetchBalanceWs" id="fetchbalancews"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | <code>object</code> | No | extra parameters specific to the cex api endpoint |
cex.fetchBalanceWs ([params])
<a name="watchOrders" id="watchorders"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch trades for |
| since | <code>int</code> | No | timestamp in ms of the earliest trade to fetch |
| limit | <code>int</code> | No | the maximum amount of trades to fetch |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.watchOrders (symbol[, since, limit, params])
<a name="watchMyTrades" id="watchmytrades"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch trades for |
| since | <code>int</code> | No | timestamp in ms of the earliest trade to fetch |
| limit | <code>int</code> | No | the maximum amount of trades to fetch |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.watchMyTrades (symbol[, since, limit, params])
<a name="watchOrderBook" id="watchorderbook"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch the order book for |
| limit | <code>int</code> | No | the maximum amount of order book entries to return |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.watchOrderBook (symbol[, limit, params])
<a name="watchOHLCV" id="watchohlcv"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified symbol of the market to fetch OHLCV data for |
| timeframe | <code>string</code> | Yes | the length of time each candle represents. |
| since | <code>int</code> | No | timestamp in ms of the earliest candle to fetch |
| limit | <code>int</code> | No | the maximum amount of candles to fetch |
| params | <code>object</code> | No | extra parameters specific to the exchange API endpoint |
cex.watchOHLCV (symbol, timeframe[, since, limit, params])
<a name="fetchOrderWs" id="fetchorderws"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| id | <code>string</code> | Yes | the order id |
| symbol | <code>string</code> | Yes | not used by cex fetchOrder |
| params | <code>object</code> | No | extra parameters specific to the cex api endpoint |
cex.fetchOrderWs (id, symbol[, params])
<a name="fetchOpenOrdersWs" id="fetchopenordersws"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified market symbol |
| since | <code>int</code> | No | the earliest time in ms to fetch open orders for |
| limit | <code>int</code> | No | the maximum number of open orders structures to retrieve |
| params | <code>object</code> | No | extra parameters specific to the cex api endpoint |
cex.fetchOpenOrdersWs (symbol[, since, limit, params])
<a name="createOrderWs" id="createorderws"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | <code>string</code> | Yes | unified 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> | Yes | how much of currency you want to trade in units of base currency |
| price | <code>float</code> | Yes | the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders |
| params | <code>object</code> | No | extra parameters specific to the kraken api endpoint |
| params.maker_only | <code>boolean</code> | No | Optional, 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" |
cex.createOrderWs (symbol, type, side, amount, price[, params])
<a name="editOrderWs" id="editorderws"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| id | <code>string</code> | Yes | order id |
| symbol | <code>string</code> | Yes | unified 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> | Yes | how much of the currency you want to trade in units of the base currency |
| price | <code>float</code>, <code>undefined</code> | No | the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders |
| params | <code>object</code> | No | extra parameters specific to the cex api endpoint |
cex.editOrderWs (id, symbol, type, side, amount[, price, params])
<a name="cancelOrderWs" id="cancelorderws"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| id | <code>string</code> | Yes | order id |
| symbol | <code>string</code> | Yes | not used by cex cancelOrder () |
| params | <code>object</code> | No | extra parameters specific to the cex api endpoint |
cex.cancelOrderWs (id, symbol[, params])
<a name="cancelOrdersWs" id="cancelordersws"></a>
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
| Param | Type | Required | Description |
|---|---|---|---|
| ids | <code>Array<string></code> | Yes | order ids |
| symbol | <code>string</code> | Yes | not used by cex cancelOrders() |
| params | <code>object</code> | No | extra parameters specific to the cex api endpoint |
cex.cancelOrdersWs (ids, symbol[, params])