Article

How to cancel all unmatched orders on the market/selection by bot?

Hi!

I need some help.

Heh... It looks like an easy task but I can't figure out how to do that... I need to cancel all unmatched orders on the market/selection.

Also, I've got another question. How to place orders at all selections in the market at once? For example, there are 25 selections(Horse Race) and I want to lay at 1.1 on every selection. I see there's a bot named "Place Bet" but it can only place bets on specific selection so does it mean that I need to make 25 bots for that task?

It would be nice if there was an option that I can tick and make the bot to place the order at all selections at the market.

Any help would be appreciated.

Thanks.


Updated by Stefan:

Here is the video preview of your bot trigger. It offers two parameters LayOdds and LayStake, by default are set to 10.0 @ 1.1 The offset bet as you call it, in bfexplorer terminology Hedge bet is managed by action bot entered by parameter BotName. This approach allows to setup different types of bots for closing a bet position on a selection.

It was not required but depending on the lay odds you enter it could happen that at one moment can be matched lay bets on more than one selection; the bot trigger manages such situations as well.




Download “Horse Racing Trade First Favourite Bot Trigger” script if you want to test it or build your own script from it.

Comments ( 89 )


  • Betfair Bot
    23.9.2015 16:04:17

    You mentioned Cymatic and Geek Toy, but these apps offers 2 – 3 features for automated bet placing like placing stop loss bet or tick offset, therefore in their user interface you can find panels to setup such features.


    If I did the same for bfexplorer, there would not be enough screen estate to accommodate setup panels for all those features, therefore I added My Bots view where you can add your required setting for different functions.

  • Ilya Nikol
    23.9.2015 16:36:00

     

    Stefan, the trick is to know what features the overwhelming majority of traders use and what features are useless.

     

    Heh... what would be if we removed "iBeer" or "X-ray" apps from iPhone? : - ) I think anyone can leave without them just fine : - ) but what if we removed the ability to call or send SMS? That would be tragic... : -)

     

    If you aren't experienced trader and you look at all those features that some platforms offer you might think that all of them are important and essential but the truth is that the only 10% of those features are really used by traders and those 10% features should polished to perfection and when those 10% of features are polished to perfection you can move further and add other functional which is less important.

     

    Stefan, I haven't even started to give you suggestion about automation : -) I started from the "essential" features which should present by default : - ) and probably 80% of all traders would be happy to hanve only those "essential" features and they will be frustrated if they don't them in good state.

     

  • Ilya Nikol
    23.9.2015 16:51:07

     

    Stefan, on your place I wouldn't mixed up the "essential" functional and automation/bot functional I would split them.

     

    Because right now BFexplorer looks too complex for "average" trader and not too powerful for the "advanced" trader.  

     

  • Mir.
    23.9.2015 17:01:24

    Lay the Field video - in MarketFeeder Pro

    https://youtu.be/W4maUAPwpAQ

     

    (only sample - with open markets, edit triggers, turn triggers on)

  • Mir.
    23.9.2015 17:32:16

    I changed settings which I showed before.

     

    - Bet placed before In-Play -> Keep in-play
    - Green Up -> changed Back bet 1.25 because green up waiting for 1.25 Odds, but Back bet place bet immediatelly

     

    It is many conditions only... and meanwhile place bet and cancel bet

  • Betfair Bot
    23.9.2015 17:55:28

    Ilya forgive me I was wrong giving you credibility to be an expert in any aspect of this meaning :-) We are both Slavs (I am Slovak, and you are Russian) so I hope you will not take my words too seriously to be offended.


    The base feature any starting trader needs is a trading ladder where he can place his/her bets, update them or cancel. The ladder offers Profit column where if a bet is matched it shows your current bet position you can close by hedging when clicking on a profit value. Those are essential features for any trading software to place a bet and take a profit or loss.


    The ladder interface is set to be default view when you open bfexplorer. Of course you can create many different workspaces with different layouts and switch off ladders totally if you do not need them.


    When betfair trader manages these base features for trading he can go further, and setup one click bet orders which automatically trades out at a target profit or loss, those are betfair bots.


    On youtube you can watch many videos with people clicking on ladders. If you have got a strategy you can do what many do manually by using betfair bots, and then you actually do not need a ladder, well maybe only for reading a situation on a market if your trading strategy is executed manually.
    Yesterday you posted a comment with user interface (UI) mockup: http://i.imgur.com/AqtWvrJ.png


    Showing how UI presenting bets should look like. This is quite funny because bfexplorer is able to present any grid data in tree like structure, and I showed it in my article Cancel Bets on All Markets.
    Presenting data in grids is a common UI practice, using grouping, filtering, sorting or searching as well. Actually such features are so commonly used, also by operating system like Windows (just have a look at File Explorer and its grouping features) that I think it is not necessary to explain users how to group, filter or search.


    Well, of course all that depends on a software developer if he uses such features in his programs or not. In my video you can see that I used and use such features in my programs.

  • Ilya Nikol
    23.9.2015 18:12:42

     

    Stefan, no offense taken! : - )

     

    I just give you my feedbacks/suggestions form trader point of view that's all.  I understand that I might be wrong in every aspect.

     

    It's your software and only decide what's good for it. : - )

     

  • Betfair Bot
    23.9.2015 18:17:46

    Thanks Miro for your video, and what about Market Feeder settings that would execute a bet placing procedure like bfexplorer bot: “Be the first in queue” does?


    Bfexplorer for now offers 8 bots to allow constructing bot strategies:


    “Execute on Selections"
    "Execute Bots
    "Execute On Associated Market"
    "Execute Till Target Profit"
    "If Then Else"
    "Chain Execution"
    "Repeat Until"
    "Execute Trigger Bot”

     

    In Ilya strategy the missing part was a bot which would cancel bets on other selections and executes further action bot, in this case bot closing a bet position at odds.

     

    I would need more examples of different strategies to develop a general purpose bots.
    From this example I can think about extending "If Then Else" bot features.

  • Betfair Bot
    23.9.2015 18:23:27

    I knew you would not be offended. I always listen what users say and take what I think could be a good addition to bfexplorer features, such features are added in hours and not in weeks like other betfair software vendors do.

    I added CancelAllBets, as an experiment some users could use, and that was your suggestion. From my point of view I would implement the heartbeat feature as I mentioned and if such feature will be required by some users.

  • Ilya Nikol
    23.9.2015 18:34:13

     

    Stefan, without any doubts you do excellent support and no one can't find such excellent support at any other products.

     

    I really appreciate your efforts and I really appreciate that you listen my complains. : - )

    Keep up the good job!