-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
File "D:\Program Files\Code\python2732\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "D:\Program Files\Code\python2732\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad Request
您好,用了您的API,查询账户什么的都没问题,交易就会出错,上面是错误信息,请问是什么原因呢?谢谢!
下面是代码:
markets = client.get(get_api_path('markets'))
print markets
sell 10 dogecoins at price 0.01
params = {'market': 'dogcny', 'side': 'sell', 'volume': 10, 'price': 0.01}
res = client.post(get_api_path('orders'), params)
print res
Metadata
Metadata
Assignees
Labels
No labels