Author Topic: External Source Team Names V Betfair Team Names  (Read 1296 times)

Tags:
  • All members
  • Posts: 107
I was wondering if anyone had any ideas on how I might be able to fix this problem.

I currently have a trigger that reads selections from a text file from another source.

My problem is the external source occasionally names the teams different from Betfair for example tonigt:

The source names the teams "Ankaragucu v Gaziantep" but Betfair names them "Ankaragucu v Gaziantep FK"

The trigger only fires if the names are exactly as per Betfair.

Aside from trying to get the source to change their naming convention, does anyone have any ideas how I might be able to solve this?

Thanks

  • Moderator
  • Posts: 3597
*
Re: External Source Team Names V Betfair Team Names
« Reply #1 on: 30 Apr 2021, 09:04 »
Hi
Try fuzzy search which will do approximate string matching for up to three characters. To activate fuzzy search put an asterisk at the start of each line in the text file.

 
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: 107
Re: External Source Team Names V Betfair Team Names
« Reply #2 on: 30 Apr 2021, 11:11 »
Thanks Mark.

Would it be:

“*team A v team B”

Or 

“*team A v *team B”

  • Moderator
  • Posts: 3597
*
Re: External Source Team Names V Betfair Team Names
« Reply #3 on: 30 Apr 2021, 11:20 »
It's:

*"team A v team B"

like you use at the moment but put the asterisk first
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: 107
Re: External Source Team Names V Betfair Team Names
« Reply #4 on: 30 Apr 2021, 11:24 »
Thanks Mark.

 

Please note, BetFair is seems to be currently OFFLINE