Invalid_bet_size

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • d0001g2
    Junior Member
    • Sep 2016
    • 5

    #1

    Invalid_bet_size

    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 ...

    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}
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    There is a minimum bet size. In the UK it's £2. However, that's not the end of the matter; the Exchange FAQ page explains how to make bets for lower stakes, while also advising not to do it too often. Excess may, it appears, lead to accounts being frozen or worse. Link to FAQs below. The minimum stake for your location will be somewhere in the documentation.


    • How do I place bets below minimum £2 stake?

    https://developer.betfair.com/exchange-api/faq/1

    Minimum stakes:

    http://docs.developer.betfair.com/do...ncy+Parameters
    Last edited by jabe; 28-09-2016, 03:35 AM.

    Comment

    • wintersun
      Junior Member
      • Jan 2019
      • 4

      #3
      Hello,
      I backed a runner for £2 @3.8, later the price increased to 4.9. Now I want to cashout and the correct stake to lay is 2x3.8/4.9=1.55. When I try to lay £1.55 I got an error INVALID_BET_SIZE. So please could someone advise me how to implement the cashout when the stake required is below £2?
      Many thanks

      Comment

      • jabe
        Senior Member
        • Dec 2014
        • 705

        #4
        I gather the minimum bet is now £1 in the UK.

        However, this is how to lay for below minimum stake, as explained in the link in my post above.

        1. Make a lay bet for the minimum stake at the smallest odds, i;e: £2 at 1.01.

        2. Once the bet has been placed, adjust the stake UP to £3.55. The result of this will be to give you two bets in the system, one for £2 and one for £1.55.

        3. Cancel the £2 bet.

        4. Alter the odds of the remaining bet to 4.9.

        Comment

        Working...
        X