LTP, A quick question...

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
eatyourgreens
Posts: 243
Joined: Sun Feb 18, 2018 12:53 am

Good morning all,
Does any one know an answer to this example?

A selection has £10 available to back at odds 2.2 and £10 available to back at odds 2.1 and £10 available to back at odds 2.0.

Some one then places a £30 back bet requesting odds of 2.0.

His (or hers!) bet will be matched at the highest available odds, so £[email protected] £[email protected] and £[email protected] .

My question is, what would the last traded price be?............would it be the requested odds of 2.0 or an average of all 3 prices?

Thanx all
Have a nice day! :-)
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

LTP is the last price matched so its the £10 @ 2.0.

If in your example they'd asked for £20 @ 2.0 it would be 2.1.
eatyourgreens
Posts: 243
Joined: Sun Feb 18, 2018 12:53 am

Thank you Shaun.......

I must be thick!.........its so simple but your answer took a while to sink in
:roll:
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

:) not thick, just probably over thinking if anything.

If you search for LTP in this doc.. https://docs.developer.betfair.com/disp ... Stream+API then the explanation that it's "last price matched" sheds light on it. Don't ask me why they didn't just call it LPM.
User avatar
jamesedwards
Posts: 2309
Joined: Wed Nov 21, 2018 6:16 pm

eatyourgreens wrote:
Sun Dec 11, 2022 3:26 pm
Thank you Shaun.......

I must be thick!.........its so simple but your answer took a while to sink in
:roll:
Think of it as the first £10 would get matched at 2.2, then the next £10 would get matched at 2.1 and the final £10 would be matched at 2.0. Therefore last traded price is 2.0.

Of course, if this was reversed and you were laying at the same prices then the order of matching would be reversed and last traded price would be 2.2.
Post Reply

Return to “Bet Angel - Automation”