Hi all
Please tell me :
why the tradeline and other software can send cents orders and from the API not....
see
http://docs.developer.betfair.com/do...ncy+Parameters
it's the INVALID_BET_SIZE message ...
Please tell me :
why the tradeline and other software can send cents orders and from the API not....
see
http://docs.developer.betfair.com/do...ncy+Parameters
it's the INVALID_BET_SIZE message ...
Send:
{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/placeOrders", "params": { "marketId": "1.127070023","instructions": [{"selectionId":"2","handicap":"0","side":"BACK","o rderType":"LIMIT","limitOrder":{"size":"0.07","pri ce":"15.5","persistenceType":"LAPSE"}},{"selection Id":"5","handicap":"0","side":"BACK","orderType":" LIMIT","limitOrder":{"size":"0.05","price":"23","p ersistenceType":"LAPSE"}},{"selectionId":"6","hand icap":"0","side":"BACK","orderType":"LIMIT","limit Order":{"size":"0.08","price":"14","persistenceTyp e":"LAPSE"}}]}, "id":1}
Receive:
{"jsonrpc":"2.0","result":{"status":"FAILURE","err orCode":"BET_ACTION_ERROR","marketId":"1.127070023 ","instructionReports":[{"status":"FAILURE","errorCode":"INVALID_BET_SIZE" ,"instruction":{"selectionId":2,"handicap":0.0,"li mitOrder":{"size":0.07,"price":15.5,"persistenceTy pe":"LAPSE"},"orderType":"LIMIT","side":"BACK"}},{ "status":"FAILURE","errorCode":"INVALID_BET_SIZE", "instruction":{"selectionId":5,"handicap":0.0,"lim itOrder":{"size":0.05,"price":23.0,"persistenceTyp e":"LAPSE"},"orderType":"LIMIT","side":"BACK"}},{" status":"FAILURE","errorCode":"INVALID_BET_SIZE"," instruction":{"selectionId":6,"handicap":0.0,"limi tOrder":{"size":0.08,"price":14.0,"persistenceType ":"LAPSE"},"orderType":"LIMIT","side":"BACK"}}]},"id":1}
{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/placeOrders", "params": { "marketId": "1.127070023","instructions": [{"selectionId":"2","handicap":"0","side":"BACK","o rderType":"LIMIT","limitOrder":{"size":"0.07","pri ce":"15.5","persistenceType":"LAPSE"}},{"selection Id":"5","handicap":"0","side":"BACK","orderType":" LIMIT","limitOrder":{"size":"0.05","price":"23","p ersistenceType":"LAPSE"}},{"selectionId":"6","hand icap":"0","side":"BACK","orderType":"LIMIT","limit Order":{"size":"0.08","price":"14","persistenceTyp e":"LAPSE"}}]}, "id":1}
Receive:
{"jsonrpc":"2.0","result":{"status":"FAILURE","err orCode":"BET_ACTION_ERROR","marketId":"1.127070023 ","instructionReports":[{"status":"FAILURE","errorCode":"INVALID_BET_SIZE" ,"instruction":{"selectionId":2,"handicap":0.0,"li mitOrder":{"size":0.07,"price":15.5,"persistenceTy pe":"LAPSE"},"orderType":"LIMIT","side":"BACK"}},{ "status":"FAILURE","errorCode":"INVALID_BET_SIZE", "instruction":{"selectionId":5,"handicap":0.0,"lim itOrder":{"size":0.05,"price":23.0,"persistenceTyp e":"LAPSE"},"orderType":"LIMIT","side":"BACK"}},{" status":"FAILURE","errorCode":"INVALID_BET_SIZE"," instruction":{"selectionId":6,"handicap":0.0,"limi tOrder":{"size":0.08,"price":14.0,"persistenceType ":"LAPSE"},"orderType":"LIMIT","side":"BACK"}}]},"id":1}


Comment