Author Topic: Weighted Average Price for selections  (Read 29598 times)

Tags:
  • All members
  • Posts: 68
Re: Weighted Average Price for selections
« Reply #15 on: 05 Oct 2013, 00:56 »
Quote
The variable lt_ma has nothing to do with the matched volume I'm afraid. It calculates the average last traded price over the time set by the market history depth. E.g. if the depth is 10 mins (so the latest 10 mins of the market data are kept in memory), then lt_ma returns the average last traded price over those 10 mins.

I have been looking for a confirmation about this. Tried this and it's really the one. Thanks!
Life shrinks or expands in proportion to one's courage.

  • All members
  • Posts: 36
Re: Weighted Average Price for selections
« Reply #16 on: 22 Nov 2014, 14:58 »
It's surprising that this variable is not available in the software. It is a simple weighted average calculation, and the data required for it can be had through the API. No need to download each matched price as Oxa suggests. This would have negligible effect on performance.

  • All members
  • Posts: 1
  • Gender: Male
Re: Weighted Average Price for selections
« Reply #17 on: 05 Apr 2021, 05:39 »
Yep, it disappears after a short time.

But I think theres no much sense in seeing this info several times a day... for me this is rather irritating, so at this time I still use Build 50.

 

Please note, BetFair is seems to be currently OFFLINE