关于radar平台出现账户锁定的bug解决方法【account is locking】【切记你的参数是否传入正确,字母注意大小写】很多的坑

app.exchanges.errors.exchange_api_exception.ExchangeAPIException: ExchangeAPIException错误捕捉为: radar服务器请求成功【状态码为200】,但是请求结果为失败failed,原因为:{'nick': 'radarceshiax', 'error_code': 'ACCOUNT_LOCK', 'message': 'account is locking'}
请求结果为response_json = {'nick': 'radarceshiax', 'data': {'nick': 'radarceshiax', 'error_code': 'ACCOUNT_LOCK', 'message': 'account is locking'}, 'status': 'failed'}

 

这里的VBC-VRP必须都是大写


params = {"json": json.dumps(
    {"sell_amount": {"currency": "CNY", "issuer": "rLUti5o23WCkJ4YYqSDU5qywLdUHnFwDw6", "value": "9"},
     "buy_amount": {"currency": "VBC", "value": "0.1"}, "first_amount": {"currency": "VBC", "value": "0.1"},
     "second_amount": {"currency": "CNY", "issuer": "rLUti5o23WCkJ4YYqSDU5qywLdUHnFwDw6", "value": "9"}})}

 

你可能感兴趣的:(关于radar平台出现账户锁定的bug解决方法【account is locking】【切记你的参数是否传入正确,字母注意大小写】很多的坑)