Author Topic: Fill or kill issue  (Read 3445 times)

Tags:
  • All members
  • Posts: 4
  • Gender: Male
Fill or kill issue
« on: 02 Nov 2024, 17:49 »
Hi, 
I'm looking for some help please with a fill or kill trigger I'm using as part of my back bets trigger, using the "Compulsory matching at any price available" part of the block.

Its been working fine until today, the issue "seems" to be I had 2 markets close in time to each other.

1st market had not been settled before the 2nd market went off so am I correct in thinking the 2nd market back bet did 
work as MFPRO saw the earlier unsettled bet as being matched already? 
Trigger log: Number of runs per selection is greater than 0 
Condition is: False

The following triggers after this event all went as expected - all triggered ok 

If this is what happened because of a timing issue is there a way to settle the earlier market by checking its status?
I think the 1st race was finished but was just waiting to be officially settled.

I am not using any staking plan or triggers depending on an earlier event needed to be settled 

Or if there is something I am missing any help or advice would be appreciated
Please see attached trigger - my refresh rate is 0.30

Thanks in advance

  • Moderator
  • Posts: 3654
*
Re: Fill or kill issue
« Reply #1 on: 03 Nov 2024, 19:05 »
Hi
Try adding this condition to the back bets (fok) trigger:
and trigger back depending on price number of runs in the market is greater than 0

that should make sure the fok trigger only fires in the same market as the back trigger fired in

You could add a condition block to the backing trigger to check previous market is finished:
AND
previous triggered events race status is finished
or trigger back depending on price number of runs in the market is equal to 0 overall

(the last condition is for the first market of the day because there will be no previous events)
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: 4
  • Gender: Male
Re: Fill or kill issue
« Reply #2 on: 03 Nov 2024, 20:06 »
Thank you, much appreciated 

 

Please note, BetFair is seems to be currently OFFLINE