Author Topic: remember market ID problem with index  (Read 3663 times)

Tags:
  • Élite
  • Posts: 3698
  • Gender: Male
*
remember market ID problem with index
« on: 12 Mar 2012, 17:27 »
hi tim
i am using the remember market id to record all the info at x mins on 1 bot and at a different time on another bot.
i noticed today (must have been happening all the time) that the odds were not what i expected.
when i checked the 2 bots, they had different selections for the same remember market id
looking deaper at the records
bot 1 recorded index 3 as the selection with the name x
bot 2 recorded index 7 as the selection with the name x
the problem been i use the remember odds and compare them to the current odds.
so a_market_id_1_back_price = 10.00 and s_1_back_price = 8 , 10-8=2
all ok upto now
the problem is i am getting the a_market_id_1 back_price is not the back price of the selection with index 1
i now have to spend a lot of time checking the names against the index numbers etc
is this a bug or is it betfair changing the index numbers or is it me.

mcbee
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.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: remember market ID problem with index
« Reply #1 on: 12 Mar 2012, 18:59 »
The selections are remembered as they were returned from conditions, so they sorted by the price ("favouritness") not by the BetFair index.
If you need to compare corresponded values you can do it without index:
Selection's Back Price is less than a_market_id_back_price
or with trigger expression:
a_market_id_back_price/back_price is less than 0.9
etc.

Note, a_market_id_1_  prefix is not the same as r_1_ because current order can be different.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: remember market ID problem with index
« Reply #2 on: 12 Mar 2012, 19:25 »
hi
thank again for your reply.
so if i set the trigger to any selection
with the conditions
((a_market_id_back_price-back_price)/a_market_id_back_price)*10
((a_market_id_back_price-back_price)/a_market_id_back_price)*10 is the maximum
it will pick any selection with the biggest price movement

mcbee
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.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: remember market ID problem with index
« Reply #3 on: 12 Mar 2012, 19:46 »
hi
i am already using the formula in the last post.
my mistake was thinking the remember used index numbers and not rank.
this is why the 2 bots had different selections, because 1 time was very early and the other near the start time.
they have been working ok all week, it is only because i have set 2 bots to test different time limits.
SORRY for wasting your time.

mcbee
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.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: remember market ID problem with index
« Reply #4 on: 12 Mar 2012, 19:50 »
It's my job  ;)
And the topic could be useful for somebody.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 80
Re: remember market ID problem with index
« Reply #5 on: 26 Jan 2014, 18:42 »
Just to let you guys know. I tested this for the first time today and it was flawless.
We only live once.

  • All members
  • Posts: 98
  • MF Pro is the only way to go when your on the punt
Re: remember market ID problem with index
« Reply #6 on: 04 Mar 2020, 07:52 »
hi
thank again for your reply.
so if i set the trigger to any selection
with the conditions
((a_market_id_back_price-back_price)/a_market_id_back_price)*10
((a_market_id_back_price-back_price)/a_market_id_back_price)*10 is the maximum
it will pick any selection with the biggest price movement

mcbee

-----------------------

hi
i am already using the formula in the last post.
my mistake was thinking the remember used index numbers and not rank.
this is why the 2 bots had different selections, because 1 time was very early and the other near the start time.
they have been working ok all week, it is only because i have set 2 bots to test different time limits.
SORRY for wasting your time.

mcbee


==========

Hi,

Above are 2 post made by mcbee. Can someone please help me understand how this works in a trigger?

I have been trying to get this to work in a trigger i am not sure what i am doing wrong can someone please help me.

I need it to bet on the selection which comes in the most with a BACK bet. Over a 10 minute period.  10 min down to jump time.

Any help would be great thanks :)
I never bought a lifetime licence when I had the opportunity and kick myself every day by not realizing at the time the power of MF Pro and its team behind it.

 

Please note, BetFair is seems to be currently OFFLINE