Article

Football bot stop if conditions not met

Hello,

I am trialing your software and it seems it can do great things with many condtions. Its a pitty it is only for two days trial as I have no time to see all the functions.

Anyways I have a question that maybe you can help. I am using football bot to check the score of the game and place a back bet on under 2.5 or under 3.5, but I want to make possible that this bet is placed after a goal is scored and the odds for the market should be in a certain range.

I have been able to write the above triggers but I would like the bot to stop executing if a goal is scored and the odds are not at the specified range.

Is there any condition that makes the bot run only once and stop if the conditions are not met? 

 

Tanks in advance and congratulations on the software you have built.

Comments ( 2 )


  • Betfair Bot
    30.9.2017 14:41:56

    Football Bot, is trigger bot, you must set the parameter: BotName to your trading or betting bot. We can call such bot declared by BotName parameter: action bot. 

    So, the action bot is actually a bot that is going to place your bets, it could be bot settings of "Place Bet" or "Place Bet and Close Selection Bet Position (trading bot)" bot or whatever other bot allowing to place bets. 

    Any bot settings allow entering "Entry Criteria" (click on tab Entry Criteria in the bot settings dialog). 

    Here you can add, click on green plus icon, LastPriceTraded Is between x and y value.  

    As in your action bot setting you can declare on which selection bot will place bet/s, the parameters: Selection/ExecuteOnSelection and SortSelectionBy, your bot will know which selection LastPriceTraded to evaluate. 

    As your bot will use Entry Criteria, you can restrict how many times these entry criteria should be evaluated, just by setting the parameter: Market/EvaluateEntryCriteriaOnlyOnce. 

    So, what will happen when your Football bot triggers your action bot? 

    As the EvaluateEntryCriteriaOnlyOnce is set to True (checked), and Entry Criteria is set to evaluate LastPriceTraded Is between x and y value, then when LastPriceTraded Is not between x and y, your action bot will not place a bet, and ends its execution.

  • inerd
    30.9.2017 21:59:08

    Thank you for the detailed response. I thought it would have had something to do with EvaluateEntryCriteriaOnlyOnce but i didn't know what was the right criteria. Unfortunatelly my evaluation period ended yesterday evenening so i would have to wait util i can buy a subscription to give it a go.

    Thanks anyways for the explanation.