How to buy contract for Higher/Lower
Hello, kindly explain how to place how to place an order for Higher/Lower call or put contract types. I am conversant with the way to place a price proposal and then using the id from it to buy a contract, but how do you specify the offset barrier in the parameters for the buy call? I really appreciate your answers.
Comments
A sample json explaining it would be appreciated.
Solved it, here is a sample price proposal request for Higher CALL contract type
"proposal": 1,
"amount": "100",
"basis": "payout",
"contract_type": "CALL",
"currency": "USD",
"duration": "60",
"duration_unit": "s",
"symbol": "R_100"
"barrier": "-0.00032"
Use the id derived from the response to buy the contract