Place Bet on all selections and stop monitor the market

Hello Stefan,

could you please advice? I just want to place bet on all selections in the market (let's say to lay all selections in odds 1,98 by stake 10, at in play keep it, place bet immediately) and after the bets are placed (doesn't matter whether they are matched or unmatched) I want to stop the bot and stop monitoring the market.

Thank you

Comments (13)

  1. StefanBelo Says:
    Monday, September 13, 2010

    Bfexplorer.Scripting.SetupBotOnRunners

    If you want to stop the market monitoring after your bot ends its execution set the parameter: StopMarketMonitoring to True.

    To execute the same bot setting on all market selections, read the following article: How to run a bot on each market selection

  2. machdesign Says:
    Tuesday, September 14, 2010

    Bfexplorer.Scripting.SetupBotOnRunners

    Hi Stefan,

    it works perfect, thank you !
    One more question to this matter, I'd just like to stop the bot immediately when the bets are placed. Now the bot is waiting until the bet is matched or the market is closed.

    Yes, i want the bets to be kept at in-play, but just the bets, i'm not going to close positions or to make any trading operations. Now it works perfectly, all the bets are placed at the preset parameters at the preset time, but the bot remains active and the market is monitored until those conditions i'm mentioning above, are completed.

    Thank you for your advice

  3. StefanBelo Says:
    Wednesday, September 15, 2010

    Unfortunately there is no such feature in existing PlaceBetBot.

    You can create your own simple bot script that will be able to place your bets and stop market monitoring. Well, of course to do so you must be familiar with C# or Visual Basic programming language. In the MyBots folder you can find a lot of examples, your bot is quite similar.

  4. machdesign Says:
    Wednesday, September 29, 2010

    Stop Monitoring Market without cancelling the unmatched bets

    Hello,

    could anyone help, please? I'd just like to stop monitoring the market after the bets are placed, but not to cancel the unmatched bets. I would like to let all the bets to be placed, doesn't matter if they are MATCHED or UNMATCHED.

    Now, I use Place Bet And Close Position Bot, and I stop the bot (at preset time) without closing the positions, I have set StopMonitoringMarket to True, however when stopping all the UNMATCHED bets are cancelled. And I would like the bets remain to be placed.

    Thanks anyone for advice !

  5. Hamid Says:
    Thursday, September 30, 2010

    Why don't you use the bot "Place a Bet" instead of "Place a bet and close position"?

  6. machdesign Says:
    Thursday, September 30, 2010

    OK, Hamid, thank you for the advice, however I would like to place bets on all selections. So when I use:

    BotType: MyBot
    ExtraBotType: PlaceBet
    MyBotClassName: Bfexplorer.Scripting.SetupBotOnRunners
    StopMarketMonitoring: True
    AllowPlacingBetInPlay: False
    AtInPlayKeepBet: True  ("True" here, because I want the bet to be kept when in play)

    the bot does not stop after placing the bets. He is running until the bets are not matched.

    And when i use:

    BotType: MyBot
    ExtraBotType: PlaceBetAndClosePosition
    MyBotClassName: Bfexplorer.Scripting.SetupBotOnRunners
    StopMarketMonitoring: True
    AllowPlacingBetInPlay: False
    AtInPlayKeepBet: True 

    and i start the bot some time before the event starts, and i stop him let's say after a minute running, he stops the Market Monitring, but he also cancels all the unmatched bets. And as i am a real beginner with that software, i can't find a solution for this situation. I'm sure it's a matter of changing a few lines in script, however i don't know which script to use, and what lines exactly to change.

  7. Hamid Says:
    Friday, October 01, 2010

    HI,

     

    Why do you use "Bfexplorer.Scripting.SetupBotOnRunners" and not "Bfexplorer.Scripting.PlaceBetAndStopMarketMonitoringBot"?

  8. machdesign Says:
    Friday, October 01, 2010

    Hi Hamid,

    because i want to place bet on all selections in the market. How can i place bets on all selections with the bot
    Bfexplorer.Scripting.PlaceBetAndStopMarketMonitoringBot?

  9. Hamid Says:
    Saturday, October 02, 2010

    Hi Match,

    Ok I understand now!   I use "Bfexplorer.Scripting.PlaceBetAndStopMarketMonitoringBot" with foootball matchs and there is always 3 possiblities so I use 3 bots with 3 different runners. But the number of runners is never the same (perhaps it is like that with the race) it is not possible.

  10. StefanBelo Says:
    Saturday, October 02, 2010

    Marek, you asked me in your email to send you the source code for betfair bot PlaceBetClosePosition. You said you could change the bot code so the bot would stop market monitoring after placing bets.

    Actually this is not possible because you can execute only buil-in betfair bot using the bot script: Bfexplorer.Scripting.SetupBotOnRunners

    Have a look at on bot scripts: Bfexplorer.Scripting.PlaceBetOnRunners, Bfexplorer.Scripting.Place4BetsBot and create on those bot scripts your own bot script with features you want to use in your betting strategy.


Do you want to comment this article? Sign up here or login.

User Menu