CCXT

coinmate

coinmate cryptocurrency exchange — CCXT unified API: methods, parameters and endpoints.

coinmate

Kind: global class
Extends: Exchange

fetchTime

fetches the current integer timestamp in milliseconds from the bingx server

Kind: instance method of coinmate
Returns: int - the current integer timestamp in milliseconds from the bingx server

See: https://coinmate.docs.apiary.io/#reference/system/get-server-time/get

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchTime (params?)

fetchMarkets

retrieves data on all markets for coinmate

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

See: https://coinmate.docs.apiary.io/#reference/trading-pairs/get-trading-pairs/get

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchMarkets (params?)

fetchBalance

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

Kind: instance method of coinmate
Returns: object - a balance structure

See: https://coinmate.docs.apiary.io/#reference/balance/get-balances/post

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchBalance (params?)

fetchOrderBook

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

Kind: instance method of coinmate
Returns: object - A dictionary of order book structures indexed by market symbols

See: https://coinmate.docs.apiary.io/#reference/order-book/get-order-book/get

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch the order book for
limitintNothe maximum amount of order book entries to return
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchOrderBook (symbol, limit?, params?)

fetchTicker

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

Kind: instance method of coinmate
Returns: object - a ticker structure

See: https://coinmate.docs.apiary.io/#reference/ticker/get-ticker/get

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch the ticker for
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchTicker (symbol, params?)

fetchTickers

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

Kind: instance method of coinmate
Returns: object - a dictionary of ticker structures

See: https://coinmate.docs.apiary.io/#reference/ticker/get-ticker-all/get

ParamTypeRequiredDescription
symbolsArray<string>, undefinedYesunified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchTickers (symbols, params?)

fetchDepositsWithdrawals

fetch history of deposits and withdrawals

Kind: instance method of coinmate
Returns: object - a list of transaction structure

See: https://coinmate.docs.apiary.io/#reference/transfers/get-transfer-history/post

ParamTypeRequiredDescription
codestringNounified currency code for the currency of the deposit/withdrawals, default is undefined
sinceintNotimestamp in ms of the earliest deposit/withdrawal, default is undefined
limitintNomax number of deposit/withdrawals to return, default is undefined
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchDepositsWithdrawals (code?, since?, limit?, params?)

withdraw

make a withdrawal

Kind: instance method of coinmate
Returns: object - a transaction structure

See

ParamTypeRequiredDescription
codestringYesunified currency code
amountfloatYesthe amount to withdraw
addressstringYesthe address to withdraw to
tagstringYes
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.withdraw (code, amount, address, tag, params?)

fetchMyTrades

fetch all trades made by the user

Kind: instance method of coinmate
Returns: Array<Trade> - a list of trade structures

See: https://coinmate.docs.apiary.io/#reference/trade-history/get-trade-history/post

ParamTypeRequiredDescription
symbolstringYesunified market symbol
sinceintNothe earliest time in ms to fetch trades for
limitintNothe maximum number of trades structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchMyTrades (symbol, since?, limit?, params?)

fetchTrades

get the list of most recent trades for a particular symbol

Kind: instance method of coinmate
Returns: Array<Trade> - a list of trade structures

See: https://coinmate.docs.apiary.io/#reference/transactions/transactions/get

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch trades for
sinceintNotimestamp in ms of the earliest trade to fetch
limitintNothe maximum amount of trades to fetch
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchTrades (symbol, since?, limit?, params?)

fetchTradingFee

fetch the trading fees for a market

Kind: instance method of coinmate
Returns: object - a fee structure

See: https://coinmate.docs.apiary.io/#reference/trader-fees/get-trading-fees/post

ParamTypeRequiredDescription
symbolstringYesunified market symbol
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchTradingFee (symbol, params?)

fetchOpenOrders

fetch all unfilled currently open orders

Kind: instance method of coinmate
Returns: Array<Order> - a list of order structures

See: https://coinmate.docs.apiary.io/#reference/order/get-open-orders/post

ParamTypeRequiredDescription
symbolstringYesunified market symbol
sinceintNothe earliest time in ms to fetch open orders for
limitintNothe maximum number of open orders structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchOpenOrders (symbol, since?, limit?, params?)

fetchOrders

fetches information on multiple orders made by the user

Kind: instance method of coinmate
Returns: Array<Order> - a list of order structures

See: https://coinmate.docs.apiary.io/#reference/order/order-history/post

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the market orders were made in
sinceintNothe earliest time in ms to fetch orders for
limitintNothe maximum number of order structures to retrieve
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchOrders (symbol, since?, limit?, params?)

createOrder

create a trade order

Kind: instance method of coinmate
Returns: object - an order structure

See

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to create an order in
typestringYes'market' or 'limit'
sidestringYes'buy' or 'sell'
amountfloatYeshow much of currency you want to trade in units of base currency
pricefloatNothe price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.createOrder (symbol, type, side, amount, price?, params?)

fetchOrder

fetches information on an order made by the user

Kind: instance method of coinmate
Returns: object - An order structure

See

ParamTypeRequiredDescription
idstringYesorder id
symbolstringYesunified symbol of the market the order was made in
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.fetchOrder (id, symbol, params?)

cancelOrder

cancels an open order

Kind: instance method of coinmate
Returns: object - An order structure

See: https://coinmate.docs.apiary.io/#reference/order/cancel-order/post

ParamTypeRequiredDescription
idstringYesorder id
symbolstringYesnot used by coinmate cancelOrder ()
paramsobjectNoextra parameters specific to the exchange API endpoint
coinmate.cancelOrder (id, symbol, params?)

On this page