关于radar平台的'error_code': 'INTERNAL_ERROR', 'message': 'Overflow Error!'总结

Overflow Error错误类型:溢出错误:

第一种情况:是下单的数量或金额超出范围

第二种情况,就是你传入的数量小数点的位数超出范围

以上两种情况,都会引发溢出错误

 

比如这里的"value": "11.020000000000001"就会报错

params={'json': '{"buy_amount": {"currency": "VBC", "value": "0.1"}, "first_amount": {"currency": "VBC", "value": "0.1"}, "sell_amount": {"currency": "CNY", "issuer": "rLUti5o23WCkJ4YYqSDU5qywLdUHnFwDw6", "value": "11.020000000000001"}, "second_amount": {"currency": "CNY", "issuer": "rLUti5o23WCkJ4YYqSDU5qywLdUHnFwDw6", "value": "11.020000000000001"}}'}

 

你可能感兴趣的:(关于radar平台的'error_code': 'INTERNAL_ERROR', 'message': 'Overflow Error!'总结)