issue in getting API odds..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nikunj
    Junior Member
    • Jun 2016
    • 14

    #1

    issue in getting API odds..

    Hi,

    We are using betfair jason API for get live match odds. we got sucess to fatch all odds but while we compare betfair app/website odd and this api odd data we are facing following issues.

    1. ODDS are coming with delay of 2-3 seconds. we need to fatch the LIVE ODDS.

    2. ODDs are coming but immediately the previous odds are also coming like for example if current BACK odds of team 1 is 1.32 and in next moment if it change to 1.6, than in betfair mobile app and website it will remain 1.6 but in our fatched API, it keep jumping from 1.32 to 1.6 and again back to 1.32 and so ON for sometime.. and it happens in every sports i checked like tennis, soccer, cricket etc..
    we need live odd values like shown in your website or betfair exchange .
    Any help will be highly appreciated..i heard about 299 pound accont also but not sure how to get it open.
    any suggestion will be highly appreciated..
  • nikunj
    Junior Member
    • Jun 2016
    • 14

    #2
    Originally posted by nikunj View Post
    Hi,

    We are using betfair jason API for get live match odds. we got sucess to fatch all odds but while we compare betfair app/website odd and this api odd data we are facing following issues.

    1. ODDS are coming with delay of 2-3 seconds. we need to fatch the LIVE ODDS.

    2. ODDs are coming but immediately the previous odds are also coming like for example if current BACK odds of team 1 is 1.32 and in next moment if it change to 1.6, than in betfair mobile app and website it will remain 1.6 but in our fatched API, it keep jumping from 1.32 to 1.6 and again back to 1.32 and so ON for sometime.. and it happens in every sports i checked like tennis, soccer, cricket etc..
    we need live odd values like shown in your website or betfair exchange .
    Any help will be highly appreciated..i heard about 299 pound accont also but not sure how to get it open.
    any suggestion will be highly appreciated..
    Hey...can anyone respond pls. Guys...I discussed with betfair and will get live key once pay them 299 euro but...I still have one issue that I mentioned in my post as number 2...jumping odds like 1.2-1.5-1.2-1.5 etc...betfair said I have to slow down frequency to call API...but how much..I made it only 20 times in minute but yet issue is same..checked code ..and its confirm no issue with that...so m I missing something here..
    Thanks if one could guide early plss.

    Comment

    • StefanBelo.
      Junior Member
      • Jan 2009
      • 105

      #3
      First actually deposit your betfair account and place some bets.
      betfair bot platform, bfexplorer bot sdk

      Comment

      • nikunj
        Junior Member
        • Jun 2016
        • 14

        #4
        Originally posted by StefanBelo. View Post
        First actually deposit your betfair account and place some bets.
        I done it already bro...but as with even delayed key..this jumping odd issue should not come so what is optimum fatching rates for odds API?!

        Comment

        • Mr Magoo
          Junior Member
          • Jan 2011
          • 86

          #5
          All these problems are because you do not have a 'live' app key.

          Betfair makes the API return older odds when you are using a developer key - see http://docs.developer.betfair.com/do...pplicationKeys for the full details.

          The odds are most likely fluctuating from 1.32 to 1.60 and back because of this delay: I think that Betfair implement the delay by taking a snapshot of the odds in the market every few seconds. This snapshot is returned by listMarketBook() until a new snapshot is taken.

          Betfair has many computers running their API, and it is likely that each server probably takes its own snapshot of the odds. So, one of your listMarketBook() calls hit a machine whose cached odds on team1 were 1.32, and another machine took a snapshot when the odds were 1.6. Both servers will keep returning their own copy of the odds for several seconds. This is most likely why you see the flip-flopping odds. It's also why you don't get a stream of rapidly changing (but still delayed) odds, even if you keep requesting them often.

          To stop these problems, you could keep a record of the totalMatched field. If the amount of matched bets goes down, you can deduce that you've received an older snapshot and it should be ignored. Alternatively, perhaps you could store the last two or three sets of backs and lays for the market. When listMarketBook() returns 'new' data for the market, check it against these records. If you see a match, you know that the data is stale.

          Comment

          • StefanBelo.
            Junior Member
            • Jan 2009
            • 105

            #6
            Nik, mag, if you have no money on your account or your account is not active, what means that matched bet was not placed more than 3 months, then even if you have got live appkey, data retrieved are the same as using delayed appkey.

            Once again, just deposit money to your account and place matched bet, ask for live appkey (so pay 299GBP) and all is ok for you.
            betfair bot platform, bfexplorer bot sdk

            Comment

            • nikunj
              Junior Member
              • Jun 2016
              • 14

              #7
              Thank you very much friends..my all questions seems attended now..will fund account to get the live key in day or two..and yea..my account is already funded ,though not 299 GBP but I do trading also in that..but thanks for updates plss..
              Last edited by nikunj; 14-07-2016, 05:27 PM.

              Comment

              • nikunj
                Junior Member
                • Jun 2016
                • 14

                #8
                Originally posted by StefanBelo. View Post
                Nik, mag, if you have no money on your account or your account is not active, what means that matched bet was not placed more than 3 months, then even if you have got live appkey, data retrieved are the same as using delayed appkey.

                Once again, just deposit money to your account and place matched bet, ask for live appkey (so pay 299GBP) and all is ok for you.
                Hey guys, Thanks a lot for your feedback..i have funded my account to get the LIVE KEY & trade on betfair account..now what should i fill in form to get the LIVE KEY for personal use..infact problem is that betfair not allowed at my work location so making something so that could bet from anywhere and also want to compare the odds...so what should be filled in form for that?? cause amount is not refundable so i need to write them accordinly so that LIVE KEY dont get rejected..

                Comment

                • nikunj
                  Junior Member
                  • Jun 2016
                  • 14

                  #9
                  LIVE key denied!!! What is the reason..nothing just rejected... So what exactly they want us to do?!...
                  Is it because application developed in india where betfair not allowed?! Developer team was login account on regular basis from india but once application is live everything to be done from Australia only...so what's the problem?! Can anyone guide pls..

                  Comment

                  • StefanBelo.
                    Junior Member
                    • Jan 2009
                    • 105

                    #10
                    Originally posted by nikunj View Post
                    LIVE key denied!!! What is the reason..nothing just rejected... So what exactly they want us to do?!...
                    Is it because application developed in india where betfair not allowed?! Developer team was login account on regular basis from india but once application is live everything to be done from Australia only...so what's the problem?! Can anyone guide pls..
                    I think you should ask your Indian developers what to do, you paid them, right?

                    It is funny story, because it was maybe month ago when I posted to upwork support, when they removed my profile from public, that most of developers on their web site have actually legal issues to work on betfair projects. I said to them exactly what happened to you now.
                    betfair bot platform, bfexplorer bot sdk

                    Comment

                    • nikunj
                      Junior Member
                      • Jun 2016
                      • 14

                      #11
                      I basically that Indian developer bro ..using account for technical solutions...I am almost sure they blocked because of login from restricted place might be..but than how to develop from India or any other place where restricted ??! as per me, development point of view, don't know how to tackle this?! I can develop codes..not this..

                      Comment

                      • nikunj
                        Junior Member
                        • Jun 2016
                        • 14

                        #12
                        Originally posted by nikunj View Post
                        I basically that Indian developer bro ..using account for technical solutions...I am almost sure they blocked because of login from restricted place might be..but than how to develop from India or any other place where restricted ??! as per me, development point of view, don't know how to tackle this?! I can develop codes..not this..
                        hi...can anyone pls?!

                        Comment

                        Working...
                        X