CCXT

bitvavo

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

bitvavo

Kind: global class
Extends: Exchange

fetchTime

fetches the current integer timestamp in milliseconds from the exchange server

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

See: https://docs.bitvavo.com/docs/rest-api/get-server-time/

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

fetchMarkets

retrieves data on all markets for bitvavo

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

See: https://docs.bitvavo.com/docs/rest-api/get-markets/

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

fetchCurrencies

fetches all available currencies on an exchange

Kind: instance method of bitvavo
Returns: object - an associative dictionary of currencies

See: https://docs.bitvavo.com/docs/rest-api/get-asset-data/

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.fetchCurrencies (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 bitvavo
Returns: object - a ticker structure

See: https://docs.bitvavo.com/docs/rest-api/get-candlestick-data-24-h/

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch the ticker for
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.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 bitvavo
Returns: object - a dictionary of ticker structures

See: https://docs.bitvavo.com/docs/rest-api/get-candlestick-data-24-h/

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
bitvavo.fetchTickers (symbols, params?)

fetchTrades

get the list of most recent trades for a particular symbol

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

See: https://docs.bitvavo.com/docs/rest-api/get-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
params.untilintNothe latest time in ms to fetch entries for
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
bitvavo.fetchTrades (symbol, since?, limit?, params?)

fetchTradingFees

fetch the trading fees for multiple markets

Kind: instance method of bitvavo
Returns: object - a dictionary of fee structures indexed by market symbols

See: https://docs.bitvavo.com/docs/rest-api/get-account-fees/

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.fetchTradingFees (params?)

fetchTradingFee

fetch the trading fees for a market

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

See: https://docs.bitvavo.com/docs/rest-api/get-market-fees/

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

fetchOrderBook

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

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

See: https://docs.bitvavo.com/docs/rest-api/get-order-book/

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
bitvavo.fetchOrderBook (symbol, limit?, params?)

fetchOHLCV

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

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

See: https://docs.bitvavo.com/docs/rest-api/get-candlestick-data/

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch OHLCV data for
timeframestringYesthe length of time each candle represents
sinceintNotimestamp in ms of the earliest candle to fetch
limitintNothe maximum amount of candles to fetch
paramsobjectNoextra parameters specific to the exchange API endpoint
params.untilintNothe latest time in ms to fetch entries for
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
bitvavo.fetchOHLCV (symbol, timeframe, since?, limit?, params?)

fetchBalance

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

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

See: https://docs.bitvavo.com/docs/rest-api/get-account-balance/

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

fetchAccounts

fetch all the accounts associated with a profile

Kind: instance method of bitvavo
Returns: Array<object> - a list of account structures

See: https://docs.bitvavo.com/docs/institutional-api/get-subaccounts/

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchAccounts (params?)

transfer

transfer currency internally between the master account and a subaccount

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

See: https://docs.bitvavo.com/docs/institutional-api/create-transfer/

ParamTypeRequiredDescription
codestringYesunified currency code
amountfloatYesamount to transfer
fromAccountstringYesaccount to transfer from, either 'master' or the subaccount id
toAccountstringYesaccount to transfer to, either 'master' or the subaccount id
paramsobjectNoextra parameters specific to the bitvavo api endpoint
params.subaccountIdstringNothe unique identifier for the subaccount
params.clientRequestIdstringNoclient defined unique id
bitvavo.transfer (code, amount, fromAccount, toAccount, params?)

fetchTransfers

fetch a history of internal transfers made on an account

Kind: instance method of bitvavo
Returns: Array<object> - a list of transfer structures

See: https://docs.bitvavo.com/docs/institutional-api/get-transfers/

ParamTypeRequiredDescription
codestringNounified currency code of the currency transferred
sinceintNothe earliest time in ms to fetch transfers for
limitintNothe maximum number of transfers structures to retrieve
paramsobjectNoextra parameters specific to the bitvavo api endpoint
params.subaccountIdstringNothe unique identifier for the subaccount
params.untilintNothe latest time in ms to fetch transfers for
bitvavo.fetchTransfers (code?, since?, limit?, params?)

fetchTransfer

fetches a transfer

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

See: https://docs.bitvavo.com/docs/institutional-api/get-transfer/

ParamTypeRequiredDescription
idstringYestransfer id
codestringNounified currency code of the currency transferred
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchTransfer (id, code?, params?)

fetchDepositAddress

fetch the deposit address for a currency associated with this account

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

See: https://docs.bitvavo.com/docs/rest-api/get-deposit-data/

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

createOrder

create a trade order

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

See: https://docs.bitvavo.com/docs/rest-api/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
pricefloatYesthe price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
paramsobjectNoextra parameters specific to the bitvavo api endpoint
params.timeInForcestringNo"GTC", "IOC", or "PO"
params.stopPricefloatNoAlias for triggerPrice
params.triggerPricefloatNoThe price at which a trigger order is triggered at
params.postOnlyboolNoIf true, the order will only be posted to the order book and not executed immediately
params.stopLossPricefloatNoThe price at which a stop loss order is triggered at
params.takeProfitPricefloatNoThe price at which a take profit order is triggered at
params.triggerTypestringNo"price"
params.triggerReferencestringNo"lastTrade", "bestBid", "bestAsk", "midPrice" Only for stop orders: Use this to determine which parameter will trigger the order
params.selfTradePreventionstringNoone of EXPIRE_BOTH, cancelOldest, cancelNewest or decrementAndCancel
params.disableMarketProtectionboolNodon't cancel if the next fill price is 10% worse than the best fill price
params.responseRequiredboolNoSet this to 'false' when only an acknowledgement of success or failure is required, this is faster.
bitvavo.createOrder (symbol, type, side, amount, price, params?)

editOrder

edit a trade order

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

See: https://docs.bitvavo.com/docs/rest-api/update-order/

ParamTypeRequiredDescription
idstringYescancel order id
symbolstringYesunified symbol of the market to create an order in
typestringYes'market' or 'limit'
sidestringYes'buy' or 'sell'
amountfloatNohow 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 bitvavo api endpoint
bitvavo.editOrder (id, symbol, type, side, amount?, price?, params?)

cancelOrder

cancels an open order

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

See: https://docs.bitvavo.com/docs/rest-api/cancel-order/

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

cancelAllOrders

cancel all open orders

Kind: instance method of bitvavo
Returns: Array<object> - a list of order structures

See: https://docs.bitvavo.com/docs/rest-api/cancel-orders/

ParamTypeRequiredDescription
symbolstringYesunified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.cancelAllOrders (symbol, params?)

cancelAllOrdersAfter

dead man's switch, cancel all orders after the given timeout

Kind: instance method of bitvavo
Returns: object - the api result

See: https://docs.bitvavo.com/docs/rest-api/cancel-orders-after/

ParamTypeRequiredDescription
timeoutnumberYestime in milliseconds, 0 represents cancel the timer
paramsobjectNoextra parameters specific to the exchange API endpoint
params.codGroupIdintNoyour identifier for a group of orders, default is 1
bitvavo.cancelAllOrdersAfter (timeout, params?)

fetchOrder

fetches information on an order made by the user

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

See: https://docs.bitvavo.com/docs/rest-api/get-order/

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

fetchOrders

fetches information on multiple orders made by the user

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

See: https://docs.bitvavo.com/docs/rest-api/get-orders/

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
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
params.untilintNothe latest time in ms to fetch entries for
bitvavo.fetchOrders (symbol, since?, limit?, params?)

fetchOpenOrders

fetch all unfilled currently open orders

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

See: https://docs.bitvavo.com/docs/rest-api/get-open-orders/

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

fetchMyTrades

fetch all trades made by the user

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

See: https://docs.bitvavo.com/docs/rest-api/get-trade-history/

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
params.untilintNothe latest time in ms to fetch entries for
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
bitvavo.fetchMyTrades (symbol, since?, limit?, params?)

fetchLedger

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

Kind: instance method of bitvavo
Returns: Array<object> - a list of ledger structures

See: https://docs.bitvavo.com/docs/rest-api/get-transaction-history/

ParamTypeRequiredDescription
codestringNounified currency code
sinceintNotimestamp in ms of the earliest ledger entry
limitintNomax number of ledger entries to return
paramsobjectNoextra parameters specific to the bitvavo api endpoint
params.untilintNotimestamp in ms of the latest ledger entry
params.pageintNothe page number for the transaction history
bitvavo.fetchLedger (code?, since?, limit?, params?)

withdraw

make a withdrawal

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

See: https://docs.bitvavo.com/docs/rest-api/withdraw-assets/

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

fetchWithdrawals

fetch all withdrawals made from an account

Kind: instance method of bitvavo
Returns: Array<object> - a list of transaction structures

See: https://docs.bitvavo.com/docs/rest-api/get-withdrawal-history/

ParamTypeRequiredDescription
codestringYesunified currency code
sinceintNothe earliest time in ms to fetch withdrawals for
limitintNothe maximum number of withdrawals structures to retrieve
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchWithdrawals (code, since?, limit?, params?)

fetchDeposits

fetch all deposits made to an account

Kind: instance method of bitvavo
Returns: Array<object> - a list of transaction structures

See: https://docs.bitvavo.com/docs/rest-api/get-deposit-history/

ParamTypeRequiredDescription
codestringYesunified currency code
sinceintNothe earliest time in ms to fetch deposits for
limitintNothe maximum number of deposits structures to retrieve
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchDeposits (code, since?, limit?, params?)

fetchDepositWithdrawFees

fetch deposit and withdraw fees

Kind: instance method of bitvavo
Returns: object - a list of fee structures

See: https://docs.bitvavo.com/docs/rest-api/get-asset-data/

ParamTypeRequiredDescription
codesArray<string>, undefinedYeslist of unified currency codes
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.fetchDepositWithdrawFees (codes, params?)

watchTicker

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

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

See: https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post

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

watchTickers

watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list

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

See: https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post

ParamTypeRequiredDescription
symbolsArray<string>Nounified symbol of the market to fetch the ticker for
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.watchTickers (symbols?, params?)

watchBidsAsks

watches best bid & ask for symbols

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

See: https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post

ParamTypeRequiredDescription
symbolsArray<string>Yesunified symbol of the market to fetch the ticker for
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.watchBidsAsks (symbols, params?)

watchTrades

get the list of most recent trades for a particular symbol

Kind: instance method of bitvavo
Returns: Array<object> - a list of trade structures

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

watchOHLCV

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

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

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch OHLCV data for
timeframestringYesthe length of time each candle represents
sinceintNotimestamp in ms of the earliest candle to fetch
limitintNothe maximum amount of candles to fetch
paramsobjectNoextra parameters specific to the exchange API endpoint
bitvavo.watchOHLCV (symbol, timeframe, since?, limit?, params?)

watchOrderBook

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

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

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
bitvavo.watchOrderBook (symbol, limit?, params?)

watchOrders

watches information on multiple orders made by the user

Kind: instance method of bitvavo
Returns: Array<object> - a list of order structures

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

watchMyTrades

watches information on multiple trades made by the user

Kind: instance method of bitvavo
Returns: Array<object> - a list of trade structures

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

createOrderWs

create a trade order

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

See: https://docs.bitvavo.com/#tag/Orders/paths/~1order/post

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
pricefloatYesthe price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
paramsobjectNoextra parameters specific to the bitvavo api endpoint
params.timeInForcestringNo"GTC", "IOC", or "PO"
params.stopPricefloatNoThe price at which a trigger order is triggered at
params.triggerPricefloatNoThe price at which a trigger order is triggered at
params.postOnlyboolNoIf true, the order will only be posted to the order book and not executed immediately
params.stopLossPricefloatNoThe price at which a stop loss order is triggered at
params.takeProfitPricefloatNoThe price at which a take profit order is triggered at
params.triggerTypestringNo"price"
params.triggerReferencestringNo"lastTrade", "bestBid", "bestAsk", "midPrice" Only for stop orders: Use this to determine which parameter will trigger the order
params.selfTradePreventionstringNo"decrementAndCancel", "cancelOldest", "cancelNewest", "cancelBoth"
params.disableMarketProtectionboolNodon't cancel if the next fill price is 10% worse than the best fill price
params.responseRequiredboolNoSet this to 'false' when only an acknowledgement of success or failure is required, this is faster.
bitvavo.createOrderWs (symbol, type, side, amount, price, params?)

editOrderWs

edit a trade order

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

See: https://docs.bitvavo.com/#tag/Orders/paths/~1order/put

ParamTypeRequiredDescription
idstringYescancel order id
symbolstringYesunified symbol of the market to create an order in
typestringYes'market' or 'limit'
sidestringYes'buy' or 'sell'
amountfloatNohow 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 bitvavo api endpoint
bitvavo.editOrderWs (id, symbol, type, side, amount?, price?, params?)

cancelOrderWs

cancels an open order

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

See: https://docs.bitvavo.com/#tag/Orders/paths/~1order/delete

ParamTypeRequiredDescription
idstringYesorder id
symbolstringYesunified symbol of the market the order was made in
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.cancelOrderWs (id, symbol, params?)

cancelAllOrdersWs

cancel all open orders

Kind: instance method of bitvavo
Returns: Array<object> - a list of order structures

See: https://docs.bitvavo.com/#tag/Orders/paths/~1orders/delete

ParamTypeRequiredDescription
symbolstringYesunified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.cancelAllOrdersWs (symbol, params?)

fetchOrderWs

fetches information on an order made by the user

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

See: https://docs.bitvavo.com/#tag/General/paths/~1assets/get

ParamTypeRequiredDescription
idstringYesthe order id
symbolstringYesunified symbol of the market the order was made in
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchOrderWs (id, symbol, params?)

fetchOrdersWs

fetches information on multiple orders made by the user

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

See: https://docs.bitvavo.com/#tag/Orders/paths/~1orders/get

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the market orders were made in
sinceintNothe earliest time in ms to fetch orders for
limitintNothe maximum number of orde structures to retrieve
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchOrdersWs (symbol, since?, limit?, params?)

fetchOpenOrdersWs

fetch all unfilled currently open orders

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

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 bitvavo api endpoint
bitvavo.fetchOpenOrdersWs (symbol, since?, limit?, params?)

fetchMyTradesWs

fetch all trades made by the user

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

See: https://docs.bitvavo.com/#tag/Trades

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 bitvavo api endpoint
bitvavo.fetchMyTradesWs (symbol, since?, limit?, params?)

withdrawWs

make a withdrawal

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

ParamTypeRequiredDescription
codestringYesunified currency code
amountfloatYesthe amount to withdraw
addressstringYesthe address to withdraw to
tagstringYes
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.withdrawWs (code, amount, address, tag, params?)

fetchWithdrawalsWs

fetch all withdrawals made from an account

Kind: instance method of bitvavo
Returns: Array<object> - a list of transaction structures

See: https://docs.bitvavo.com/#tag/Account/paths/~1withdrawalHistory/get

ParamTypeRequiredDescription
codestringYesunified currency code
sinceintNothe earliest time in ms to fetch withdrawals for
limitintNothe maximum number of withdrawals structures to retrieve
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchWithdrawalsWs (code, since?, limit?, params?)

fetchOHLCVWs

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

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

See: https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1candles/get

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch OHLCV data for
timeframestringYesthe length of time each candle represents
sinceintNotimestamp in ms of the earliest candle to fetch
limitintNothe maximum amount of candles to fetch
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchOHLCVWs (symbol, timeframe, since?, limit?, params?)

fetchDepositsWs

fetch all deposits made to an account

Kind: instance method of bitvavo
Returns: Array<object> - a list of transaction structures

See: https://docs.bitvavo.com/#tag/Account/paths/~1depositHistory/get

ParamTypeRequiredDescription
codestringYesunified currency code
sinceintNothe earliest time in ms to fetch deposits for
limitintNothe maximum number of deposits structures to retrieve
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchDepositsWs (code, since?, limit?, params?)

fetchTradingFeesWs

fetch the trading fees for multiple markets

Kind: instance method of bitvavo
Returns: object - a dictionary of fee structures indexed by market symbols

See: https://docs.bitvavo.com/#tag/Account/paths/~1account/get

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchTradingFeesWs (params?)

fetchMarketsWs

retrieves data on all markets for bitvavo

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

See: https://docs.bitvavo.com/#tag/General/paths/~1markets/get

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange api endpoint
bitvavo.fetchMarketsWs (params?)

fetchCurrenciesWs

fetches all available currencies on an exchange

Kind: instance method of bitvavo
Returns: object - an associative dictionary of currencies

See: https://docs.bitvavo.com/#tag/General/paths/~1assets/get

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchCurrenciesWs (params?)

fetchBalanceWs

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

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

See: https://docs.bitvavo.com/#tag/Account/paths/~1balance/get

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the bitvavo api endpoint
bitvavo.fetchBalanceWs (params?)

On this page