PlaceOrder With Demo Account

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahn
    Junior Member
    • Jul 2011
    • 12

    #1

    PlaceOrder With Demo Account

    I have developed an automated sports betting system for Betfair NG API and I want to test the placeOrder function but on demo Account and Funds.
    For this reason, in my call I used the demo appkey believing that in the demo version my account will have unlimited demo funds. Contrary to my belief, I got back an Insufficient_Funds error. Indeed my real account has 0 funds meaning that the demo appkey uses my real account data an not a demo one. Is there any way I can test my functionality on a demo account and funds?
  • jabe
    Senior Member
    • Dec 2014
    • 705

    #2
    There is no demo account/funds. You can only test it with real funds. Is there any way you could minimise potential liabilities within your program?

    Comment

    • ahn
      Junior Member
      • Jul 2011
      • 12

      #3
      Jabe thank you so much for your response! OK, got it. Because my background is from finance and algo trading, I thought there would be an analogy where there are demo funded accounts for backtesting purposes. I will perform some trial real orders with the minimum stake-liability. My only question is how will the order be matched? When using a demo app key with delayed data & prices my order will be matched with the delayed prices or the best concurrent offered price?

      Comment

      • jabe
        Senior Member
        • Dec 2014
        • 705

        #4
        Originally posted by ahn View Post
        Jabe thank you so much for your response! OK, got it. Because my background is from finance and algo trading, I thought there would be an analogy where there are demo funded accounts for backtesting purposes. I will perform some trial real orders with the minimum stake-liability. My only question is how will the order be matched? When using a demo app key with delayed data & prices my order will be matched with the delayed prices or the best concurrent offered price?
        The program I've been writing (seemingly forever) is also at the point where I need to start testing it with real funds, so I can't give you a definitive answer there, although I would assume that you will get the best available prices. In any case, even if your program places bets as soon as it becomes aware of desirable prices, there's no guarantee that it will get matched immediately.

        It might be worth searching older answers on the forum for a better answer, or perhaps someone else can help.

        Comment

        • LiamP
          Junior Member
          • Oct 2015
          • 284

          #5
          Originally posted by ahn View Post
          Jabe thank you so much for your response! OK, got it. Because my background is from finance and algo trading, I thought there would be an analogy where there are demo funded accounts for backtesting purposes. I will perform some trial real orders with the minimum stake-liability. My only question is how will the order be matched? When using a demo app key with delayed data & prices my order will be matched with the delayed prices or the best concurrent offered price?
          It will be matched at the current prices, there is only one matching engine, if only you could get matched at historical prices!

          Comment

          Working...
          X