Author Topic: win bet trigger modification  (Read 1460 times)

Tags:
  • All members
  • Posts: 829
win bet trigger modification
« on: 04 Oct 2020, 15:06 »
Hi

Can someone advise how to modify the attached trigger to place bets as follows.
1) Betfair odds <= 25.0 as currently set ie:  .5 mins before race start time.
2) >25 @ BSP

Many thanks

Ian




My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3605
*
Re: win bet trigger modification
« Reply #1 on: 05 Oct 2020, 06:29 »
Hi
As long as all selections back prices are less than 1000
In the price field: IF(back_price>25, 1000, back_price)

If the current back price is greater than 25 this will place an unmatched back bet at a price of 1000 which will be matched at BSP at the off. If the current back price is 25 or below it will operate as per your trigger at the moment. If per chance the 1000 bet gets matched before the off you could be a lucky man.

As this trigger is relying on SP it may be worthwhile putting in a condition to check the market supports SP:
and markets SP is supported

The other way to do this is two triggers, one for back prices less than 25 just like your current trigger, with another condition:
and selections back price is equal or less than 25
and another trigger to back at SP
condition: selections back price is greater than 25     
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: 829
Re: win bet trigger modification
« Reply #2 on: 06 Oct 2020, 15:49 »
Thanks Mark, I will try the former suggestion.
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: win bet trigger modification
« Reply #3 on: 07 Oct 2020, 14:41 »
That didn't seem to work.
It did place the >25 bet correctly, however failed to fire a bet <25
I tried with and without the 
and markets SP is supported, condition.
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: win bet trigger modification
« Reply #4 on: 07 Oct 2020, 14:44 »
They were 2 separate races
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3605
*
Re: win bet trigger modification
« Reply #5 on: 08 Oct 2020, 17:08 »
Hi
I just tested the formula in the Heinz trigger. It sends a price 1000 bet for odds over 25, and it sends a back_price bet for odds 25 or less. The only time I can fault it is if there is a problem with the imported amount.
Please check the trigger log for a message: error in price or amount...

In the attached screenshot you can see the formula resolves correctly, but imported_1 holds no value, so the trigger does not fire.     
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: 829
Re: win bet trigger modification
« Reply #6 on: 10 Oct 2020, 15:17 »
Hi Mark,
I have a new problem in that there is a trigger beep sound but no bet fired however the program log says a bet shows bet is unmatched, if unmatched will be matched at SP at in-play.

It may have something to do with the disconnection problem which no fix has been suggested. I had set mins to less than 6 minutes so surely in 6 minutes it would have placed the bet.

Any idea ?

Ian
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: win bet trigger modification
« Reply #7 on: 10 Oct 2020, 15:49 »
The next race the trigger fired correctly. BTW A few days ago I removed the >25.0 condition.
So no idea why the trigger fired the previous race today and no bet placed.
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3605
*
Re: win bet trigger modification
« Reply #8 on: 10 Oct 2020, 17:13 »
Hi
I had something similar this morning where a trigger sent a bet which was recorded in MF but was not received in that market at Betfair, possibly during a "zero balance" moment. Clearly there is currently a problem with data flow between the software and Betfair and I think it would be wise to hold off until the issue is resolved. Perhaps just check your Betfair account to see all is in order. 
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: 829
Re: win bet trigger modification
« Reply #9 on: 10 Oct 2020, 19:08 »
Hi,
I'm glad I'm not the only one. I checked my account and all is in order.
Will there be an announcement regarding problem if and when it is resolved. ?
Thanks
Ian

ps.... I'll test the HEINZ trigger once this problem is sorted. My best guess is the <25 bet didn't
fire due to the zero balance issue.
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: win bet trigger modification
« Reply #10 on: 19 Oct 2020, 13:07 »
Suppose I want to split the bet amount on the notepad to fire bets at intervals.
For example I have a bet of 40 on the Notepad which I import selection for Auto Trading.
I want to place bets from say 20 minutes before race and have bets placed every 5 minutes
to the OFF. That would mean 4 units bet every firing.
Is this possible from the Notepad imported selection method ?
Thanks
Ian 
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE