Pages:
Actions
  • #1 by pjh on 21 Mar 2017
  • Hi

    I am using a trigger which operates on horse racing markets. I use the market locator to automatically select the day's races and I maintain a file containing a list of selections on which I want to bet. This file is imported and it works well with very little manual intervention.

    I want to place a condition such that I do not bet on my selections when the price of the favourite is less than 2.00. I have tried two condition options: Favourite's back price is greater than 2, and Any Other Selection's Back Price is greater than 2, but neither work, so I assume that MF is just concerned with the imported selections - is that correct?

    How would I create a condition to prevent bets being placed on imported selections when there is a short priced favourite?

    Thanks in advance
    Pete  

  • #2 by Oxa (WellDoneSoft) on 21 Mar 2017
  • Hello!

    I'm afraid the triggers do not see the selections that are not active for auto-trading. When you import your selections from the list, if the favourite is not on that list, it becomes invisible to the triggers.

    I would advise to do this check using the Market Locator search template and filter out the races where the favourite is priced below 2.0. See the example attached.
  • #3 by pjh on 21 Mar 2017
  • Thanks for the quick reply. Do you suggest running the market selector very frequently, ie every minute, to track the price of the favourite?

    Is there any other way to reference selections from an external file? 
  • #4 by Oxa (WellDoneSoft) on 21 Mar 2017
  • No, if it is essential to check the price every few seconds, then the Market Locator solution won't do.

    You can put the selections' names into a text file (you can actually take the one you use for the import) and check whether the selection's name is "in file":

    Selection's Name is in file [path to file]
    and Favourite's Price is greater than 2.0


    The names in the file must be one per line, and inside double quotes.
  • #5 by pjh on 21 Mar 2017
  • Perfect, that's exactly what I'm looking for! I'll give it a try.

    Thanks
    Pete
Pages:
Actions