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

Tags:
  • All members
  • Posts: 105
  • Karma: +1/-0
External Source Team Names V Betfair Team Names
« on: Thu, 29 April, 2021, 18:45 »
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: 3322
  • Karma: +270/-0
*
Re: External Source Team Names V Betfair Team Names
« Reply #1 on: Fri, 30 April, 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: 105
  • Karma: +1/-0
Re: External Source Team Names V Betfair Team Names
« Reply #2 on: Fri, 30 April, 2021, 11:11 »
Thanks Mark.

Would it be:

“*team A v team B”

Or 

“*team A v *team B”

  • Moderator
  • Posts: 3322
  • Karma: +270/-0
*
Re: External Source Team Names V Betfair Team Names
« Reply #3 on: Fri, 30 April, 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: 105
  • Karma: +1/-0
Re: External Source Team Names V Betfair Team Names
« Reply #4 on: Fri, 30 April, 2021, 11:24 »
Thanks Mark.