Forum 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.

  • Add Your Comment

    +

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

Comments ( 89 )


  • Mir.
    23.9.2015 19:31:00

    Stefan, every piece of software has own conception.

    You can not compare using Ladders in GeeksToy vs. Bfexplorer. Cannot compare triggers in Market Feeder Pro vs. Bfexplorer bot ... etc.

     

    --------------------

    Maybe: would be better write what is better in Bfe instead find mistakes on users, users experiences with others sw etc.

     

    I decided that I would use the BFE "only" for full automated solutions.

    I cannot use something like Bfexplorer Console, Ladder (in my opinion confused for in-play markets), ... etc.

    I will only use the available scripts or bots. I am not programmer, some times I made mistake, but I do not want to torment and ridicule others to be what I am like a fool.

    Here is maybe false hope of something better, but often good will ended frustrated on the half way.

     

    --------------------

    Too much energy for me...

  • Edumadrid
    24.9.2015 0:04:38

    Good night friends:

    This is a very interesting and necessary debate.

    I did not want to intervene, so far, because I know what it asks Ilya not going to get, because it's something I've been asking for many years, to do manual trading with some features that can be used by BFE basic users, ie, without bots.

    Stefan, you know, that traders flee from your app, because they do not understand, at the interface they do not see the usual features.

    I think the debate is leading to a battle of egos.

    You believe that your solutions are valid for all, but others believe that your bots are wonderful for some time, but other times prefer to see what they are doing or what we have done, using simple features that we can check or uncheck.

    I think if you did Ilya case, many more traders prove your software. You're driving down the British road with your vehicle with left hand drive, ie, you are going against the majority.

    "Your software is probably the best, but do not understand that others want, in England, the steering wheel to the right"

     

  • Ilya Nikol
    24.9.2015 9:05:27

     

    Heh... Stefan, when I first time saw BFexplorer I got impression that the person who made it is awesome coder/programmer with willingness to put a lot of effort into his software but differently he isn’t trader. : -)

     

    I was impressed how powerful are some less important features but then I saw that some essential functional at very poor state.    

     

    Stefan, in your previous post you said your opinion about what any starting trader needs for trading and you mentioned the ladder but now think the people who created Betfair are definitely smart people and they have very experienced traders on their side and they know how to make money but why they don't provide the ladder interface on their official web site? They could do that easily with the resource they have and attract much more "starting" traders to trade on their exchange... but why there's no any "ladder" interface at all? Doesn't it look a bit strage to you? : - ) 

     

  • Ilya Nikol
    24.9.2015 9:22:06

     

    P.S. the more people trade on Betfair the more money Betfair makes... Stefan, and you really think that the creators of Betfair are such shortsighted people? If the ladder was the crucial feature for the starting traders then we already saw this features on the official Betfair site long time ago. Believe me the creators of Betfair aren't such careless people to put their destiny in hands on the apps developers. : - )

     

  • Ilya Nikol
    24.9.2015 10:14:04

     

    Heh... about those videos on Youtube with the manual trading on the ladder… It's a usual scam to attract totally inexperienced trader to subscriber but thanks God almost all trading software has the trial period so people can try and see that they can't make profit that way. : - )

     

    BFexplorer has the best ladder interface I've even met and there are no any other platforms that offer such customization it also offers "Betview" capabilities but why I don't see there are thousand subscribers around? : - )

     

  • Stefan
    24.9.2015 16:08:21

    Eduardo, open bfexplorer home page, at the end of the page you can find Bfexplorer Statistics with real number of current users.


    On the forum there are at the moment 3 active users, all of them free Professional users, two of them Basic subscribers, and one non subscriber who donated and were willing to post on bfexplorer forum so I gave him free Professional access as well.


    The most of bfexplorer users do not even bother to post anything on forum, so I believe they found bfexplorer features useful and have no interest on any changes.


    There are 3 features levels for bfexplorer. You can use free version for years the only requirement is to post on bfexplorer forum, no one uses this option.


    Basic subscriber is bettor on betfair. Professional subscriber is trader, or bot operator running his/her automated betting or trading solutions. I have got 3 or 4 active professional subscribers for whom I built bespoke solutions, so applications according to their requirements.


    Your problem is that you want some features which are implemented by bots, what is the feature offered only for Professional subscribers.


    I work from 5 to 10 hours daily on bfexplorer or on support, so I am not able to offer anything more for free. Well, of course I use my app for my own bot strategies, so most of that time is time I spend on my own betfair research activities.

  • Stefan
    24.9.2015 19:20:23

    Miro, I did not ask you to compare ladders but automation functionality of Bfexplorer and Market Feeder. It is clear that automation is built on base logic/algorithmic blocks which operate on different entry parameters/rules.


    I asked you if Market Feeder offers similar type of betting operation like “Be the first in queue” and if not, if such functionality can be implemented by triggers, what I think cannot be done by Market Feeder.


    If we compare what type of strategies can be built by bfexplorer bots, and what type of strategies can be built by Market Feeder trigger rules, then Market Feeder base blocks are:


    Placing bets, cancelling bets, placing offset bets (hedge bets) on selection, hedging market, and set rules triggers those actions.


    With bfexplorer the base blocks are bots with specific functionality, and triggering is made by programming bot trigger, or by using those 8 construct bots…


    Never mind, we can end this discussion now.

  • Stefan
    24.9.2015 19:48:25

    Miro, “Trailing Stop Loss” bot had been operating correctly in my video. Maybe the name of the bot or just its parameter name: Loss is a little bit misleading. This bot actually never closes your bet position in loss, but only when your bet position can be closed in a profit, and when the biggest reached profit is reverted to lose its profit by set amount of ticks (the Loss parameter).


    On my video you could see that when I executed this bot it set the target odds two ticks above the open odds, what were 3.05. Now when odds moved down the target odds was set x ticks lower depending on for how many ticks odds went down.


    The Loss parameter was set to 2 ticks; those 2 ticks make a buffer zone for closing bet position. It is pity that I switched from ladders to grid view at the moment when “Trailing Stop Loss” had been triggered.


    I wanted to show that bfexplorer in that moment operated with matched orders/bets and with automated orders/bots, so I showed Market Bets and Market Bots views side by side, and similar like you cancel unmatched orders/bets, you can stop automated orders/bots.


    In my video I created special type of bot which used to close bet position by trailing stop loss in profit, and close selection bet position at odds. I hope you understand how this bot was constructed, and how the ladder entry was used to set odds at which the bot should close bet position in loss, it was set to 3.35.

  • Stefan
    24.9.2015 20:16:33

    Ilya, actually I am a trader, or better to say a bot operator. Eduardo and Miro know me for years, we never met but we know each other through bfexplorer. Back in 2007 I discovered betfair as a bettor, and like many others at start it was maybe a good luck but I won a good amount of money, with a novice luck it all turned wrong way couple months later.


    At that time I made a good decision and did not deposit money but started to analyze what went wrong, and then I discovered there are some apps for trading and betfair offers web service to access their data.


    I started to develop a program which would make me to be a trader. Betfair offered free api, with limited speed and full transactional api for which I had to pay 200 GBP per month. To cover those 200 GBP per month I released bfexplorer 6 months later after my first running app at the end of 2007.


    With a new api, betfair released last year, I do not have to pay those 200 GBP for now, we will see in near future if betfair will change that. On the other hand there is a decline on betfair in every aspect.
    I think you already noticed that my web site is quite different, it is more my blog, than a web site trying to sell product, therefore I have no problems, to make fun of my app, or just to discus other products, and give them a credit, if they earned it.


    As I said I listen to what my users say sometimes, mainly when there are some good ideas to implement.

  • Mir.
    24.9.2015 20:47:21

    I've never used "Trailing Stop Loss" but your explanation of his behavior is quite different than usual.

    I thought that Loss is an "anchor" to prevent further losses. If the robot does not reach a profit, I can have any huge losses ...

    Who wanted this functionality?