Author Topic: Using 'remember' across markets  (Read 1862 times)

Tags:
  • All members
  • Posts: 110
Using 'remember' across markets
« on: 09 Mar 2017, 10:18 »
I wish to perform a 'remember' action on a set of selections in a horse racing place market and reference them from the associated win market. Is this possible? Thanks

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Using 'remember' across markets
« Reply #1 on: 09 Mar 2017, 10:40 »
Yes, it is possible, and in a much simpler way than using "remember". Just add "winplace_" prefix to any market or selection variable to address the exact variable in the opposite market.

E.g. if you want to check the price of the favourite in the win market using a trigger that is being executed in the place market, write:

Selection's Trigger Expression winplace_r_1_back_price is ...

There are a number of examples here (skip the ones for football):

https://marketfeeder.co.uk/learn/triggers/by-tag/tags/link-markets/]Linking markets
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 110
Re: Using 'remember' across markets
« Reply #2 on: 09 Mar 2017, 11:33 »
Thanks Oxa - unfortunately I want to reference values at an earlier point in time, hence using 'remember'. I have tried various combinations of using winplace with my remembered events but with no success.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Using 'remember' across markets
« Reply #3 on: 09 Mar 2017, 14:04 »
Then you need to remember a set of selections under a name that will be common to both markets. In this case, both markets have the same starting time, so remember the selections you need under a name that contains the event_start variable, e.g.:

mysels_event_start

Then you can address the set of remembered selections from both markets, e.g.:

mysels_event_start_r_1_back_price

But make sure you do not add two markets (two different horse races) that start at exactly the same time (a rare occasion, but it happens).
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 110
Re: Using 'remember' across markets
« Reply #4 on: 09 Mar 2017, 14:19 »
Thanks. Just to be clear I have to set up 2 triggers, 1 in the win market and 1 in the place market, both with the same name. Can I refer to the stored win market values from the place market and vice versa using winplace?

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Using 'remember' across markets
« Reply #5 on: 09 Mar 2017, 14:27 »
You do not need to use the winplace_ prefix if you are addressing a remembered selection. Just use the name you remembered it under (see the example in my previous message).
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE