Author Topic: Examples are good - manual is not  (Read 3070 times)

Tags:
  • All members
  • Posts: 12
Examples are good - manual is not
« on: 08 Oct 2013, 08:10 »
I am progressing slowly - the example triggers prove the functionality. The simple examples are good and I'm getting triggers to back and lay, so it's not all bad.


I want to restrict my trigger to 'n' numbers of runners. Simple you say - it's there in the manual as a Market Variable, runner_number.

Well the trigger doesn't list runner number to add it to a condition. If I add a trigger condition runner_number isn't an option.

I can create a constant num_runners and set it to 'n,' say 14

Then Markets Number of selections Is equal or less than num_runners. But is that correct because it doesn't seem to be working.

Are selections' are used to describe the field size? But surely a selection is an individual runner, as in I select the favourite to win?

I may have made 4 selections - that's not the number I want, I want to know if there are more than 14 runners in the market/event.

The choice of terminology is probably linked to the fact that MFP can be used in many sports, but it's confusing the hill out of me.

Don't misunderstand me - this is one comprehensive bot and well worth the learning curve.




  • Moderator
  • Posts: 3597
*
Re: Examples are good - manual is not
« Reply #1 on: 08 Oct 2013, 08:20 »
Hi
The condition if you want to know if there are more than 14 runners in market is:
and markets number of selections is greater than 14

If you want to restrict your trigger to 14 runners or less:
and markets number of selections is equal or less than 14

edit:
using the runner_number variable as an alternative:
and selections trigger expression runner_number is equal or less than 14

but normally one would use the variable in an expression, for example:
IF(runner_number<14,back_price,lay_price)

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.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Examples are good - manual is not
« Reply #2 on: 08 Oct 2013, 11:00 »
hi paulw
it is good to see somebody willing to learn.
you are better to use the conditions in
and selections trigger expression ... etc  etc
when you put the mouse pointer over the three dots and press the left mouse button.
you the get a list of options
in your case you would choose market variables (select the plus sign next to market variables)
NOW you have a full list of market variables WITH explanations
do this for your selections etc


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: Examples are good - getting there
« Reply #3 on: 10 Oct 2013, 01:32 »
It's gradually coming together- I find the possibilities exciting. In our syndicate of two (!) we see it's not hard to formulate a mathematically winning algorithm - the catch is getting the bets matched. No surprise there I know, but two previously bought bots just don't have the power to improve matching or distribute losses automatically.

Market Feeder has the tools to abort when bets are unmatched. It's not the bets you make that win, it's the losses you avoid.

I'm particularly interested in MFP 'in play' and rank and tick movements - brilliant stuff. There's a definite 'bot war' in the last few seconds before the off and presumably on into play. Movements mean potential profits.

I'd like to see race distance as a variable. It's embedded in the Market apparently.




  • Moderator
  • Posts: 3597
*
Re: Examples are good - getting there
« Reply #4 on: 10 Oct 2013, 07:16 »
I'd like to see race distance as a variable. It's embedded in the Market apparently.
Hi
and selections trigger expression market_length is less than x
the market_length unit is metres.

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: Examples are good
« Reply #5 on: 10 Oct 2013, 11:34 »
It's good!

 

Please note, BetFair is seems to be currently OFFLINE