It looks like you're new here. If you want to get involved, click one of these buttons!
400 Bad Request (WebException) with a MarginException error, even though the order was actually created on the system with a REJECTED status.
Previously, the Order API returned a
{
"status": "error",
"message": "Insufficient funds. Margin required: ******.**. Margin available: ******.**. Add *****.** to place this order.",
"data": null,
"error_type": "MarginException"
}
200 OK response with an order_id regardless of whether the order status ended up as COMPLETE, OPEN, or REJECTED.