Can anyone see anything wrong with this request to place a bet?
{
"jsonrpc": "2.0",
"method": "SportsAPING/v1.0/placeOrders",
"params": {
"marketId": "1.114408479",
"instructions": {
"selectionId": "8506230",
"handicap": "0",
"side": "LAY",
"orderType": "LIMIT",
"limitOrder": {
"size": "2",
"price": "1.2",
"persistenceType": "LAPSE"
}
}
},
"id": 1
}
I am getting the following response...
{
u'jsonrpc': u'2.0',
u'id': 1,
u'error': {
u'message': u'DSC-0018',
u'code': -32602
}
}
Thanks
{
"jsonrpc": "2.0",
"method": "SportsAPING/v1.0/placeOrders",
"params": {
"marketId": "1.114408479",
"instructions": {
"selectionId": "8506230",
"handicap": "0",
"side": "LAY",
"orderType": "LIMIT",
"limitOrder": {
"size": "2",
"price": "1.2",
"persistenceType": "LAPSE"
}
}
},
"id": 1
}
I am getting the following response...
{
u'jsonrpc': u'2.0',
u'id': 1,
u'error': {
u'message': u'DSC-0018',
u'code': -32602
}
}
Thanks


Comment