Hi
I am trying to send an Accumulators contract, in the official deriv web trader app we can see “Take profit”, but in the json request I can’t find the right way to send a take profit amount. My current request is:
Buy
compra = {
‘buy’: 1,
‘subscribe’: 1,
‘price’: 100000,
‘parameters’: {
‘amount’: monto,
‘basis’: ‘stake’,
‘currency’: ‘USD’,
‘symbol’: simbolo,
‘contract_type’: ‘ACCU’,
‘growth_rate’: 0.01,
}
}
I have tried with ‘take_profit’, ‘profit’, ‘tp’, ‘t_p’ in “parameters” section, but I just get errors (“request parameters error”) from deriv api
Any suggestion?
Thank you