binary open trade

3 posts / 0 new
Last post
theone
binary open trade

I am trying to trade binary options through the API using the companion buy I keep getting the error "errorCode": "invalid.input"
the content body looks like this
{
"epic": "FB.D.FXED04.01.IP",
"expiry": "25-AUG-15",
"direction": "BUY",
"size": "10",
"orderType": "LIMIT",
"timeInForce": null,
"level": "52",
"guaranteedStop": "false",
"stopLevel": null,
"stopDistance": null,
"trailingStop": null,
"trailingStopIncrement": null,
"forceOpen": "false",
"limitLevel": null,
"limitDistance": null,
"quoteId": null,
"currencyCode": "USD"
}

how do I open a trade for a binary contract?

thanks

theone
rejected

OK look like there must have been a problem with the API as I am now getting a deal reference but every time i confirm it i get this response

"status": null,
"reason": "UNKNOWN",
"dealStatus": "REJECTED",

What does reason UNKNOWN mean?

belfort
If you have a deal reference,

If you have a deal reference, you can search in /history/activity
Or look in the History tab on your web platform

Log in or register to post comments