Text Comparison Selections

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
DanTheMan1
Posts: 66
Joined: Sun Feb 28, 2021 11:12 am

Morning All, just been adding a list of selections into Bet Angel through a text comparison condition and just stumbled on something that one of you guys could help me with. When I add my list of selection for the horse racing, sometimes I have duplicate and multiple runners that race for example on the ones below. It is only placing one bet when I want it to place both Bear Profit once and Secret Moment twice in this example. Obviously I have a few more instances through the card where this occurs. Probably something easy to fix if anyone can help?
Bear Profit
Secret Moment
Secret Moment
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

If the bet rule is applied to 'Every' runner it will trigger on each name that appears in your list but if the name is duplicated it won't place a second bet on the same selection

The only way to do it would be to use another bet rule and add any duplicated names to that
DanTheMan1
Posts: 66
Joined: Sun Feb 28, 2021 11:12 am

Thank you Dallas, so the only way to get two/three etc selections in one race is to set up a duplicate rule for the others?
Thanks for getting back to me, much appreciated. Dan
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

DanTheMan1 wrote:
Thu Aug 31, 2023 11:11 am
Thank you Dallas, so the only way to get two/three etc selections in one race is to set up a duplicate rule for the others?
Thanks for getting back to me, much appreciated. Dan
No, you can do that as advised at the start of my message above

You only need to using additional rules if you want to back/lay the same runner multiple times if it appears in your list 2-3 times etc
DanTheMan1
Posts: 66
Joined: Sun Feb 28, 2021 11:12 am

Excellent Dallas, all sorted just realised I had my stored value set to `every` runner and my text comp to `any` runner, both set to `every` runner now and running fine. Thank you.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

DanTheMan1 wrote:
Thu Aug 31, 2023 11:42 am
Excellent Dallas, all sorted just realised I had my stored value set to `every` runner and my text comp to `any` runner, both set to `every` runner now and running fine. Thank you.
Easily done, glad it working for you now
DanTheMan1
Posts: 66
Joined: Sun Feb 28, 2021 11:12 am

Just while we are on the subject Dallas, I have a set of tissue odds that run at a decent margin in Inform Racing. Would it be possible to bring the horse and the tissue price into BA and set a rule that if the bf starting price is greater than the tissue odds then place a back bet to the chosen amount? Not sure if this is possible though?
eightbo
Posts: 2263
Joined: Sun May 17, 2015 8:19 pm

DanTheMan1 wrote:
Thu Aug 31, 2023 10:29 pm
Just while we are on the subject Dallas, I have a set of tissue odds that run at a decent margin in Inform Racing. Would it be possible to bring the horse and the tissue price into BA and set a rule that if the bf starting price is greater than the tissue odds then place a back bet to the chosen amount? Not sure if this is possible though?
(1/2)

Hey, DanTheMan1.  Fortunately for you, most things are possible with BA.
I took a few moments to design a specific solution for your use case:


1. Using your data source (e.g. Excel workbook), prepare your .csv data (e.g. reference cells from main data table)
    Note: For help structuring your .csv data, please see the Automation_SetStoredValues_Example.csv template file
          ...template file location will be something like: C:\Program Files (x86)\Bet Angel Limited\Bet Angel - Professional\templates\Automation_SetStoredValues_Example.csv
Excel worksheet (Tissue price data).png
      ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓
      ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓
Excel worksheet (Build .csv data using worksheet).png


2. Once your .csv data is ready, save what you've built as a .csv file
    Note: It wouldn't let me upload a .csv file to the forum,
              ...to recreate mine so the below .baf works first-time; copy/paste below data into notepad & save to C:\Final csv file (Data To Be Imported).csv

Code: Select all

1
Wolverhampton*,21:00,DanTheMan1,*,S,TissuePrice,3.95
Wolverhampton*,21:00,Dallas,*,S,TissuePrice,1.35
Wolverhampton*,21:00,Eightbo,*,S,TissuePrice,160
Wolverhampton*,21:00,Ghostly,*,S,TissuePrice,3.2
You do not have the required permissions to view the files attached to this post.
Last edited by eightbo on Fri Sep 01, 2023 2:45 am, edited 3 times in total.
eightbo
Posts: 2263
Joined: Sun May 17, 2015 8:19 pm

(2/2)

3. Use the 'Set Stored Values using a file' Rule Type within BA automation to import the data (and apply it to your market):
Import SV example for DanTheMan1.baf
Wolverhampton 2100.png
      ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓
      ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓        ↓
Wolverhampton 2100 (.baf applied).png

You'll notice I applied the same file to all the races for the day, and it only fired on the relevant market because of the criteria we specified in the .csv (Wolverhampton @ 21:00, selection with name 'Ghostly').  If me, you, and Dallas had been in the race, £10 bets would have also fired in a similar fashion if backable above the imported tissue prices at any time in the pre-race market.

In theory you could automate the whole process to build daily .csv files and apply them to all the day's racing markets as above, you may even feel a lightweight .csv version with just the selection name and tissue prices are all you need, but if for some reason two horses have the same selection name in a day you may end up with an incorrect bet so it's generally good practice to be specific.

Best of luck, if you need any further guidance drop me a private message.
You do not have the required permissions to view the files attached to this post.
DanTheMan1
Posts: 66
Joined: Sun Feb 28, 2021 11:12 am

Thank you so much for taking the time out to show this eightbo, so kind of you. I had an idea I would have to put it into BA in this way but the clear instructions you have given should make this easy for me. Thank you once again for taking time out to help. Cheers Dan
Post Reply

Return to “Bet Angel - Automation”