Touch/No Touch
Choose a target price (Barrier) and predict if the market price will touch or not touch the target during the contract period.
If you select "Touch", you win the Payout if the market touches the Barrier at any time during the contract period.
If you select "No Touch", you win the Payout if the market never touches the Barrier at any time during the contract period.
Trading Flow
-
Authorize using your token: Call authorize API using your token. Ensure that the token has the trading scope enabled.
-
Fetch Available Instruments: Use the active_symbols API to retrieve a list of all trading instruments offered on Deriv.
-
Get Contract Details: Using the contracts_for API, obtain a list of contracts available for a specific instrument.
-
Request a Price: Use the proposal API to get a quote. This will return an ID for the proposed trade.
For the Touch/No Touch options:-
Use the the
contract_type
:- For Touch, use: "
ONETOUCH
" - For No Touch, use: "
NOTOUCH
"
- For Touch, use: "
-
Set the Barrier. Eg:
barrier: "+1.37"
-
-
Buy the Contract: Execute the trade by using the buy API with the ID from the proposal response. This action returns a unique
contract_id
. -
Monitor the Contract Status: Check the contract’s progress or outcome using the proposal_open_contract API with the
contract_id
. -
Close the Contract Early (if Needed): If you want to exit before the contract’s expiration, use the sell API with the
contract_id
.
Updated 15 days ago