Pages:
Actions
  • #1 by SMF on 15 Nov 2011
  • Anyone can tell me how to calculate cross match odds in two runner markets ?

    I like to have a s1backprice, s1layprice, s2backprice,s2layprice based on s_1_backprice vs s_2_layprice etc.

    This way I can back or lay based on the best available odds.

    I know betfair does automatic cross matching but the autogreenup doesn't work well in two runner markets as it only greens up the selection that was layed or backed and sometimes there is no money above evens meaning that a lay placed below evens doesn't get greened, or gets greened at odds that leaves the book imbalanced.

    While I'm at it, what is the formula to green up when a selection has multiple backs and lays ? I know about (bm_backp*back_matched)/lay_price but what if both selections have multiple bets ?

    Thanks !
  • #2 by Maddox on 15 Nov 2011
  • two forumla's you should play about with could be
    convert odds
    odds/(odds-1) that will give you the odds of the other runner. You may have an issue with mfp rounding the odds so keep an eye on that.

    To get your stake for even green/red up try adding the p/l of both runners together as positive numbers then divide by the odds
    r1 £-100
    r2 £ 50
    (100+50)/odds
  • #3 by SMF on 15 Nov 2011
  • Awesome !! Thanks a lot, exactly what I needed.
  • #4 by peleus on 25 Jan 2014
  • Quote
    To get your stake for even green/red up try adding the p/l of both runners together as positive numbers then divide by the odds
    r1 £-100
    r2 £ 50
    (100+50)/odds

    Found this today. I just want you to know that this still works.
Pages:
Actions