ListClearedOrders - same request - different response

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EKK
    Junior Member
    • Aug 2010
    • 38

    #1

    ListClearedOrders - same request - different response

    Hi,

    I am experiencing a problem with ListClearedOrder request - same request give different responses.

    The request returns something empty as follows:

    {"jsonrpc":"2.0","result":{"clearedOrders":[],"moreAvailable":false},"id":"1"}

    and it should have some bets.

    I wrote a small script that call the request twice and sometimes one of the two results is empty whereas the other results is not empty (same request -different responses).

    It is pretty simple to demonstrate the problem - just call list cleared orders twice instead of once.

    Anyone experienced the same issue?

    Thanks

    EKK
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    Is the empty response always the first response?

    There is a time lag between the market closing and the bets appearing in the listClearedOrders result, so perhaps you are just calling it "too early".

    Comment

    • BetfairDeveloperProgram
      Administrator
      • Oct 2008
      • 679

      #3
      Hi EEK,

      Please can you provide a specific example and the time at which each request was made, in relation to the market settlement time?

      Thanks

      Neil

      Comment

      Working...
      X