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

Tags:
  • All members
  • Posts: 68
  • Karma: +0/-3
Re: Weighted Average Price for selections
« Reply #15 on: Sat, 05 October, 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: 64
  • Karma: +0/-0
Re: Weighted Average Price for selections
« Reply #16 on: Sat, 22 November, 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
  • Karma: +0/-0
  • Gender: Male
Re: Weighted Average Price for selections
« Reply #17 on: Mon, 05 April, 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.