Comments

  • skarabeusz
    11.5.2016 0:55:11

    Hello MIR,

    I tested your tennis BOT - everything is OK.

    But I can not deal with the following problem - I do not know how to set the "Close Selection Get Position".

    Example:

    I buy a bet LAY - ODDS 4.0 (2 euros).

    Condition: IF ODDS (BACK) is equal to or less than 1.70, then buy a bet.

    What the program does: when ODDS = 1.70, the program buys the same amount of 2 euros.

    To evenly distribute the losses, the program should buy BACK a bet for the amount of 4.71 euros.

    How to properly set the parameters to evenly distribute the losses (you place the screenshot)?

     

  • skarabeusz
    10.5.2016 23:37:20

    Hello Stefan,

    I noticed that your Excel spreadsheet does not support "Microsoft Visual Basic" scripts.
    Did you could unlock action scripts?

  • Stefan
    29.4.2016 17:28:38

    Tell me what is 50% from 2.0 odds? I do not think it is 1.0, a common sense tells me that it cannot be so as on betfair we do not have odds 1.0, or am I missing something?

  • Mir.
    29.4.2016 11:01:07

    Thanks for hint, but sorry, there is some hidden meaning, which I do not understand...

  • Mikus79
    28.4.2016 22:48:17

    Few other sites with livescores to look at:

    http://www.livescore.in/tennis/
    http://www.livexscores.com/livescore/tennis
    http://tennisbios.com/view/tennis-livescore

  • Stefan
    27.4.2016 15:20:32

    Have a look on getMyPrice function, and how the price (odds) is calculated.

  • Mir.
    27.4.2016 14:58:45

    Thank you very much for very quick reaction!
    Now I test this script.

    I set:
    PricePercentages:0|10|25|50;UseTradingBotParameters:true;IsLayBet:true

    Action bot is: Place Bet And Close Selection Bet Position with Lay bet type

    Actual Odds = 10.0
    Bot placed bets on this Odds:

    0 % - 10.00
    10% - 5.00
    25% - 2.84
    50% - 1.66

    -------------------------------
    Maybe something I do not understand properly.
    I expected:
    10 % from Odds 10.00 is 9.00
    25 % from Odds 10.00 is 7.60 (or 7.40)
    50 % from Odds 10.00 is 5.00 ...

     

    ------------------------------
    BACK BETS

    Works like Lay bets.

    0 % - 10.00
    10% - 5.00
    25% - 2.84
    50% - 1.66


    I dont know how to place back bet about 10 % above than actual best back price.

     

  • Stefan
    27.4.2016 14:39:34

    Betfair once again removed my Betfair BOT SDK from their developers web site:

    https://developer.betfair.com/

    I do not think this approach is in betfair interest as betfair business model works on commission fees on exchanges.

    More customers, means more commission fees for betfair. Bot developers make significant turnover on betfair markets, so leaving those developers without easy to use betfair bot sdk libraries like mine is contra productive from my point of view.

    I have got a feeling, that removing my BOT SDK from developers web site is just an opinion of one person in betfair, Neil Thomas. He is welcome on bfexplorer forum, to say why it is so. His opinion as well as any links to other betfair vendor products will never be deleted from this forum.

  • Mikus79
    27.4.2016 12:55:57

     

    Hi

    The following sites are quick as flashscore.com

    http://www.livescorehunter.com/Livescores/Livescore-Tennis.php

    www.tennisexplorer.com/live

    and most bookmakers sites epecially www.bet365.com and www.willhill.com

  • Stefan
    27.4.2016 12:08:34

    Yes, I also noticed issues with betfair tennis live score api as well, it happens with any service on the Internet, a degradation in service quality sometimes.

    Betfair offers web live score api, and on that service are available ITF matches as well.

    flashscore.com/tennis does not offer easy way to get data from.

    Basically all such services have one or maybe two sources of tennis data. If you have got some other web site for tennis information, then list them here and I will have a look on them.

     

  • Stefan
    27.4.2016 9:32:54

    Your bot trigger is here: ExecuteAtPricePercentagesBotTrigger

    The source code shows what parameters could be used and how. If you will need bot trigger assembly built from this source code, the let me know.

  • Mir.
    26.4.2016 14:22:56

    Thumbs up!

     

    At the github it is nice to see how much work has been done.
    Thanks.

  • Stefan
    26.4.2016 13:35:14

    The source code to all bot triggers can be found here:

    https://github.com/StefanBelo/BetfairBotSDK

    Soon I will add ExecuteAtPricePercentagesBotTrigger.fs.

  • Stefan
    25.4.2016 20:27:20

    From betfair forum:

    Originally Posted by JayBee

    The above requires a subscription fee.

    JAYBEE, you are wrong.

    Bfexplorer BOT SDK is free and everything what user needs is to post on bfexplorer forum, and there is for it just one rational reason. Betfair api access is activated automatically each month by my authorization system on my web site, to active betfair api access, or better to say to generate betfair subscription code, and this is done only for those who posted articles, or comments. I do not have to do it manually, it is done automatically also for those who use free version of bfexplorer, not only for BOT SDK users.

    Using Bfexplorer BOT SDK, anyone can choose what he will use, and there are 4 different levels of using Bfexplorer BOT SDK code and/or assemblies/services.

    Bfexplorer app is just environment for loading markets, bots execution, and evaluation of results, and so on. If betfair programmer chooses to use BOT SDK and create bots which will be integrated to bfexplorer app (those are just projects MyCsharpBot or MyFsharpBot and MyBotTriggers), then is obvious he needs to execute them with bfexplorer.

    On the other hand he can use those 2 levels of programming with api only, and bfexplorer app domain, and in this case he will build his own app on those libraries, and it is really up to him, if he builds some user interface for his app, or will run it like console app or as a service, or as a web application on asp.net platform.

    For those who would require my support with bot development and will use bfexplorer app, there are 2 subscription plans. Either he decides to post on bfexplorer forum, or not, then of course he will subscribe, but his subscription fee can be just zero 0 GBP, 2.5 or 15 when posting on bfexplorer forum, or when donating amount between 2.5 to 15.

    If he does not want to post anything to forum, then of course he will subscribe with Professional or Basic subscription plan.

    I fully understand your opinion because no one will need to read your book, all what you describe in your book is already done.

    Please leave on betfairians what and how will be used. Those who want to build betfair apps from scratch and cannot read betfair documentation to betfair api will certainly buy your book.

    Those who want to skip this part, and actually develop only bot strategies or trading models can use my BOT SDK, or any other publicly available assemblies. On this forum I think can be found at least 3 or 5 such betfair libraries, mine is just one of them.

  • Mikus79
    25.4.2016 14:28:44

    Thanks for replies. I had no idea what term backbook/laybook meant I thought it relates just to prices on the back/lay side. So thank you for explanation. I use fill kill bot instead of place bet bot because I want only place bet after finishing the first set and before any point of the second set is played. In the place bet bot when I set the range of odds I would like my bet to be matched the bot will be waiting until these odds are met but it could mean that some points have already been played in the second set. Anyway thanks again I will test last traded price criteria. Cheers

  • Stefan
    24.4.2016 18:40:45

    “Close Selection Bet Position At Odds” places a bet at current offered odds when you set the Odds parameter to 0, so this bot actually does not check your target odds in such case.

    Similar to Place Bet ... bots Min/Max odds difference feature, this bot offers the parameter CheckingLastPriceTraded (by default set to true, so this feature is active) and with the parameter CheckingLastPriceTradedDifference to place your bet only when odds difference between last price traded and current offered odds is <= CheckingLastPriceTradedDifference, so it waits till selection prices settles, as when odds rapidly changes mostly it is because offered bets are cancelled.

    You can use the parameter BetMatchingTimeout to set the time the bot will wait for your bet to be matched.

    You are not right, when price/odds changes the bot cancels your bet and a new bet is calculated for new price/odds, so stake cannot be the same. I think you did not realize that on any bet placed on betfair is applied best execution rule, your bet is matched at better odds if such odds is offered at the moment your bet is processed by betfair matching algorithm, therefore correctly hedged bet size will result in not balanced bet position.

  • Lacoste
    24.4.2016 10:07:48

    The bot does not start because your entry criteria is faulty.

    LayBook (and BackBook) refers to book percentage. This tells you in percentage terms what all the decimal prices for each runner add up to. You can find this in Bfexplorer just under market time.

    Your corect criteria would then be LastPriceTraded Is less than or equal to 1.5. Or you can set PlaceBetInAllowedOddsRange to True and MinimumOdds to 1.01 and MaximumOdds to 1.5.

  • Stefan
    24.4.2016 9:39:17

    Why are you using Fill or Kill bot, are you familiar with term book value, and what does it mean?

  • Stefan
    18.4.2016 13:28:10

    Install the latset version of bfexplorer I changed live score update routine when more Tennis Bots is executed on one market.

    You do not have to set IsInPlay Entry Criteria, the bot itself, waits till market is turned at in-play and then starts updating live score data.

  • Lacoste
    17.4.2016 11:43:58

    Yup. You're right.

    "[...]as two bots retrieve the same score data, only first one receives notification about score data changes[...]". Executed the tennis bots without the action bot.

    When I execute as I previously said, none of them trigger. My issue still stands.

    Thanks!