CCXT

blofin

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

blofin

Kind: global class
Extends: Exchange

fetchMarkets

retrieves data on all markets for blofin

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

See: https://blofin.com/docs#get-instruments

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

fetchOrderBook

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

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

See: https://blofin.com/docs#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
blofin.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 blofin
Returns: object - a ticker structure

See: https://blofin.com/docs#get-tickers

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

fetchMarkPrice

fetches mark price for the market

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

See: https://docs.blofin.com/index.html#get-mark-price

ParamTypeRequiredDescription
symbolstringYesunified market symbol
paramsobjectNoextra parameters specific to the exchange API endpoint
params.subTypestringNo"linear" or "inverse"
blofin.fetchMarkPrice (symbol, params?)

fetchTickers

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

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

See: https://blofin.com/docs#get-tickers

ParamTypeRequiredDescription
symbolsArray<string>Nounified 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
blofin.fetchTickers (symbols?, params?)

fetchTrades

get the list of most recent trades for a particular symbol

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

See: https://blofin.com/docs#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.paginatebooleanNoonly applies to publicGetMarketHistoryTrades default false, when true will automatically paginate by calling this endpoint multiple times
blofin.fetchTrades (symbol, since?, 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 blofin
Returns: Array<Array<int>> - A list of candles ordered as timestamp, open, high, low, close, volume

See: https://blofin.com/docs#get-candlesticks

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.untilintNotimestamp in ms of the latest candle to fetch
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
blofin.fetchOHLCV (symbol, timeframe, since?, limit?, params?)

fetchFundingRateHistory

fetches historical funding rate prices

Kind: instance method of blofin
Returns: Array<object> - a list of funding rate structures

See: https://blofin.com/docs#get-funding-rate-history

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch the funding rate history for
sinceintNotimestamp in ms of the earliest funding rate to fetch
limitintNothe maximum amount of funding rate structures to fetch
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.untilintNotimestamp in ms of the latest funding rate to fetch
blofin.fetchFundingRateHistory (symbol, since?, limit?, params?)

fetchFundingRate

fetch the current funding rate

Kind: instance method of blofin
Returns: object - a funding rate structure

See: https://blofin.com/docs#get-funding-rate

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

fetchBalance

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

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

See

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
params.accountTypestringNothe type of account to fetch the balance for, either 'funding' or 'futures' or 'copy_trading' or 'earn'
blofin.fetchBalance (params?)

createOrder

create a trade order

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

See

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to create an order in
typestringYes'market' or 'limit' or 'post_only' or 'ioc' or 'fok'
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
params.triggerPricestringNothe trigger price for a trigger order
params.reduceOnlyboolNoa mark to reduce the position size for margin, swap and future orders
params.postOnlyboolNotrue to place a post only order
params.marginModestringNo'cross' or 'isolated', default is 'cross'
params.stopLossPricefloatNostop loss trigger price (will use privatePostTradeOrderTpsl)
params.takeProfitPricefloatNotake profit trigger price (will use privatePostTradeOrderTpsl)
params.positionSidestringNostopLossPrice/takeProfitPrice orders only 'long' or 'short' or 'net' default is 'net'
params.hedgedbooleanNoif true, the positionSide will be set to long/short instead of net, default is false
params.clientOrderIdstringNoa unique id for the order
params.takeProfitobjectNotakeProfit object in params containing the triggerPrice at which the attached take profit order will be triggered
params.takeProfit.triggerPricefloatNotake profit trigger price
params.takeProfit.pricefloatNotake profit order price (if not provided the order will be a market order)
params.stopLossobjectNostopLoss object in params containing the triggerPrice at which the attached stop loss order will be triggered
params.stopLoss.triggerPricefloatNostop loss trigger price
params.stopLoss.pricefloatNostop loss order price (if not provided the order will be a market order)
params.tpslfloatNowhether to force to send the order to the combined TPSL oco order endpoint
blofin.createOrder (symbol, type, side, amount, price?, params?)

cancelOrder

cancels an open order

Kind: instance method of blofin
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
params.triggerbooleanNoTrue if cancelling a trigger/conditional
params.tpslbooleanNoTrue if cancelling a tpsl order
blofin.cancelOrder (id, symbol, params?)

createOrders

create a list of trade orders

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

See: https://blofin.com/docs#place-multiple-orders

ParamTypeRequiredDescription
ordersArrayYeslist of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.createOrders (orders, params?)

fetchOpenOrders

Fetch orders that are still open

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

See

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
params.triggerboolNoTrue if fetching trigger or conditional orders
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
blofin.fetchOpenOrders (symbol, since?, limit?, params?)

fetchMyTrades

fetch all trades made by the user

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

See: https://blofin.com/docs#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.untilintNoTimestamp in ms of the latest time to retrieve trades for
params.typestringNo'swap' or 'spot' (defaults to 'swap'), required to fetch spot trade history
params.instIdstringNospot markets only the market id of the spot market to fetch the trade history for (e.g. 'BTC-USDT')
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
blofin.fetchMyTrades (symbol, since?, limit?, params?)

fetchDeposits

fetch all deposits made to an account

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

See: https://blofin.com/docs#get-deposite-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 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
blofin.fetchDeposits (code, since?, limit?, params?)

fetchWithdrawals

fetch all withdrawals made from an account

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

See: https://blofin.com/docs#get-withdraw-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 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
blofin.fetchWithdrawals (code, 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 blofin
Returns: object - a ledger structure

See: https://blofin.com/docs#get-funds-transfer-history

ParamTypeRequiredDescription
codestringNounified currency code, default is undefined
sinceintNotimestamp in ms of the earliest ledger entry, default is undefined
limitintNomax number of ledger entries to return, default is undefined
paramsobjectNoextra parameters specific to the exchange API endpoint
params.marginModestringNo'cross' or 'isolated'
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 available parameters
blofin.fetchLedger (code?, since?, limit?, params?)

cancelOrders

cancel multiple orders

Kind: instance method of blofin
Returns: object - an list of order structures

See: https://blofin.com/docs#cancel-multiple-orders

ParamTypeRequiredDescription
idsArray<string>Yesorder ids
symbolstringYesunified market symbol
paramsobjectNoextra parameters specific to the exchange API endpoint
params.triggerbooleanNowhether the order is a stop/trigger order
blofin.cancelOrders (ids, symbol, params?)

transfer

transfer currency internally between wallets on the same account

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

See: https://blofin.com/docs#funds-transfer

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

fetchPosition

fetch data on a single open contract trade position

Kind: instance method of blofin
Returns: object - a position structure

See: https://blofin.com/docs#get-positions

ParamTypeRequiredDescription
symbolstringYesunified market symbol of the market the position is held in, default is undefined
paramsobjectNoextra parameters specific to the exchange API endpoint
params.instTypestringNoMARGIN, SWAP, FUTURES, OPTION
blofin.fetchPosition (symbol, params?)

fetchPositions

fetch data on a single open contract trade position

Kind: instance method of blofin
Returns: object - a position structure

See: https://blofin.com/docs#get-positions

ParamTypeRequiredDescription
symbolsArray<string>Nolist of unified market symbols
paramsobjectNoextra parameters specific to the exchange API endpoint
params.instTypestringNoMARGIN, SWAP, FUTURES, OPTION
blofin.fetchPositions (symbols?, params?)

fetchPositionsHistory

fetches historical positions

Kind: instance method of blofin
Returns: Array<object> - a list of position structures

See: https://docs.blofin.com/index.html#get-positions-history

ParamTypeRequiredDescription
symbolsArray<string>Nounified contract symbols
sinceintNotimestamp in ms of the earliest position to fetch, default=3 months ago, max range for params["until"] - since is 3 months
limitintNothe maximum amount of records to fetch, default=20, max=100
paramsobjectYesextra parameters specific to the exchange api endpoint
params.untilintNotimestamp in ms of the latest position to fetch, max range for params["until"] - since is 3 months
params.productTypestringNoUSDT-FUTURES (default), COIN-FUTURES, USDC-FUTURES, SUSDT-FUTURES, SCOIN-FUTURES, or SUSDC-FUTURES
params.utabooleanNoset to true for the unified trading account (uta), defaults to false
blofin.fetchPositionsHistory (symbols?, since?, limit?, params)

fetchLeverages

fetch the set leverage for all contract markets

Kind: instance method of blofin
Returns: object - a list of leverage structures

See: https://docs.blofin.com/index.html#get-multiple-leverage

ParamTypeRequiredDescription
symbolsArray<string>Yesa list of unified market symbols, required on blofin
paramsobjectNoextra parameters specific to the exchange API endpoint
params.marginModestringNo'cross' or 'isolated'
blofin.fetchLeverages (symbols, params?)

fetchLeverage

fetch the set leverage for a market

Kind: instance method of blofin
Returns: object - a leverage structure

See: https://docs.blofin.com/index.html#get-leverage

ParamTypeRequiredDescription
symbolstringYesunified market symbol
paramsobjectNoextra parameters specific to the exchange API endpoint
params.marginModestringNo'cross' or 'isolated'
blofin.fetchLeverage (symbol, params?)

setLeverage

set the level of leverage for a market

Kind: instance method of blofin
Returns: object - response from the exchange

See: https://blofin.com/docs#set-leverage

ParamTypeRequiredDescription
leverageintYesthe rate of leverage
symbolstringYesunified market symbol
paramsobjectNoextra parameters specific to the exchange API endpoint
params.marginModestringNo'cross' or 'isolated'
params.positionSidestringNo'long' or 'short' - required for hedged mode in isolated margin
blofin.setLeverage (leverage, symbol, params?)

closePosition

closes open positions for a market

Kind: instance method of blofin
Returns: Array<object> - A list of position structures

See: https://blofin.com/docs#close-positions

ParamTypeRequiredDescription
symbolstringYesUnified CCXT market symbol
sidestringNo'buy' or 'sell', leave as undefined in net mode
paramsobjectNoextra parameters specific to the blofin api endpoint
params.clientOrderIdstringNoa unique identifier for the order
params.marginModestringNo'cross' or 'isolated', default is 'cross;
params.codestringNorequired in the case of closing cross MARGIN position for Single-currency margin margin currency EXCHANGE SPECIFIC PARAMETERS
params.autoCxlbooleanNowhether any pending orders for closing out needs to be automatically canceled when close position via a market order. false or true, the default is false
params.tagstringNoorder tag a combination of case-sensitive alphanumerics, all numbers, or all letters of up to 16 characters
blofin.closePosition (symbol, side?, params?)

fetchClosedOrders

fetches information on multiple closed orders made by the user

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

See

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 exchange API endpoint
params.triggerboolNoTrue if fetching trigger or conditional orders
params.paginatebooleanNodefault false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the availble parameters
blofin.fetchClosedOrders (symbol, since?, limit?, params?)

fetchMarginMode

fetches the margin mode of a trading pair

Kind: instance method of blofin
Returns: object - a margin mode structure

See: https://docs.blofin.com/index.html#get-margin-mode

ParamTypeRequiredDescription
symbolstringYesunified symbol of the market to fetch the margin mode for
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.fetchMarginMode (symbol, params?)

setMarginMode

set margin mode to 'cross' or 'isolated'

Kind: instance method of blofin
Returns: object - response from the exchange

See: https://docs.blofin.com/index.html#set-margin-mode

ParamTypeRequiredDescription
marginModestringYes'cross' or 'isolated'
symbolstringNounified market symbol (not used in blofin setMarginMode)
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.setMarginMode (marginMode, symbol?, params?)

fetchPositionMode

fetchs the position mode, hedged or one way

Kind: instance method of blofin
Returns: object - an object detailing whether the market is in hedged or one-way mode

See: https://docs.blofin.com/index.html#get-position-mode

ParamTypeRequiredDescription
symbolstringNounified symbol of the market to fetch the position mode for (not used in blofin fetchPositionMode)
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.fetchPositionMode (symbol?, params?)

setPositionMode

set hedged to true or false for a market

Kind: instance method of blofin
Returns: object - response from the exchange

See: https://docs.blofin.com/index.html#set-position-mode

ParamTypeRequiredDescription
hedgedboolYesset to true to use hedged mode, false for one-way mode
symbolstringNonot used by blofin setPositionMode ()
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.setPositionMode (hedged, symbol?, params?)

fetchPositionsADLRank

fetches the auto deleveraging rank and risk percentage for a list of symbols

Kind: instance method of blofin
Returns: Array<object> - an array of auto de leverage structures

See: https://docs.blofin.com/index.html#get-positions

ParamTypeRequiredDescription
symbolsArray<string>Noa list of unified market symbols
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.fetchPositionsADLRank (symbols?, params?)

watchTrades

get the list of most recent trades for a particular symbol

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

See: https://docs.blofin.com/index.html#ws-trades-channel

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

watchTradesForSymbols

get the list of most recent trades for a list of symbols

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

See: https://docs.blofin.com/index.html#ws-trades-channel

ParamTypeRequiredDescription
symbolsArray<string>Yesunified 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
blofin.watchTradesForSymbols (symbols, since?, limit?, params?)

watchOrderBook

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

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

See: https://docs.blofin.com/index.html#ws-order-book-channel

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

watchOrderBookForSymbols

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

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

See: https://docs.blofin.com/index.html#ws-order-book-channel

ParamTypeRequiredDescription
symbolsArray<string>Yesunified array of symbols
limitintNothe maximum amount of order book entries to return
paramsobjectNoextra parameters specific to the exchange API endpoint
params.depthstringNothe type of order book to subscribe to, default is 'depth/increase100', also accepts 'depth5' or 'depth20' or depth50
blofin.watchOrderBookForSymbols (symbols, limit?, 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 blofin
Returns: object - a ticker structure

See: https://docs.blofin.com/index.html#ws-tickers-channel

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

See: https://docs.blofin.com/index.html#ws-tickers-channel

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

watchBidsAsks

watches best bid & ask for symbols

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

See: https://docs.blofin.com/index.html#ws-tickers-channel

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

watchOHLCV

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

Kind: instance method of blofin
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
blofin.watchOHLCV (symbol, timeframe, since?, limit?, params?)

watchOHLCVForSymbols

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

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

See: https://docs.blofin.com/index.html#ws-candlesticks-channel

ParamTypeRequiredDescription
symbolsAndTimeframesArray<Array<string>>Yesarray of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
sinceintNotimestamp in ms of the earliest candle to fetch
limitintNothe maximum amount of candles to fetch
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.watchOHLCVForSymbols (symbolsAndTimeframes, since?, limit?, params?)

watchBalance

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

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

See: https://docs.blofin.com/index.html#ws-account-channel

ParamTypeRequiredDescription
paramsobjectNoextra parameters specific to the exchange API endpoint
blofin.watchBalance (params?)

watchOrdersForSymbols

watches information on multiple orders made by the user across multiple symbols

Kind: instance method of blofin
Returns: Array<object> - a list of [order structures]{@link /docs/manual#order-structure

See

ParamTypeRequiredDescription
symbolsArray<string>Yes
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.triggerbooleanNoset to true for trigger orders
blofin.watchOrdersForSymbols (symbols, since?, limit?, params?)

watchPositions

watch all open positions

Kind: instance method of blofin
Returns: Array<object> - a list of position structure

See: https://docs.blofin.com/index.html#ws-positions-channel

ParamTypeRequiredDescription
symbolsArray<string>, undefinedYeslist of unified market symbols
sinceintNothe earliest time in ms to fetch positions for
limitintNothe maximum number of positions to retrieve
paramsobjectYesextra parameters specific to the exchange API endpoint
blofin.watchPositions (symbols, since?, limit?, params)

watchFundingRate

watch the current funding rate

Kind: instance method of blofin
Returns: object - a funding rate structure

See: https://docs.blofin.com/index.html#ws-funding-rate-channel

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

On this page