I am trying to create limit order with below request but unable to create limit order
Request
request_path = “/api/v3/brokerage/orders”
method = “POST”
payload = {
'client_order_id': "Unique_UUID",
'product_id': "ADA-USDT",
'side': "BUY",
'order_configuration':{
"limit_limit_gtc": {
"limit_price": "0.25",
"base_size": "5"
}
}
}
headers = self._build_request_headers(method, request_path, json.dumps(payload))
response = requests.post(self._base_url+request_path, json=payload, headers=headers)
Response:
{
“success” : false,
“failure_reason”: “UNKNOWN_FAILURE_REASON”,
“order_id”: “”,
“error_response”:{
“error” : “UNSUPPORTED_ORDER_CONFIGURATION”,
“message” : “source is not enabled for trading”,
“error_details”:“”,
“new_order_failure_reason”:“UNSUPPORTED_ORDER_CONFIGURATION”
}
}