Author Topic: Markets name contains ... is in file?!  (Read 3119 times)

Tags:
  • All members
  • Posts: 141
Markets name contains ... is in file?!
« on: 19 Feb 2014, 09:44 »
Hi all,

I want to load all soccer match odds markets and have different triggers working their magic on them. But there is a trigger which I only want to work with certain leagues, there are going to be lots of leagues, so I thought I could use a .txt file and use "is in list". But it seems I can't (does it have to be exact market name?), is it possible to use something like market name contains is in file?!

One of them I have been trying to use is Turkish Soccer / Turkish Division 1" but the real name of the market is "Soccer / Turkish Soccer / Turkish Division 1 / Fixtures 19 February / Boluspor v Bucaspor / Match Odds - Match Odds" and I don't want to have to add the full name or market ID every day!!

If possible I would like this to be used on the current profile I use, so adding them in the market locator isn't an option, unless you use two market locators?!

Hope this all makes sense?!

Thanks,

Whitey
Yeah! :p

  • Moderator
  • Posts: 3604
*
Re: Markets name contains ... is in file?!
« Reply #1 on: 19 Feb 2014, 13:25 »
Hi
You can use conditions, or condition blocks to do this:

AND
market's name contains "Turkish Division 1"
or markets name contains "Bulgarian Premier"
or markets name contains "Bundesliga 1"
or markets name contains "Barclays"

the name does not have to be fully exact, but should be unambiguous. For example in the last or condition it should include  "Barclays Premier League", but may include any other leagues with "Barclays"

For these conditions to work, load markets from Soccer node in the markets tree or Locator, not Soccer - Fixtures

You can do it in Locator:
markets name contains values in file

File format:
Turkish Division 1
Bundesliga 1
Barclays

the values can be partial
choose Match Odds from Soccer node, not Soccer - Fixtures
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: 141
Re: Markets name contains ... is in file?!
« Reply #2 on: 19 Feb 2014, 17:00 »
Hi Mark,

I know I can use the conditions, but won't it slow down MFP if I have 100's of leagues in there?

I also know I can locate the markets using "contains vaules in file..." but this isn't my requirement, as I have other triggers in the same profile that need other markets.

Thanks,

Dave
Yeah! :p

  • Moderator
  • Posts: 3604
*
Re: Markets name contains ... is in file?!
« Reply #3 on: 19 Feb 2014, 19:37 »
Hi
I do not know of any simple way other than using conditions, to filter on market league names in triggers.

Please see the attached screenshot and see if it helps in any way. Here I have two text files. One contains market names, or partial market names for soccer leagues. The other text file contains partial market names for racing venues. I put the conditions in a locator template and it finds the markets I am interested in - cross sport. You can have as many of these as you want.

I also tested it with using the various partial names in one text file, and that works as well.

Depending on the speed you require your league trigger to operate at, I don't think there will be a problem with hundreds of conditions. If the trigger has to operate at 0.3 then perhaps yes it may be slower. You could also try and apply the reverse logic if the number is less:
and markets name does not contain "Bundesliga 2"
etc.

 
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.

  • Desenvolvedores de trigger
  • Posts: 919
  • Gender: Male
*
Re: Markets name contains ... is in file?!
« Reply #4 on: 19 Dec 2015, 07:49 »
Hi MarkV

This is a old post, but is great to i explain my atm problem.

I need in conditions add market_name contais or not contains part of market name like,"ascot" or any other  "race corse"

That in one trigger (back one by exemple", and in other trigger need same conditions with different names of races corses"



Tomorrow all this names can change on each trigger so
i think text file with this text parts of the market name solve the problem, but no it not work cause need complete name, right?

How can i save myself with this?

Thanks mate
pcal72
Desenvolvedor de triggers oficial Market Feeder pro

Também faço:
Cursos sobre Market Feeder pro (gratuitos)
Triggers (gratuitos para sempre)

Para saber informações contacte-me!

NOTA: TESTE SEMPRE OS SEUS TRIGGERS ANTES DE OS USAR COM FUNDOS REAIS!

  • Moderator
  • Posts: 3604
*
Re: Markets name contains ... is in file?!
« Reply #5 on: 19 Dec 2015, 14:05 »
Hi pcal
I've been thinking about this but can only give you some ideas to try:

Can you do it in Market Locator which has
markets name contains values in file?

If you cannot use locator, then can you do the changes in the text file and import selections:
TXTFILE:
selection     imported_1
Malibu Sun Ascot
Ultragold    Ascot
CONDITION:
markets name contains imported_1

lastly can you make a long trigger with AND OR conditions?
markets name contains "Ling"
or markets name contains "Ponte"
or markets name contains "Ascot"
etc..

if you have not seen it abbreviations are here:
http://community.welldonesoft.com/triggered-betting-10/names-of-courses/

sorry could not be more help, if I think of something else I will post here.
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.

  • Desenvolvedores de trigger
  • Posts: 919
  • Gender: Male
*
Re: Markets name contains ... is in file?!
« Reply #6 on: 19 Dec 2015, 14:42 »
Hi pcal
I've been thinking about this but can only give you some ideas to try:

Can you do it in Market Locator which has
markets name contains values in file?

If you cannot use locator, then can you do the changes in the text file and import selections:
TXTFILE:
selection     imported_1
Malibu Sun Ascot
Ultragold    Ascot
CONDITION:
markets name contains imported_1

lastly can you make a long trigger with AND OR conditions?
markets name contains "Ling"
or markets name contains "Ponte"
or markets name contains "Ascot"
etc..

if you have not seen it abbreviations are here:
http://community.welldonesoft.com/triggered-betting-10/names-of-courses/

sorry could not be more help, if I think of something else I will post here.

Hi Mark

Thank you for help, yes to me and to my needs import selections solve the problem.

Thanks a lot mate.

pcal72
Desenvolvedor de triggers oficial Market Feeder pro

Também faço:
Cursos sobre Market Feeder pro (gratuitos)
Triggers (gratuitos para sempre)

Para saber informações contacte-me!

NOTA: TESTE SEMPRE OS SEUS TRIGGERS ANTES DE OS USAR COM FUNDOS REAIS!

 

Please note, BetFair is seems to be currently OFFLINE