Forum Article


Can you please tell me how can a bot detect if there are no Back (or Lay) bets on a selection ? I want it to place bets only on selections with Back or Lay Bets on the market.

Thank you


  • Add Your Comment


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

Comments ( 48 )

  • Stefan
    6.3.2018 10:19:58

    If you want to place a bet in allowed odds range, so parameter PlaceBetInAllowedOddsReange is True (checked), then setting Minimum/MaximumOdds sets allowed odds your bet can be placed. Bot check offered price defined by BetType and places bet only when set parameters are met.

  • Corneliu
    8.3.2018 8:31:56

    It's not the allosed odds range because I don't want to be the first in queue. I want to place my bets only onn selections that have back bets. For example, if selection has no back bets, bot doesn't place bet. If first back bet is @4, bot places bet @5. Thare are only two available bots to place bets in associated markets (Football bot and Execute in Associated Market) ? Sometimes I cant get them to execute. It seems they are in "standby" and I have to open the associated market manually for the bots to execute. 

    Thank you


  • Stefan
    8.3.2018 10:28:05

    If you do not want to offer your bet, but take what is offered, then set parameter: OfferMyBet to False (unchecked.)

    There are two other parameters: Minimum/MaximumOddsDifference you could use to detect whether there is offer on both sides (back and lay). If there such offer on both sides then of course there is odds difference, minimal one of course is 1 tick.

    I would suggest you to test any bot settings you create, just switch to Practice Mode and run you bot to check if the4 bot operates as you expected from the bot settings.

    Associated market name, the parameter: MarketName must be exact name of market you want to open, as you can see it in Event Browser My Bet Event dialog, Market types parameter, so one of these text there, for instance: OVER_UNDER_25 when you want to open Over/Under 2.5 Goals market.

    Associated market is open in bfexplorer, and as it is not active market open in Bet Event view its market data are monitored with update interval set by parameter in Settings dialog/Update Interval/Passive market.

    If you use market streaming, then keep in mind, that streaming sends market updates only, and bots are executed only when market changes are detected on a market, when no market updates are detected then market gets “heart beat” event every 60 seconds, and so bot is then executed every 1 minute.

    Finally when we talk about bots and its features, when you find anything missing in bfexplorer bots, then you can develop your own bot with set of features required by your betting or trading strategy. Have a look at Bfexplorer BOT SDK. If you are not able to program your bot, then write your bot specification and sent it to me.

  • Corneliu
    8.3.2018 17:09:15

    Thank you Stefan. Is SDK a different subscription ? I'll try everything you suggested and If I find something missing, I'll write it down and let you know. This is a great help from you. Thanks

  • Stefan
    8.3.2018 17:18:39

    Bfexplorer BOT SDK is available to PRO subscribers, so you have got access to it by request. First I would suggest you to watch some videos or read some articles about it, because you must be familiar with programming in F# or C# to use BOT SDK.

  • Corneliu
    9.3.2018 10:51:44

    You're right, it works fine with the OfferMyBet option on the Place Bet bot. But without this OfferMyBet option available, I can't seem to make it work with the Be The First In Queue bot. Is it possible to add this OfferMyBet feature to the Be The First In Queue bot ? Also, do you know how can I place a bet on on a associated market on the Last Price Traded of the original market without having to specify the Last Price Traded value ? Ex: Place a bet on an associated market, on the same odd as the last Price Traded on the market X. With these two items solved, I believe BF Explorer has everything else needed for my strategies. Thanks alot Stefan 

  • Stefan
    9.3.2018 11:47:49

    Please read it twice or more: “Be The First In Queue”.

    To be the first in queue the bet must be offered, so it does not make sense to implement OfferMyBet parameter for this bot, because “Be The First In Queue bot” works only by offering bet, so OfferMyBet is always True.

    Your second request can be done only by custom bot.

  • Corneliu
    9.3.2018 16:33:03

    Yes, I've read it, understand what it means, but the strange thing is that it works with Place Bet when Offer MyBet is checked (selected), so it should work also on Be The First In Queue but it places the bet even when there are no backs or lays in that selection. But never mind, I'll use the Place My Bet Bot instead. About the custom bot, you think it would be very expensive ? Thanks 

  • Stefan
    9.3.2018 18:39:55

    “Be The First In Queue bot” always offers a bet, and as the name of bot suggests places a bet to: “Be The First In Queue”.

    What does it mean? As a bet is always offered the bot needs a gap more than one tick between best offered back and lay price, otherwise placed bet would be immediately matched, it would not be offered. If there is no gap between offered prices, the bot: “Be The First In Queue” waits for such gap in offer, otherwise a bet is not placed.

    To be first in queue you must place a bet on odds without any offer!

    Bfexplorer offers different bots, and all those bots offer different functionality/behavior when placing bets.

    I already mentioned, setup any bot and run it in practice mode to see how a bot behaves, so this way you will understand/learn the bot functionality.

    You have got Place Bet bot which can offer your bet as well, when parameter OfferMyBet is set to True (checked), but that does not guarantee your bet will be the first in queue, only the bot: “Be The First In Queue bot”, can do so.

  • Corneliu
    10.3.2018 1:06:39

    The Be The First In Queue bot never cancels when the market is cleared (Goal, red card, etc.) ? It doesn't have that option ? What's the right way to do it ? Thanks