User Comments

  • Stefan
    13.8.2020 18:45:47

    Yes, it is taken your action bot stake and as well lost amount in allowed streak (the parameter ResetStakingPlan) multiplited by MartingaleStakeFactor.

    So it is not taken entire lost amount, as staking plan is rest after consecutive loses defined by the parameter: ResetStakingPlan.

    Here is piece of my code:

    placeBetParameters.Stake <- placeBetParameters.Stake + addToStake

  • Stefan
    13.8.2020 13:29:52

    Do you understand what multiplication means in mathematics?

    If your stake is 10, and you want to add 10% to new stake then 10.0 * 1.1 = 11.0

    If you set that parameter to 10.0, then 10.0 * 10.0 = 100.0


  • Stefan
    13.8.2020 12:12:38

    Any MartingaleStakeFactor > 1.0 gives you stake bigger than previous loss, and as the winning lay bet payout is equal to your stake it is really up to you what that factor value you set.

    Sir, I have got really bad feeling that you actually do not know what is your strategy about. Do you know what risk martingale strategy involves?   

  • Stefan
    12.8.2020 19:56:46

    English is foreign language for me. I speak Slovak as my native language, I understand Czech, Polish, Russian and English, so from English dictionary – factor

    A number or quantity that when multiplied with another produces a given number or expression.

    "an amount that exceeds it by a factor of 1000 or more"

    So translating MartingaleStakeFactor is the number you can multiply by your total loss giving the stake amount in the next martingale bet.

    As 1 * 1 = 1, the default value for MartingaleStakeFactor means that your next stake is increased by your loss amount only.

    ResetStakingPlan means that after x losses in row (the default value is set to 3) the martingale staking plan is reset to original bet stake amount placed by your action bot.

    I actually attached illustration image found on the Internet, to illustrate what your strategy looks like in used staking plan, it is called: martingale.   

  • Stefan
    12.8.2020 11:10:58

    When selecting above parameters in the Add/update bot dialog, the following descriptions are displayed.

    For MartingaleStakeFactor : Add previous loses to my stake. The default value is 1.0

    For ResetStakingPlan: Reset the staking plan after loses. The default value is 3.

    What cannot you understand from above sentences?

  • Stefan
    12.8.2020 11:02:15

    Yes, you can do so. Always create “Execute Till Target Profit” settings with unique name for each strategy you will execute.

  • Stefan
    9.8.2020 20:14:46

    Yes, you can execute this strategy using “Place Bet” bot, and “Execute Till Target Profit” bot, create two bot settings using “Execute Till Target Profit” and name them differently, because it is clear that this bot must check your results, and it creates result service/s by assigning them name of the bot to distinguish among different result market queues.

    To execute your strategy in full automated mode use the tool: “Bot Executor”.

  • Stefan
    9.8.2020 7:58:42

    You must clearly express your intention.

    Is your profit target meant to be generated by closing bet position on one market, so trading?

    Or is it your target profit generated by continues betting or trading on more markets?

    You instruct bots to automate your strategy by setting bot parameters, or just by putting more bots in continue execution. Just a common sense dictates that computers do not think yet, only execute set of exact instructions. You do not declare exact instructions yet from your description.

  • Stefan
    8.8.2020 17:05:28

    There are maybe zillions of different betfair strategies one could execute, but it does not mean that for any such betfair strategy you need dedicated bot, program executing such strategy.

    Just think about it what does it mean lay favourite?

    We know that lay bet will be placed.

    We know that the lay bet must be placed on the favourite.

    Bfexplorer offers general bot named “Place Bet”.

    What such bot can do, just by judging from its name?

    Well, of course it can place bet, set by parameter: BetType.

    In our case we need to set this parameter to Lay.

    We need to place such bet on the favourite, so setting the parameter SortSelectionsBy to “Last Price Traded” will sort market selections by price/odds, the favourite will have index 1, the second favourite 2, and so on.

    As we are instructing the “Place Bet” bot to do what we want in our strategy, what is missing?

    Of course the selection on which the lay bet will be placed, and the parameter to set is: ExecuteOnSelection. As the favourite has index 1, we set the parameter ExecuteOnSelection to 1.

    And that is all we need. Of course all bfexplorer bots where the above parameters make sense, so BetType, SortSelectionsBy and ExecuteOnSelection have such parameters.

    Now we can save the bot settings naming it: “Place lay bet on favourite”. Naming the bot settings and saving it, adds the bot to the list of “My Strategies / Bots to Execute”, and such bot settings become general use for any case we need to lay favourite on the market.

    Of course bfexplorer bots offers a lot of different parameters, each of them just from naming suggests for what they can be used, and there is parameter description provided as well, so just read the screen.

    The above bot settings does not define any entry criteria, so if your strategy have any such criteria you can set them on Entry Criteria of the bot settings dialog.

    When I mentioned “general bot settings” or “action bot” settings I mention in many blog posts, then even if your strategy is super complicated trigger, or machine learning algorithm triggering bet placing, then any time in such complicated strategy you need just simple “Place Bet” bot.

    Well yes, I said simple “Place Bet” bot, but it actually is not so simple program, as it manages bet placing and updating not matched bets when odds moves and odds are still in allowed odds range to place a bet, or cancel unmatched bet when bet placing is not allowed at in-play, the parameter: AllowPlacingBetInPlay, and so on.

  • Stefan
    8.8.2020 13:09:11

    There is no need for any programming if your strategy can be executed by setting pre-built bfexplorer bots:

    If your bot strategy needs programming up to 30 – 60 minutes of my time, then I do such bespoke bot scripts for free. On the forum you can find a lot of such scripts:

    And of course for more complicated bot strategies you must pay for my work, it starts from 150 GBP, what represents 5 hours of my work.

  • Stefan
    5.8.2020 10:05:14

    The OfferedAmountToLay takes 3 best offered prices and calculates sum of offered volume. The BestOfferedAmountToLay takes just bets offered price volume. It is similar for ToBack properties.

  • Stefan
    7.7.2020 8:09:52

    You can use any paypal account. When you subscribe there is only one requirement:

    You must enter valid “Betfair username”, because your subscription on paypal is used to activate betfair api access for enter account.

  • Stefan
    16.6.2020 7:39:57

    Sir, you edited previous text, are you really serious? My comment to this post then make no sense, no attached video. I cannot believe that.

  • Stefan
    15.6.2020 12:08:38

    In the application toolbar there is button: “Use Bet Event Trader”, clicking on it switches your user interface between ladder one and market grid view.

    In bfexplorer terms we call ladders UI (User Interface): “Bet Event Trader” view and grid is simply: “Bet Event” view.

    Now you can resize or reorganize your views like you want to, switching off not used views or switching on all views you want to use, and then save your layout clicking on View menu item: Workspaces / Add.

    This way you can create different named views - workspaces, for instance I have got “Bot” and “Trading” workspaces. Yes, the trading workspace has ladders, so “Bet Event Trader” view, as the main UI to show market data.

    In my blog you can see different workplaces for football or tennis trading. You can switch between saved workspaces using View / Workspaces / My Workspaces / and selecting one you want to use.

    Last used workspace is automatically loaded when you restart/reopen bfexplorer app.

  • Stefan
    12.6.2020 19:07:21

    Install the latest version of bfexplorer, I have just added Home/AwayNumberOfRedCards and CornersDifference to Football bot Start/StopCriteria parameters.

  • Stefan
    11.6.2020 18:27:04

    I can understand only what is asked, not what you think.

    Just common sense when we are talking about number of api calls to betfair api, to minimize you need to monitor as less as markets as needed using reasonable update interval.

    I do not know on what markets you run your strategy, or what exactly you do, so how could I advise?

    Graf, asked:

    “It could make some sense not to make so many calls until the first goal is scored and there is no active bet and most of all if the match ends 0-0. Am I right?”

    So I can only understand that he executes his strategy on football/soccer markets.

    Bfexplorer does not implement adjustable update interval, I mean feature that bot will automatically switch update interval for some markets that is the role of bespoke betfair app developed exactly for customer needs.

    In this post:

    I described such tool for football trades who use match details, score, time, some statistics to decide if they open market/s, and trade on them.  

    This tool updates market data only for in-play markets in 5 seconds interval.

  • Stefan
    11.6.2020 14:13:33

    Graf, this discussion was about how any bot operates on a market when bets are placed, not about exact strategy and how to execute it as effective as possible.

  • Stefan
    10.6.2020 17:10:32

    Bot manages any action, so when executed every 10 seconds, setting any time parameter in the bot settings lower than update interval does not make sense.

  • Stefan
    10.6.2020 14:23:21

    No, I already explained that, any bet operation is separated from market data update. It is totally different betfair API method call.