difference between running code in UK and running in australia

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BoogieWoogie
    Junior Member
    • Dec 2013
    • 12

    #1

    difference between running code in UK and running in australia

    I sent a copy of some code I wrote to a friend in Australia, and we're both seeing different behaviour from the "placeOrders" function call.

    When I run the code in the UK, the response from "placeOrders" always responds with the "sizeMatched" parameter equal to the sixe of the bet I placed, i.e. my bet has been matched.

    However, when the same code is run from Australia, the placeOrders always responds with "sizeMatched" equal to zero, so effectively no bets are immediately matched.

    I've run out of ideas as to why his bets are never matched. The code reads the market before placing bets to ensure that the bet is placed at odds which are available to be matched.

    My friend has his own API key and is only placing the minimum bet of $5. Should he be using the Australian API endpoint to place his order rather than the global API endpoint?

    Any help is appreciated
  • BoogieWoogie
    Junior Member
    • Dec 2013
    • 12

    #2
    sorry didn't mean to double post it was an accident

    Comment

    • AlgoTrader
      Junior Member
      • Mar 2012
      • 243

      #3
      Australia has very restricted rules. That's very easy to move your code to any country, I have a VPS in London. That's much worse if restrictions are applied to aus accounts.

      Anyway, trading on UK from Australia is not a good idea, delay is huge.
      Betfair Bots Made Easy

      Comment

      • BoogieWoogie
        Junior Member
        • Dec 2013
        • 12

        #4
        Thanks for the fast response.

        I'll speak to him again soon and get the log files my code creates. They should show how much money was available at which odds immediately before and after the orders are placed. I think they would show money is available to be matched at the odds he's placing.

        Are you in Australia yourself? I wonder if there would still be problems if running on a UK server with an Australian account, because I would expect the account to be restricted rather than the IP of the machine that's placing the orders.

        Comment

        Working...
        X