CCXT

paymium

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

paymium

Kind: global class
Extends: Exchange

fetchBalance

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

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

See: https://paymium.github.io/api-documentation/#tag/User/operation/get-user-info

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

fetchOrderBook

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

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

See: https://paymium.github.io/api-documentation/#tag/Public-data/operation/get-market-depth

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
paymium.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 paymium
Returns: object - a ticker structure

See: https://paymium.github.io/api-documentation/#tag/Public-data/operation/get-latest-ticker

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

fetchTrades

get the list of most recent trades for a particular symbol

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

See: https://paymium.github.io/api-documentation/#tag/Public-data/operation/get-latest-trades

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
paymium.fetchTrades (symbol, since?, limit?, params?)

createDepositAddress

create a currency deposit address

Kind: instance method of paymium
Returns: object - an address structure

See: https://paymium.github.io/api-documentation/#tag/User/operation/create-deposit-address

ParamTypeRequiredDescription
codestringYesunified currency code of the currency for the deposit address
paramsobjectNoextra parameters specific to the exchange API endpoint
paymium.createDepositAddress (code, params?)

fetchDepositAddress

fetch the deposit address for a currency associated with this account

Kind: instance method of paymium
Returns: object - an address structure

See: https://paymium.github.io/api-documentation/#tag/User/operation/get-deposit-address

ParamTypeRequiredDescription
codestringYesunified currency code
paramsobjectNoextra parameters specific to the exchange API endpoint
paymium.fetchDepositAddress (code, params?)

fetchDepositAddresses

fetch deposit addresses for multiple currencies and chain types

Kind: instance method of paymium
Returns: object - a list of address structures

See: https://paymium.github.io/api-documentation/#tag/User/operation/get-deposit-addresses

ParamTypeRequiredDescription
codesArray<string>, undefinedYeslist of unified currency codes, default is undefined
paramsobjectNoextra parameters specific to the exchange API endpoint
paymium.fetchDepositAddresses (codes, params?)

createOrder

create a trade order

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

See: https://paymium.github.io/api-documentation/#tag/Order/operation/create-order

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
paymium.createOrder (symbol, type, side, amount, price?, params?)

cancelOrder

cancels an open order

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

See: https://paymium.github.io/api-documentation/#tag/Order/operation/cancel-order

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

transfer

transfer currency internally between wallets on the same account

Kind: instance method of paymium
Returns: object - a transfer structure

See: https://paymium.github.io/api-documentation/#tag/Transfer/operation/create-email-transfer

ParamTypeRequiredDescription
codestringYesunified currency code
amountfloatYesamount to transfer
fromAccountstringYesaccount to transfer from
toAccountstringYesaccount to transfer to
paramsobjectNoextra parameters specific to the exchange API endpoint
paymium.transfer (code, amount, fromAccount, toAccount, params?)

On this page