Placing bet - Very low successful ratio

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diegovoro
    Junior Member
    • Nov 2018
    • 3

    #1

    Placing bet - Very low successful ratio

    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.


  • LiamP
    Junior Member
    • Oct 2015
    • 284

    #2
    Most likely the price change if you are using Fill or kill, what does the response say?

    Comment

    • WTPooh
      Member
      • May 2012
      • 88

      #3
      1. Most likely "handicap": "0" is incorrect. Handicap filed description:
      The handicap associated with the runner in case of Asian handicap markets (e.g. marketTypes ASIAN_HANDICAP_DOUBLE_LINE, ASIAN_HANDICAP_SINGLE_LINE) null otherwise.

      2. There is no field "virtualise" in limitOrder.

      Comment

      Working...
      X