Author Topic: Clarifications about "remember" function needed  (Read 2483 times)

Tags:
  • Élite
  • Posts: 110
*
Hi,

Please help me to refresh my memory as regards to the "remember" function.

1.) What is the correct method of retrieving selection properties of a "remember" trigger sorted by selection index (not by back_price as per default).

2.) I'm unsure about when I have to add "market_id" or "market_parent" to the remember name. Can you give some examples please.

3.) Is there a difference (as regards to the remembered selections) whether I select to execute "once per market" or "once per selection"?

Your kind help is kindly appreciated.







  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Clarifications about "remember" function needed
« Reply #1 on: 05 Jun 2018, 07:59 »
Quote
1.) What is the correct method of retrieving selection properties of a "remember" trigger sorted by selection index (not by back_price as per default).


You actually do not need to "remember" selections, unless you need to access their properties at the moment they were remembered. If you simply need to refer to selections on which another trigger placed some bets etc., then you just add this condition:

Trigger {trigger name} Number of runs per selection is greater than 0

and to sort them by selection index, you add this condition below the previous one:

and Selection's Sorting order is defined by sel_index.

Quote
2.) I'm unsure about when I have to add "market_id" or "market_parent" to the remember name. Can you give some examples please.

When you remember a set of selections (and you should first consider if you need this at all, see above) under a certain name, e.g. "mysels", that set has a global scope, i.e. you can access it from any market, and therefore the program will add to that set from any market where a trigger remembers selections, creating a combined list of selections from across many markets.

If you want to create a list containing exclusively the selections from the current market, then you add market_id at the end of its name, e.g. "mysels_market_id".

Adding market_parent_id is for rare cases when you need to cross-link several markets from the same events. In most cases this is not needed, as we have relevant market prefixes for that.

Quote
3.) Is there a difference (as regards to the remembered selections) whether I select to execute "once per market" or "once per selection"?

No matter what the trigger action is (back, lay, remember, etc.), if set to "once per market", it will fire one time in each market and affect as many selections as there will be at that point.
"Once per selection", on the other hand, will make the trigger fire each time a new selection becomes qualifying for the trigger action, until all selections in that market are affected by the trigger.

So "once per selection" will add to the list of remembered selections gradually over time, until the market stops or all selections have met the conditions.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • Desenvolvedores de trigger
  • Posts: 919
  • Gender: Male
*
Re: Clarifications about "remember" function needed
« Reply #2 on: 05 Jun 2018, 09:22 »
Excellent explanation Oxa

Many Thanks
Pcal
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!

  • Élite
  • Posts: 110
*
Re: Clarifications about "remember" function needed
« Reply #3 on: 05 Jun 2018, 15:12 »
Hi Oxa,


Thanks for your reply and everything has been noted.

However, the main question has not been answered:

Quote
You actually do not need to "remember" selections, unless you need to access their properties at the moment they were remembered. 
If I need to access such properties at the moment they were remembered and sorted by selection index, how would I do that? I also want to display these values in the "view user variable" window.

I can get such values sorted by price, for example "myremember_3_back_price" but how do I get values sorted by selection name?

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Clarifications about "remember" function needed
« Reply #4 on: 06 Jun 2018, 07:37 »
You actually do not have that option then, I'm sorry.

You will have to view all remembered variables, one after another, to see the one you need.

With regards to the trigger, there might be some other way around this problem. Why exactly you need to refer to the properties of the remembered selection in the order of their index?
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • Élite
  • Posts: 110
*
Re: Clarifications about "remember" function needed
« Reply #5 on: 06 Jun 2018, 08:38 »
Hi Oxa,

Many thanks for the clarifications. It's clear to me now.

Main reason for asking was to understand the remember function and its limitations properly. 

Anyway, I can think about workarounds by using user variables. 

 

Please note, BetFair is seems to be currently OFFLINE