Pages:
Actions
  • #1 by Gary on 12 Apr 2023
  • Hi

    I'm trying to create a trigger to bet on selection in a list within set markets

    I have ["Greyhound-TodaysCard/13:24Crayford(GB)Forecast-Forecast"]"3 - 1" in my text file, but it does not seem to be matching

    I think the selection name is correct looking at the trigger logs but it might not be matching the market

    can you spot anything

    thanks
  • #2 by Tim (WellDoneSoft) on 12 Apr 2023
  • I suppose you need to include market name to the condition, right?
    So it should be
    Selection's Trigger Expression "[market_name]sel_name" is in file ...
    and the file should contain
    [Greyhound - Todays Card / 13:24 Crayford (GB) Forecast - Forecast]3 - 1
  • #3 by Gary on 12 Apr 2023
  • thanks Tim



    the Greyhound-TodaysCard/13:24Crayford(GB)Forecast-Forecast was what it gave me from looking at the market_name but Ill try the other version

    thanks again
  • #4 by Tim (WellDoneSoft) on 12 Apr 2023
  • In trigger expression all the spaces are omitted until you place the var name in quotes.
  • #5 by Gary on 13 Apr 2023
  • thanks Tim

    I tried again today and got a strange selection name for the final:

  • #6 by pjms on 14 Apr 2023
  • Hi Gary, Just a thought. You could just go to general options--choose "by default all selections are not active for auto trading"--then download your markets/races you want to bet in and then tick the selection you want to bet on. This will be the only selection in the race that will be covered by the trigger. Configure the conditions for your bet in your trigger as usual. 

    pjms
  • #7 by MarkV on 14 Apr 2023
  • Hi
    After a bit of testing I think I have it sorted for reading from a file. Just a small change from Tim's. Please see attached screenshot which shows text file format and the trigger condition.
  • #8 by Gary on 14 Apr 2023
  • big thanks Mark :)
Pages:
Actions