Author Topic: Cancelling the complete trigger action  (Read 3703 times)

Tags:
  • All members
  • Posts: 12
Cancelling the complete trigger action
« on: 31 Jul 2013, 06:40 »
New bee!

I'm dipping my toes in the murky waters of triggers, which I know have huge potential.

A first and easy question: Does a trigger "BACK PRICE back_price <2 CANCEL"
Selection Favourite - All Markets


cancel the trigger or just cancel the bet on the favourite.

I want to look at the price of the favourite and not proceed in that event if it's under $x.
Ideally I'd keep that condition until any runner was backed, then that condition would be inoperative.

Looking at the many examples, I know it can be done - there seem to be very few limits to what triggers can do.

I'm not finding the MFP Manual helpful in learning how to build triggers.

A link to a resource would be useful. I can RTFM but I can't find a manual as such.

Time is ticking on my trial version - I need to learn and test quickly!

Thanks in advance to any responder.


  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
Re: Cancelling the complete trigger action
« Reply #1 on: 31 Jul 2013, 16:54 »
If you select Fav in the selection drop down .. then I think whatever happens will happen to the Fav.
Fortune favors the brave!

  • All members
  • Posts: 12
Re: Cancelling the complete trigger action
« Reply #2 on: 31 Jul 2013, 23:40 »
Thanks. The question leads to what I want what I really really want,
which is multiple triggers/conditions which can be aborted if any of the top conditions are not met.

I'm having trouble understanding the 'flow' of the triggers and I'm not sure that it's  documented. I'd find it a lot easier if it was simple (!) computer code.

I'd LIKE to see the code implementing the triggers so I can understand what's going on! I suspect when I'm more familiar with the trigger editor, I will.


  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Cancelling the complete trigger action
« Reply #3 on: 01 Aug 2013, 05:50 »
hi
Quote
A first and easy question: Does a trigger "BACK PRICE back_price <2 CANCEL"
Selection Favourite - All Markets

cancel the trigger or just cancel the bet on the favourite.
this would cancel the bet if not matched at in-play/the start of the race.
the trigger below should help you to understand a bit better.
in the constants set
minimum price
bet amount
favourites rank
time to place the bet

the link to the manual.
http://marketfeeder.co.uk/download/MF7_manual_eng.pdf


mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 12
Re: Cancelling the trigger
« Reply #4 on: 01 Aug 2013, 06:40 »

I don't want to cancel the bet, I want to ignore or deselect that event as in "move along nothing to see here."

So if hypothetically, at any stage before any bet is matched, the favourite is less than x, stop betting on that event.  Once there's a match we have to stick with the trigger.

I've set it to 'Delete Market' but  that doesn't seem right. That only removes it from the list.  It's going to be simple isn't it?

I promise I do have the manual open ;)

I've set constants, used them in triggers and appreciated the very clear 'translation' of the condition. That's after just a couple of hours some of which are waiting for markets to open, so I'm not complaining.


It's going better than I expected - I have a heavily modified trigger running in test and due to the the well know law of "it will always win to suck you in" it's showing a 'sim' profit.

 OK got the 8.4 section and it's starting to make sense.

I am seriously impressed with MFP. Like most of us here I wish I had half your knowledge.

An ongoing thank you.

PS Yes I talk too much - but this is fun!

  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
Re: Cancelling the complete trigger action
« Reply #5 on: 01 Aug 2013, 15:38 »
if you're betting in-play add a 1.5 second delay to make sure the simulation is close to reality
Fortune favors the brave!

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Cancelling the complete trigger action
« Reply #6 on: 03 Aug 2013, 14:36 »
hi
it is as simple as using a delete trigger.
add trigger
delete market
conditions
and favourites back_price is equal or less than 2(set to your minimum price)
and markets number of matched back bets is equal to 0
and markets number of matched lay bets is equal to 0
and markets minutes before the off is equal or less than 1(set to your cut off time)

selections = favourite

markets = all markets

execute = once per market

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE