Trying to lay - get errorCode INVALID_ODDS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobbieRotten
    Junior Member
    • May 2015
    • 5

    #1

    Trying to lay - get errorCode INVALID_ODDS

    Hi,

    I've got no idea what this means since I can't see anything wrong with my order. Have I missed something?

    request
    Code:
    {"jsonrpc":"2.0","method":"SportsAPING/v1.0/placeOrders","params":{"instructions":[{"orderType":"LIMIT","selectionId":3,"handicap":0.0,"side":"LAY","limitOrder":{"size":2.0,"price":7.3,"persistenceType":"PERSIST"}}],"customerRef":"7cb0bf3c999f423d93dbd494a31290a5","marketId":"1.119179731"},"id":"2"}
    response
    Code:
    {"jsonrpc":"2.0","result":{"customerRef":"7cb0bf3c999f423d93dbd494a31290a5","status":"FAILURE","errorCode":"BET_ACTION_ERROR","marketId":"1.119179731","instructionReports":[{"status":"FAILURE","errorCode":"INVALID_ODDS","instruction":{"selectionId":3,"handicap":0.0,"limitOrder":{"size":2.0,"price":7.3,"persistenceType":"PERSIST"},"orderType":"LIMIT","side":"LAY"}}]},"id":"2"}
  • jptrader
    Junior Member
    • Nov 2009
    • 82

    #2
    Probably just what the error message says: Invalid odds. 7.3 is not valid, 7.2 or 7.4 is.

    Comment

    Working...
    X