Hi,
I have having a bit of trouble getting the final piece (step 2 in fact) of this trigger working and could really do with some expert help.
Basically within the attached trigger it is supposed to do the following once I have manually placed a Back Bet into betfair:
1) kill unmatched Back bet @ cbt seconds - if for any reason my back bet that I have manually put in does not get fully matched then cancel any unmatched back amount. THIS PART WORKS
2) lay back Back Bet @ l_mb seconds - this then is supposed to lay back what I have got matched after 2.5seconds elapsed.
3) kill unmatched Lay bet @cbt seconds - this is supposed to cancel any unmatched lay bet after a further 1.6seconds has passed.
4) deactiviate and reactiviate - this closes the block/trigger and kicks it off again as I want to keep placing back bets manually throughout the race. THIS SEEMS TO WORK
This is for win horse race markets.
My refresh rate in-play is 0.2 seconds.
The problem I am currently facing is that part 2 is firing 2 lay bets back into the market as the trigger is not getting the information back that the first lay bet has been fired into the market until 0.5seconds due to the marketfeeder pro only allowing an updated list of bets every 0.5seconds as the minimum? (I believe this to be the issue)
An example today is that in 'Test Mode' it works fine as it knows the bets that have been put in the market by MF Pro, BUT using real money it doesn't seem to realise that it has already put in a lay bet (after 0.2 seconds), so does it again (at 0.4seconds), then when MF Pro gets back an updated bet list (after 0.5 elapsed), it then does not lay anymore which is what I am after.
Hope this makes sense.
Basically I just need part 2 (lay back Back Bet...) to only fire once each time the block runs/repeats.
My thoughts were either:
a) once part 2 has fired, add an action in below it to change the refresh rate to be 0.6seconds and then in block 4 put an action to change back the refresh rate to 0.2seconds
OR
b) add a constant which gets updated to be a 0 or 1 based on if that trigger has fired so it only fires it if its a 0, and update the constant in block 4