Pages:
Actions
  • #1 by mcbee on 12 Mar 2012
  • 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
  • #2 by Tim (WellDoneSoft) on 12 Mar 2012
  • 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.
  • #3 by mcbee on 12 Mar 2012
  • 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
  • #4 by mcbee on 12 Mar 2012
  • 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
  • #5 by Tim (WellDoneSoft) on 12 Mar 2012
  • It's my job  ;)
    And the topic could be useful for somebody.
  • #6 by peleus on 26 Jan 2014
  • Just to let you guys know. I tested this for the first time today and it was flawless.
  • #7 by bonecrusher on 04 Mar 2020
  • 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 :)
Pages:
Actions