jaggedsoft / node-binance-api

Node Binance API is an asynchronous node.js library for the Binance API designed to be easy to use.
MIT License
1.57k stars 767 forks source link

binance.universalTransfer is not a function #852

Open suenot opened 1 year ago

suenot commented 1 year ago

TypeError: binance.universalTransfer is not a function and binance object doesn't have universalTransfer:

{
  binance: {
    depthCache: [Function: depthCache],
    depthVolume: [Function: depthVolume],
    getPrecision: [Function: getPrecision],
    roundStep: [Function: roundStep],
    roundTicks: [Function: roundTicks],
    percent: [Function: percent],
    sum: [Function: sum],
    reverse: [Function: reverse],
    array: [Function: array],
    sortBids: [Function: sortBids],
    sortAsks: [Function: sortAsks],
    first: [Function: first],
    last: [Function: last],
    slice: [Function: slice],
    min: [Function: min],
    max: [Function: max],
    setOption: [Function: setOption],
    getOption: [Function: getOption],
    getInfo: [Function: getInfo],
    usedWeight: [Function: usedWeight],
    statusCode: [Function: statusCode],
    futuresLatency: [Function: futuresLatency],
    lastURL: [Function: lastURL],
    orderCount: [Function: orderCount],
    getOptions: [Function: getOptions],
    options: [Function: setOptions],
    order: [Function: order],
    buy: [Function: buy],
    sell: [Function: sell],
    marketBuy: [Function: marketBuy],
    marketSell: [Function: marketSell],
    cancel: [Function: cancel],
    orderStatus: [Function: orderStatus],
    openOrders: [Function: openOrders],
    cancelAll: [Function: cancelAll],
    cancelOrders: [Function: cancelOrders],
    allOrders: [Function: allOrders],
    depth: [Function: depth],
    avgPrice: [Function: avgPrice],
    prices: [Function: prices],
    bookTickers: [Function: bookTickers],
    prevDay: [Function: prevDay],
    exchangeInfo: [Function: exchangeInfo],
    dustLog: [Function: dustLog],
    dustTransfer: [Function: dustTransfer],
    assetDividendRecord: [Function: assetDividendRecord],
    systemStatus: [Function: systemStatus],
    withdraw: [Function: withdraw],
    withdrawHistory: [Function: withdrawHistory],
    depositHistory: [Function: depositHistory],
    depositAddress: [Function: depositAddress],
    accountStatus: [Function: accountStatus],
    tradeFee: [Function: tradeFee],
    assetDetail: [Function: assetDetail],
    account: [Function: account],
    balance: [Function: balance],
    trades: [Function: trades],
    useServerTime: [Function: useServerTime],
    time: [Function: time],
    aggTrades: [Function: aggTrades],
    recentTrades: [Function: recentTrades],
    historicalTrades: [Function: historicalTrades],
    highstock: [Function: highstock],
    ohlc: [Function: ohlc],
    candlesticks: [Function: candlesticks],
    publicRequest: [Function: publicRequest],
    promiseRequest: [Function: promiseRequest],
    signedRequest: [Function: signedRequest],
    getMarket: [Function: getMarket],
    lending: [AsyncFunction: lending],
    futuresPing: [AsyncFunction: futuresPing],
    futuresTime: [AsyncFunction: futuresTime],
    futuresExchangeInfo: [AsyncFunction: futuresExchangeInfo],
    futuresPrices: [AsyncFunction: futuresPrices],
    futuresDaily: [AsyncFunction: futuresDaily],
    futuresOpenInterest: [AsyncFunction: futuresOpenInterest],
    futuresCandles: [AsyncFunction: futuresCandles],
    futuresMarkPrice: [AsyncFunction: futuresMarkPrice],
    futuresTrades: [AsyncFunction: futuresTrades],
    futuresHistoricalTrades: [AsyncFunction: futuresHistoricalTrades],
    futuresAggTrades: [AsyncFunction: futuresAggTrades],
    futuresForceOrders: [AsyncFunction: futuresForceOrders],
    futuresDeleverageQuantile: [AsyncFunction: futuresDeleverageQuantile],
    futuresUserTrades: [AsyncFunction: futuresUserTrades],
    futuresGetDataStream: [AsyncFunction: futuresGetDataStream],
    futuresKeepDataStream: [AsyncFunction: futuresKeepDataStream],
    futuresCloseDataStream: [AsyncFunction: futuresCloseDataStream],
    futuresLiquidationOrders: [AsyncFunction: futuresLiquidationOrders],
    futuresPositionRisk: [AsyncFunction: futuresPositionRisk],
    futuresFundingRate: [AsyncFunction: futuresFundingRate],
    futuresLeverageBracket: [AsyncFunction: futuresLeverageBracket],
    futuresTradingStatus: [AsyncFunction: futuresTradingStatus],
    futuresCommissionRate: [AsyncFunction: futuresCommissionRate],
    futuresLeverage: [AsyncFunction: futuresLeverage],
    futuresMarginType: [AsyncFunction: futuresMarginType],
    futuresPositionMargin: [AsyncFunction: futuresPositionMargin],
    futuresPositionMarginHistory: [AsyncFunction: futuresPositionMarginHistory],
    futuresIncome: [AsyncFunction: futuresIncome],
    futuresBalance: [AsyncFunction: futuresBalance],
    futuresAccount: [AsyncFunction: futuresAccount],
    futuresDepth: [AsyncFunction: futuresDepth],
    futuresQuote: [AsyncFunction: futuresQuote],
    futuresBuy: [AsyncFunction: futuresBuy],
    futuresSell: [AsyncFunction: futuresSell],
    futuresMarketBuy: [AsyncFunction: futuresMarketBuy],
    futuresMarketSell: [AsyncFunction: futuresMarketSell],
    futuresOrder: [AsyncFunction: futuresOrder],
    futuresOrderStatus: [AsyncFunction: futuresOrderStatus],
    futuresCancel: [AsyncFunction: futuresCancel],
    futuresCancelAll: [AsyncFunction: futuresCancelAll],
    futuresCountdownCancelAll: [AsyncFunction: futuresCountdownCancelAll],
    futuresOpenOrders: [AsyncFunction: futuresOpenOrders],
    futuresAllOrders: [AsyncFunction: futuresAllOrders],
    futuresPositionSideDual: [AsyncFunction: futuresPositionSideDual],
    futuresChangePositionSideDual: [AsyncFunction: futuresChangePositionSideDual],
    futuresTransferAsset: [AsyncFunction: futuresTransferAsset],
    futuresHistDataId: [AsyncFunction: futuresHistDataId],
    futuresDownloadLink: [AsyncFunction: futuresDownloadLink],
    deliveryPing: [AsyncFunction: deliveryPing],
    deliveryTime: [AsyncFunction: deliveryTime],
    deliveryExchangeInfo: [AsyncFunction: deliveryExchangeInfo],
    deliveryPrices: [AsyncFunction: deliveryPrices],
    deliveryDaily: [AsyncFunction: deliveryDaily],
    deliveryOpenInterest: [AsyncFunction: deliveryOpenInterest],
    deliveryCandles: [AsyncFunction: deliveryCandles],
    deliveryContinuousKlines: [AsyncFunction: deliveryContinuousKlines],
    deliveryIndexKlines: [AsyncFunction: deliveryIndexKlines],
    deliveryMarkPriceKlines: [AsyncFunction: deliveryMarkPriceKlines],
    deliveryMarkPrice: [AsyncFunction: deliveryMarkPrice],
    deliveryTrades: [AsyncFunction: deliveryTrades],
    deliveryHistoricalTrades: [AsyncFunction: deliveryHistoricalTrades],
    deliveryAggTrades: [AsyncFunction: deliveryAggTrades],
    deliveryUserTrades: [AsyncFunction: deliveryUserTrades],
    deliveryGetDataStream: [AsyncFunction: deliveryGetDataStream],
    deliveryKeepDataStream: [AsyncFunction: deliveryKeepDataStream],
    deliveryCloseDataStream: [AsyncFunction: deliveryCloseDataStream],
    deliveryLiquidationOrders: [AsyncFunction: deliveryLiquidationOrders],
    deliveryPositionRisk: [AsyncFunction: deliveryPositionRisk],
    deliveryLeverageBracket: [AsyncFunction: deliveryLeverageBracket],
    deliveryLeverageBracketSymbols: [AsyncFunction: deliveryLeverageBracketSymbols],
    deliveryLeverage: [AsyncFunction: deliveryLeverage],
    deliveryMarginType: [AsyncFunction: deliveryMarginType],
    deliveryPositionMargin: [AsyncFunction: deliveryPositionMargin],
    deliveryPositionMarginHistory: [AsyncFunction: deliveryPositionMarginHistory],
    deliveryIncome: [AsyncFunction: deliveryIncome],
    deliveryBalance: [AsyncFunction: deliveryBalance],
    deliveryAccount: [AsyncFunction: deliveryAccount],
    deliveryDepth: [AsyncFunction: deliveryDepth],
    deliveryQuote: [AsyncFunction: deliveryQuote],
    deliveryBuy: [AsyncFunction: deliveryBuy],
    deliverySell: [AsyncFunction: deliverySell],
    deliveryMarketBuy: [AsyncFunction: deliveryMarketBuy],
    deliveryMarketSell: [AsyncFunction: deliveryMarketSell],
    deliveryOrder: [AsyncFunction: deliveryOrder],
    deliveryOrderStatus: [AsyncFunction: deliveryOrderStatus],
    deliveryCancel: [AsyncFunction: deliveryCancel],
    deliveryCancelAll: [AsyncFunction: deliveryCancelAll],
    deliveryCountdownCancelAll: [AsyncFunction: deliveryCountdownCancelAll],
    deliveryOpenOrders: [AsyncFunction: deliveryOpenOrders],
    deliveryAllOrders: [AsyncFunction: deliveryAllOrders],
    deliveryPositionSideDual: [AsyncFunction: deliveryPositionSideDual],
    deliveryChangePositionSideDual: [AsyncFunction: deliveryChangePositionSideDual],
    mgOrder: [Function: mgOrder],
    mgBuy: [Function: mgBuy],
    mgSell: [Function: mgSell],
    mgMarketBuy: [Function: mgMarketBuy],
    mgMarketSell: [Function: mgMarketSell],
    mgCancel: [Function: mgCancel],
    mgAllOrders: [Function: mgAllOrders],
    mgOrderStatus: [Function: mgOrderStatus],
    mgOpenOrders: [Function: mgOpenOrders],
    mgCancelOrders: [Function: mgCancelOrders],
    mgTransferMainToMargin: [Function: mgTransferMainToMargin],
    mgTransferMarginToMain: [Function: mgTransferMarginToMain],
    transferMainToFutures: [Function: transferMainToFutures],
    transferFuturesToMain: [Function: transferFuturesToMain],
    transferMainToDelivery: [Function: transferMainToDelivery],
    transferDeliveryToMain: [Function: transferDeliveryToMain],
    maxTransferable: [Function: maxTransferable],
    mgBorrow: [Function: mgBorrow],
    mgRepay: [Function: mgRepay],
    mgAccount: [Function: mgAccount],
    maxBorrowable: [Function: maxBorrowable],
    futuresSubscribeSingle: [Function: futuresSubscribeSingle],
    futuresSubscribe: [Function: futuresSubscribe],
    futuresSubscriptions: [Function: futuresSubscriptions],
    futuresTerminate: [Function: futuresTerminate],
    futuresAggTradeStream: [Function: futuresAggTradeStream],
    futuresMarkPriceStream: [Function: fMarkPriceStream],
    futuresLiquidationStream: [Function: fLiquidationStream],
    futuresTickerStream: [Function: fTickerStream],
    futuresMiniTickerStream: [Function: fMiniTickerStream],
    futuresBookTickerStream: [Function: fBookTickerStream],
    futuresChart: [AsyncFunction: futuresChart],
    futuresCandlesticks: [Function: futuresCandlesticks],
    deliverySubscribeSingle: [Function: deliverySubscribeSingle],
    deliverySubscribe: [Function: deliverySubscribe],
    deliverySubscriptions: [Function: deliverySubscriptions],
    deliveryTerminate: [Function: deliveryTerminate],
    deliveryAggTradeStream: [Function: deliveryAggTradeStream],
    deliveryMarkPriceStream: [Function: dMarkPriceStream],
    deliveryLiquidationStream: [Function: dLiquidationStream],
    deliveryTickerStream: [Function: dTickerStream],
    deliveryMiniTickerStream: [Function: dMiniTickerStream],
    deliveryBookTickerStream: [Function: dBookTickerStream],
    deliveryChart: [AsyncFunction: deliveryChart],
    deliveryCandlesticks: [Function: deliveryCandlesticks],
    websockets: {
      userData: [Function: userData],
      userMarginData: [Function: userMarginData],
      userFutureData: [Function: userFutureData],
      userDeliveryData: [Function: userDeliveryData],
      subscribe: [Function: subscribe],
      subscribeCombined: [Function: subscribeCombined],
      subscriptions: [Function: subscriptions],
      terminate: [Function: terminate],
      depth: [Function: depth],
      depthCache: [Function: depthCacheFunction],
      clearDepthCache: [Function: clearDepthCache],
      depthCacheStaggered: [Function: depthCacheStaggered],
      aggTrades: [Function: trades],
      trades: [Function: trades],
      chart: [Function: chart],
      candlesticks: [Function: candlesticks],
      miniTicker: [Function: miniTicker],
      bookTickers: [Function: bookTickerStream],
      prevDay: [Function: prevDay]
    }
  }