【发布时间】:2018-08-15 00:59:44
【问题描述】:
我的代码是:
HitBtcApi.HitBtcApi hitbtc = new HitBtcApi.HitBtcApi();
hitbtc.Authorize("xxx", "xxx");
RestRequest request2 = new RestRequest("/api/2/account/balance", method.GET);
var x= await hitbtc.Execute(request2, true);
MessageBox.Show(x.content.ToString());
运行时出现此错误: {"error":{"code":1001,"message":"Authorization required","description":""}} 但是当我使用 "/api/2/public/symbol" 而不是 "/api/2 /account/balance”它工作。请帮我。谢谢。
【问题讨论】:
标签: c# authorization exchange-server trading