-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
paymium
Kind: global class
Extends: Exchange
- fetchBalance
- fetchOrderBook
- fetchTicker
- fetchTrades
- createDepositAddress
- fetchDepositAddress
- fetchDepositAddresses
- createOrder
- cancelOrder
- transfer
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
| Param | Type | Required | Description |
|---|---|---|---|
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.fetchBalance (params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | string |
Yes | unified symbol of the market to fetch the order book for |
| limit | int |
No | the maximum amount of order book entries to return |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.fetchOrderBook (symbol, limit?, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | string |
Yes | unified symbol of the market to fetch the ticker for |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.fetchTicker (symbol, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | string |
Yes | unified symbol of the market to fetch trades for |
| since | int |
No | timestamp in ms of the earliest trade to fetch |
| limit | int |
No | the maximum amount of trades to fetch |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.fetchTrades (symbol, since?, limit?, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| code | string |
Yes | unified currency code of the currency for the deposit address |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.createDepositAddress (code, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| code | string |
Yes | unified currency code |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.fetchDepositAddress (code, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| codes |
Array<string>, undefined
|
Yes | list of unified currency codes, default is undefined |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.fetchDepositAddresses (codes, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| symbol | string |
Yes | unified symbol of the market to create an order in |
| type | string |
Yes | 'market' or 'limit' |
| side | string |
Yes | 'buy' or 'sell' |
| amount | float |
Yes | how much of currency you want to trade in units of base currency |
| price | float |
No | the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.createOrder (symbol, type, side, amount, price?, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| id | string |
Yes | order id |
| symbol | string |
Yes | not used by paymium cancelOrder () |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.cancelOrder (id, symbol, params?)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
| Param | Type | Required | Description |
|---|---|---|---|
| code | string |
Yes | unified currency code |
| amount | float |
Yes | amount to transfer |
| fromAccount | string |
Yes | account to transfer from |
| toAccount | string |
Yes | account to transfer to |
| params | object |
No | extra parameters specific to the exchange API endpoint |
paymium.transfer (code, amount, fromAccount, toAccount, params?)(If the page is not being rendered for you, you can refer to the mirror at https://docs.ccxt.com/)
- Install
- Examples
- Manual
- CCXT Pro
- Contributing
- Supported Exchanges
- Exchanges By Country
- API Spec By Method
- FAQ
- Changelog
- Awesome
- API Spec by Exchange
- fetchCurrencies
- alpaca
- apex
- ascendex
- aster
- backpack
- bigone
- binance
- bingx
- bit2c
- bitbank
- bitbns
- bitfinex
- bitflyer
- bitget
- bithumb
- bitmart
- bitmex
- bitopro
- bitrue
- bitso
- bitstamp
- bitteam
- bittrade
- bitvavo
- blockchaincom
- blofin
- btcbox
- btcmarkets
- btcturk
- bullish
- bybit
- bydfi
- cex
- coinbase
- coinbaseexchange
- coinbaseinternational
- coincheck
- coinex
- coinmate
- coinmetro
- coinone
- coinsph
- coinspot
- cryptocom
- cryptomus
- deepcoin
- delta
- deribit
- derive
- digifinex
- dydx
- exmo
- extended
- foxbit
- gate
- gemini
- grvt
- hashkey
- hibachi
- hitbtc
- hollaex
- htx
- hyperliquid
- independentreserve
- indodax
- kraken
- krakenfutures
- kucoin
- fetchBidsAsks
- latoken
- lbank
- lighter
- luno
- mercado
- mexc
- modetrade
- ndax
- novadax
- okx
- onetrading
- p2b
- pacifica
- paradex
- paymium
- phemex
- poloniex
- tokocrypto
- toobit
- upbit
- weex
- whitebit
- woo
- woofipro
- xt
- zaif
- fetchStatus