Open its-mohnish opened 3 years ago
When placing margin orders, the response does not return a ID.
API_KEY, SECRET_KEY = "####", "####" bitbnsObj = bitbns(API_KEY, SECRET_KEY) bitbnsObj.placeMarginOrders({'symbol': 'BTC', 'side': 'placeOrder', 'type': 'BORROW', 'qnty': 0.00102, 'days': 1, 'rate': 0.000001})
{ 'status': 1, 'error': 'Successfully placed borrow order for Margin trading.', 'code': 200 }
id has been added now
Describe the problem:
When placing margin orders, the response does not return a ID.
Observed Results:
Relevant code exceptions or logs
Code Sample, a copy-pastable example
logs, a copy-pastable example