API Timeout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robne2000
    Junior Member
    • May 2013
    • 19

    #1

    API Timeout

    Had a rather expensive issue caused by placeorders timing out. I've no way of knowing why it timed out (although as I could keep sending requests, I can only assume Betfair wasn't answering), but my bot assumed the order hadn't been placed and then a few seconds later, placed another, which also timed out, and so on.

    I'm using VB.NET and HttpWebRequest to place the call. Not quite sure how to fix it, as once the timeout is reached I can't recover a BetID so I've no easy way of knowing if the order was actually placed. Just wondering if anyone else has a better way of handling this, other than just setting a long timeout?
Working...
X