Pages:
Actions
  • #1 by neilsavory on 10 Jan 2023
  • Hi, newbie here.

    Maybe this is obvious but in the context of horse racing, what is the Selection Parameter - Index?

    Thanks
  • #2 by Tim (WellDoneSoft) on 10 Jan 2023
  • The index in the selections list sorted as on BetFair. Regardless on their prices (Rank)
    So, for example in Match odds soccer market the home team always has index 1, away team - 2, and the draw - 3.
    For horse racing it's less useful because the index could change due to selection withdraw.
    If you need to "save" selection for future use "remember" trigger action or sel_id variable (it's unique ID of the selection exchange-wide).
  • #3 by neilsavory on 10 Jan 2023
  • Thanks. Not that useful for in-play then? Is there any parameter which is related to a horses place when the race is in-play?
  • #4 by Tim (WellDoneSoft) on 10 Jan 2023
  • Do you mean 1 for the favourite, etc.? It's "Selection's Rank" option or sel_order trigger variable.
    If you need the place the selection got after the market settlement then sel_place (the market have to be settled of course).
  • #5 by neilsavory on 10 Jan 2023
  • No I mean the place in play i.e the leader, 2nd, 3rd etc at that point in the race. Which may not be in price order of course?
  • #6 by Tim (WellDoneSoft) on 10 Jan 2023
  • Yes, then it's "Selection's Rank" or sel_order trigger variable. Available all the time, not in-play only.
    So it's selection's index in the list sorted by back price, then by lay price, then by last traded price:

    Code: [Select]
    Back   Lay   LTP   Rank
    1.1    1.2   1.3   1
    2.1    2.2   2.2   2
    2.1    2.3   2.1   3
    2.1    2.3   2.3   4


    Quote
    Which may not be in price order of course?
    I'm sure it's the price. Why not?
  • #7 by neilsavory on 10 Jan 2023
  • But the leader of the race at any time doesn't have to be the lowest price. It will be by the very end of the race but may not be before then.
  • #8 by Tim (WellDoneSoft) on 10 Jan 2023
  • Unfortunately there is no way to "see the race" with the software. And BetFair (and nobody) doesn't provide such information as number in realtime.
  • #9 by neilsavory on 10 Jan 2023
  • OK thanks. It's not even that easy watching a live stream because the camera angles don't always allow you to identify the horses. In fact it can't be that difficult - just put a GPS on each horse.

    Thanks for your time answering my questions.
Pages:
Actions