ccxt
ccxt copied to clipboard
digifinex withdraw Amount precision error
OS: Windows 11 Programming Language version: PYTHON 3.10.5 CCXT version: "ccxt/ccxt": "^2.0.55", Exchange: digifinex Method: withdraw
hi . digifinex withdraw function returns error : my code :
params = {}
response = connection.withdraw("TRX", 33.0079, "***", tag, params)
output :
Amount precision error
verbose :
fetch Request: digifinex POST https://openapi.digifinex.com/v3/withdraw/new RequestHeaders: {'ACCESS-KEY': '***', 'ACCESS-SIGN': '***', 'ACCESS-TIMESTAMP': '1666356388', 'User-Agent': 'python-requests/2.28.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} RequestBody: address=*****&amount=32.0079¤cy=TRX
fetch Response: digifinex POST https://openapi.digifinex.com/v3/withdraw/new 200 ResponseHeaders: {'Date': 'Fri, 21 Oct 2022 12:46:29 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding', 'Set-Cookie': 'PHPSESSID=329kpjqmrltcf3f1r49b5ka7o5; path=/; HttpOnly', 'Expires': 'Thu, 19 Nov 1981 08:52:00 GMT', 'Cache-Control': 'no-store, no-cache, must-revalidate', 'Pragma': 'no-cache', 'X-Frame-Options': 'sameorigin', 'Content-Encoding': 'gzip', 'CF-Cache-Status': 'DYNAMIC', 'Server-Timing': 'cf-q-config;dur=7.9999881563708e-06', 'Server': 'cloudflare', 'CF-RAY': '75da18a5bd32b70c-AMS'} ResponseBody: {"code":20008}
I've submitted a fix for this. whenever it will be merged, update your ccxt and the problem would be gone.
@carlosmiei @kroitor Is this problem not fixed?