Forum Article

Football/Soccer Bot

Hi there.

I am currently trying a football statregy that only comes into action if the score is 0-0 and the time is 75 minutes. If a goal is scored before 75 minutes I want to cancel the outstanding bots and stop monitoring. Is there a way to do this?

Thanks

  • Add Your Comment

    +

    Please login to your bfexplorer account, if you want to add a comment to this article.

Comments ( 8 )


  • Stefan
    25.4.2018 11:26:23

    If you run your bots in Bot Executor tool, then Bot Executor stops market monitoring immediately after no bot is running on the market.

    “Football bot” offers the parameter:  MatchTimeStop, so when the parameter is set, the bot stops its execution after set match time is reached (MatchTimeStop). So you can simply set MatchTimeStop to more than 75.

    Score parameter allows multiple score entries (separate them by ;), for instance: 0 – 0;1 – 1

    Alternatively I can reprogram “Football bot” to implement criteria similar to bot:  "If Then Else"

  • MopsyTurtle
    25.4.2018 16:47:56

    Thanks for your reply Stefan. I'm not sure if what I'm expecting to see in the Order/Bot Executor window is what it should be. There is a column that says "Monitored", and when the bot hasn't started there is no checkmark there, which is great. When the bot starts this column becomes checked, which is also great. However when the bot stops this column still has a checkmark against it and I was expecting to become unchecked. I have the Output window open and I can see the message to say that the bot has stopped. In essense what I am wondering is if there is a checkmark in the "Monitored" column is it using the resouces to actively monitor it or not? Because unless I am doing something wrong once this column becomes checked it never becomes unchecked even long after the game has ended.

  • Stefan
    25.4.2018 17:41:17

    English is foreign language for me, so maybe I have got bad felling in using some words, but in this context “Monitored” term says: has been monitored, and as well is monitored.

    I wanted to show flag, so you can filter, group or sort markets in “Bot Executor” view by Monitored column and so differentiate among those three states: is not yet monitored, is monitored, has/had been monitored.

    Grid view offers other three columns which are by default hidden, but you can show them by clicking on column with your context mouse button/right mouse button, then clicking on Show Column Chooser, from which you can drag and drop hidden column to the grid view. I suggest to show (drag and drop) “Total Matched” column, so you will see that what I was talking about really works.

    If market is monitored by “Bot Executor” tool then “Total Matched” changes values when data are reloaded from betfair servers.

  • MopsyTurtle
    25.4.2018 18:19:41

    It is a relief to know that I'm not doing anything wrong. I had understood the "Monitored" column in the present tense, rather than both the present and past tense.

    Am I correct to assume that there is nothing in the "Order / Bot Executor" window that tells me what is being monitored right now and using the resources of the software to do so? The reason I ask is because on a saturday there are far more football matches than any other day of the week, and I do not want to use resources where they are not required.

  • MopsyTurtle
    25.4.2018 18:34:20

    I think that some additional functionality would be good on the Football bot. Can we have a "MatchScoreStop" as well as the "MatchTimeStop"?

    This way we could put multiple scores in there to make the bot stop. If I could prevent the bot from even starting if the score is not 0-0, that would be the perfect use of resources.

    Many thanks.

  • Stefan
    25.4.2018 20:57:18

    Monitored column (including the column: “Total Matched”) fully describes monitoring status. I do not like to overcomplicate user interface (UI) with a lot of displayed data, less data displayed in UI means more clear UI.

    I was thinking to change “Football Bot” parameters similar to mentioned "If Then Else" bot, adding Score, MatchTime and GoalDifference parameters, then you would be able to set criteria for Start and Stop criteria, combining a lot of criteria values.

    Have a look at on mentioned bot and let me know if you will manage setup such bot, as Criteria Editor could be too complicated for some users with a common sense in Boolean algebra.

  • MopsyTurtle
    25.4.2018 21:23:08

     I have an ultra-wide monitor 2560x1080, so for someone like me having another column would be no bother at all. But I realise that not everyone does, so maybe a customisable UI would a nice-to-have in the future.

    As a fellow developer, I doubt that the criteria editor is too complicated for me to understand. As long as it follows logic (which I'm sure it does), there should be no problem. I certainly would enjoy some more flexibility on the football bot.

  • Stefan
    26.4.2018 10:30:31

    You can change view layouts, resize, dock, or undocked views, close/hide unused ones and then add your workspace by clicking on the menu item View / Workspaces / Add.

    This way you can create many workspaces for different use scenarios, I have got such two workspaces the one for bot execution, and the one for manual traded, so Bet Event view is switched to ladders. I have got special workspaces created for tennis treading or horse racing trading when utilizing market data on one ladder. Please have a look on this articles and videos.

    Application layout and workspaces:

    http://bfexplorer.net/Products/Feature/12

    My Football Trading Workspace:

    http://bfexplorer.net/Articles/Content/115

    Analyzing betfair data to trigger trading on horse racing markets:

    http://bfexplorer.net/Articles/Content/291

    Portrait Layout:

    http://bfexplorer.net/Articles/Content/213