API call set to "End Time" rather than "Duration"?
Hi folks -
Is it possible to make an API call to place a trade ending at a specific time rather than a specific duration? In other words, can you replicate the Up/Down trade with the End Time option as you can on the web page version or will an API call only allow the Duration option?
Comments
Hello. Yes you can. it's something like this. You send your proposal
{"proposal":1,"subscribe":1,"amount":1,"basis":"stake","contract_type":"CALL","currency":"USD","symbol":"R_100","date_expiry":1462280700,"duration_unit":"m","passthrough":{}}
then just buy.
Regards