Author Topic: How to have a consistent unmatched betamount at different prices?  (Read 2076 times)

Tags:
  • All members
  • Posts: 3
Hello, I'm new here. I keep having the same problem developing triggers.

Using MFPro 7. How do you configure a trigger to have same unmatched amount at different price levels, independent of the action in the market?
Example:
One trigger backs at lay_price of 10£
Another trigger backs at lay_price+l_tick of 10£
Third trigger backs at lay_price+l_tick+l_tick of 10£

Suddenly trigger one gets matched, and the trigger should back a new bet at lay_price of 10£. How do you configure this? I cannot use "bu_backa" =0 as a trigger condition,
since bu_backa adresses all of the unmatched back bets (>0).. I need som kind of "bu_backa" with price identity?
Sincerely hope someone can help me out here. In advance thanks a lot!
Kind regards
Jacob
 

  • Élite
  • Posts: 3698
  • Gender: Male
*
hi
set the trigger to no more often than 1.00 sec (if you want to limit the amount of bets then use specific number of times)
with the condition
and selections back unmatched is equal to 0
this will keep checking to see if you have a unmatched bet, if not then it will place a bet

USE TEST MODE AS IF YOU DO IT WRONG YOU WILL HAVE MULTIPLE BETS GOING OUT

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: 3
Hi, thanks for taking your time, and thanks for your help.

I'm afraid I'm not making myself clear about the issue. Using "no more often than 1 sec." will only triggger, if all my backs are matched. Because only the first bet at lay_price is matched, but my back at lay_price+l_tick and lay_price+l_tick+l_tick are not, "selections back unmatched" is still greater than zero... Using this condition trigger one will therefore not trigger?


  • Élite
  • Posts: 166
*
Use

back_unmatched is less than 30

instead. Using this back unmatched condition makes sure that your trigger adds partly matched bets again.

Use some heuristics to split the stake between your 3 back triggers. e.g. each back action gets 33% with formula (30-back_unmatched)*33/100 in stake field of all 3 back triggers, or any other percentage ( 50% for lay_price , 30% lay_price2  20% for lay_price3 )

I hope this is useful for you.
Martin

  • All members
  • Posts: 3
Brilliant! Solves my problem. Thanks a lot for your help

 

Please note, BetFair is seems to be currently OFFLINE