buy same contract without delay
i have json to buy contract without proposal
like
{
"parameters": {
"currency": "USD",
"symbol": "R_50",
"amount": "3",
"basis": "stake",
"contract_type": "PUT",
"duration": "5",
"duration_unit": "t"
},
"req_id": 2,
"price": "3",
"buy": "1"
}
I'm trying to buy a same contract like 5x without delay (with 1 request: do 5x buy same contarct) thanks
Comments
@madara0079 buy call doesn't support batch buy so you need to send request individually. We are working on
batch_buy
as of now, its under testing.Any updates on this?
When do you think batch buy will be available from the Api?
I was talking about buy_contract_for_multiple_accounts when I was referring to under testing.
To purchase multiple contracts for single account you can pass multiple token of single account (i accept not convenient) in buy_contract_for_multiple_accounts
I will raise this feature request with our development team.
Hi Raunak. Passing multiple tokens did the trick. It is indeed a bit of a dirty work-around, but it works for me right now
Thanks!