Hi there,
I am using betting API to place bets, but almost all of them failed.
I am not sure if this is because the price changes the few milliseconds since I get the price and the moment I place the bet, or if there any other thing going on. Maybe I should place the bet "asynchronously"? Will that help?
I am posting this json as an example.
[
{
"jsonrpc": "2.0",
"method": "SportsAPING/v1.0/placeOrders",
"params": {
"marketId": "1.156892402",
"instructions": [
{
"selectionId": "10141720",
"handicap": "0",
"side": "BACK",
"orderType": "LIMIT",
"limitOrder": {
"size": "2",
"price": "1.24",
"persistenceType": "LAPSE",
"virtualise":"true",
"timeInForce": "FILL_OR_KILL",
"minFillSize": "1.16"
}
}
]
},
"id": 1
}
]
Thanks.
Regards,
Diego.
I am using betting API to place bets, but almost all of them failed.
I am not sure if this is because the price changes the few milliseconds since I get the price and the moment I place the bet, or if there any other thing going on. Maybe I should place the bet "asynchronously"? Will that help?
I am posting this json as an example.
[
{
"jsonrpc": "2.0",
"method": "SportsAPING/v1.0/placeOrders",
"params": {
"marketId": "1.156892402",
"instructions": [
{
"selectionId": "10141720",
"handicap": "0",
"side": "BACK",
"orderType": "LIMIT",
"limitOrder": {
"size": "2",
"price": "1.24",
"persistenceType": "LAPSE",
"virtualise":"true",
"timeInForce": "FILL_OR_KILL",
"minFillSize": "1.16"
}
}
]
},
"id": 1
}
]
Thanks.
Regards,
Diego.


Comment