Author Topic: in list betting on market and selection  (Read 904 times)

Tags:
  • All members
  • Posts: 62
in list betting on market and selection
« on: 12 Apr 2023, 13:23 »
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

  • Tim Vetrov
  • Administrator
  • Posts: 4874
  • Gender: Male
*
Re: in list betting on market and selection
« Reply #1 on: 12 Apr 2023, 18:12 »
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
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 62
Re: in list betting on market and selection
« Reply #2 on: 12 Apr 2023, 21:36 »
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

  • Tim Vetrov
  • Administrator
  • Posts: 4874
  • Gender: Male
*
Re: in list betting on market and selection
« Reply #3 on: 12 Apr 2023, 21:38 »
In trigger expression all the spaces are omitted until you place the var name in quotes.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 62
Re: in list betting on market and selection
« Reply #4 on: 13 Apr 2023, 21:11 »
thanks Tim

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


  • All members
  • Posts: 29
  • Gender: Male
Re: in list betting on market and selection
« Reply #5 on: 14 Apr 2023, 12:14 »
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

  • Moderator
  • Posts: 3606
*
Re: in list betting on market and selection
« Reply #6 on: 14 Apr 2023, 17:04 »
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.
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: 62
Re: in list betting on market and selection
« Reply #7 on: 14 Apr 2023, 18:55 »
big thanks Mark :)

 

Please note, BetFair is seems to be currently OFFLINE