ccxt
ccxt copied to clipboard
PermissionDenied: htx
Operating System
ubuntu
Programming Languages
JavaScript
CCXT Version
4.2.26
Description
PermissionDenied: htx {"status":"error","err-code":"api-not-support-temp-addr","err-msg":"API withdrawal does not support temporary addresses","data":null} at htx.throwExactlyMatchedException (file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:3824:19) at htx.handleErrors (file:///home/palash/Public/test/node_modules/ccxt/js/src/htx.js:7253:22) at file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:926:51 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async htx.fetch2 (file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:3398:16) at async htx.request (file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:3401:16) at async htx.withdraw (file:///home/palash/Public/test/node_modules/ccxt/js/src/htx.js:6553:26) at async transferFund (file:///home/palash/Public/test/test.js:18:22)
I am making arbitrage bot, to do that I need to transfer fund from one cex to another cex, while transferring fund I am getting error
Code
async function transferFund(){
try {
const order = await huobiExchange.withdraw('ALGO', 20, "MWR7GSIW2VYSXXQ6METWOPZDWOTAXJCOL3OVL7PBJIGG5POXESLAT5QOQE")
huobiExchange.t
console.log(order)
} catch (error) {
console.log(error);
}
}
@block98ct
You may need to add the address to whitelist. Details on their doc: https://huobiapi.github.io/docs/spot/v1/en/#error-code-4
@block98ct
You may need to add the address to whitelist. Details on their doc: https://huobiapi.github.io/docs/spot/v1/en/#error-code-4
same for binance also??
Operating System
ubuntu
Programming Languages
JavaScript
CCXT Version
4.2.26
Description
PermissionDenied: htx {"status":"error","err-code":"api-not-support-temp-addr","err-msg":"API withdrawal does not support temporary addresses","data":null} at htx.throwExactlyMatchedException (file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:3824:19) at htx.handleErrors (file:///home/palash/Public/test/node_modules/ccxt/js/src/htx.js:7253:22) at file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:926:51 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async htx.fetch2 (file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:3398:16) at async htx.request (file:///home/palash/Public/test/node_modules/ccxt/js/src/base/Exchange.js:3401:16) at async htx.withdraw (file:///home/palash/Public/test/node_modules/ccxt/js/src/htx.js:6553:26) at async transferFund (file:///home/palash/Public/test/test.js:18:22)
I am making arbitrage bot, to do that I need to transfer fund from one cex to another cex, while transferring fund I am getting error
Code
async function transferFund(){ try { const order = await huobiExchange.withdraw('ALGO', 20, "MWR7GSIW2VYSXXQ6METWOPZDWOTAXJCOL3OVL7PBJIGG5POXESLAT5QOQE") huobiExchange.t console.log(order) } catch (error) { console.log(error); } }
the address I mention here is from binance address
Yes, you probably need to ask htx about the settings.