Lookbacks
Choose an amount you want to earn per point of movement. There are three types of lookbacks:
- High-Close: The highest market price during the contract period minus the price at the contract end.
- High-Low: The highest market price minus the lowest market price during the contract period.
- Close-Low: The market price at the contract end minus the lowest market price during the contract period.
High-Close
By purchasing the "High-Close" contract, you'll win the multiplier times the difference between the High and Close over the duration of the contract.
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 High-Close Lookback:-
Use the
contract_type
as: "LBFLOATPUT
" -
Set the multiplier. Eg: Use
multiplier: 1
-
-
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
.
High-Low
By purchasing the "High-Low" contract, you'll win the multiplier times the difference between the High and Low over the duration of the contract.
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 High-Low Lookback:-
Use the
contract_type
as: "LBHIGHLOW
" -
Set the multiplier. Eg: Use
multiplier: 1
-
-
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
.
Close-Low
By purchasing the "Close-Low" contract, you'll win the multiplier times the difference between the Close and Low over the duration of the contract.
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 Close-Low Lookback:-
Use the
contract_type
as: "LBFLOATCALL
" -
Set the multiplier. Eg: Use
multiplier: 1
-
-
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 about 1 month ago