Author Topic: Searching for "text string" in market name is failing.  (Read 1022 times)

Tags:
  • All members
  • Posts: 17
Hi Guys,


I have a trigger condition : Market name contains "Gr4/5"


The Gr4/5 is being evaluated as Gr0.80000 ,


How do i get as string with a /  char treated as text and not evaluated as a numeric.
BTW I've tried Gr4/5, 'Gr4/5' and "Gr4/5", none work


Chat soon,
 Drab
16:19:31Selection: 2. Fab Surfy, initial expr.: "Gr4/5", intermediate: "Gr4/5", final: "Gr0.80000000".16:19:31Checking condition and Market's Name contains "Gr4/5".

  • Moderator
  • Posts: 3604
*
Re: Searching for "text string" in market name is failing.
« Reply #1 on: 27 Jan 2016, 15:46 »
Hi
try:
and selections trigger expression FIND("Gr4/5", "market_name") is greater than 0
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: 17
Re: Searching for "text string" in market name is failing.
« Reply #2 on: 01 Feb 2016, 11:25 »
Great, this work around seem to be working.


Thanks.


  • Moderator
  • Posts: 3604
*
Re: Searching for "text string" in market name is failing.
« Reply #3 on: 01 Feb 2016, 17:31 »
LOL I had a job finding out what market has the string "Gr4/5"
In the end I googled "Fab Surfy" and found a greyhound that says g'day  ;D

glad it's working
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.

 

Please note, BetFair is seems to be currently OFFLINE