Question around PlaceOrder async

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Noddy
    Junior Member
    • Mar 2020
    • 8

    #1

    Question around PlaceOrder async

    Hi

    I have a question around the order of operations when placing a bet with the async flag set.

    Currently when placing an order with async set, in the response I am not receiving the BetId as per the documentation but I am not receiving the PENDING status flag. I am guessing this is because the market is not currently suspended and the order was actually placed.

    Question I then have is if it was a success why not return the BetId with the SUCCESS status or is my async code not correct so I am not seeing PENDING ?

    So if the market is open and I place and async order is it pretty much the same as placing it none async as it will actually try place it but just not return you the BetId ?

    Regads
    Ryan
  • Noddy
    Junior Member
    • Mar 2020
    • 8

    #2
    Found my issue now getting the Pending status.

    Comment

    • Noddy
      Junior Member
      • Mar 2020
      • 8

      #3
      If anyone else gets stuck. Use the API-NG visualiser and don't rely on the sample code .

      Comment

      Working...
      X