☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
11.9K
All Categories
85
Node JS client
30
Go client
685
.Net API client
330
Kite Publisher
524
.Net / VBA / Excel (3rd party)
393
Algorithms and Strategies
891
Java client
903
API clients
383
PHP client
3.3K
Python client
310
Mobile and Desktop apps
1.2K
Market data (WebSockets)
2.9K
General
In this Discussion
August 2017
narasimha
August 2017
sujith
Details Regarding getAverageTradePrice()
narasimha
August 2017
in
Java client
Hello Team,
How getAverageTradePrice() is getting calculated. Is the same as volume traded average price ?
sujith
August 2017
Hi
@narasimha
,
We don't calculate the average traded price. We just stream whatever we get from the exchange.
I guess ATP = (Σ(LTP * quantity)) / total_volume .
narasimha
August 2017
edited August 2017
Thanks Sujit, does total volume means, the volume at tick level or total traded volume ?
sujith
August 2017
@narasimha
,
It is total volume traded for the day which you will get it in tick data.
Sign In
or
Register
to comment.
We don't calculate the average traded price. We just stream whatever we get from the exchange.
I guess ATP = (Σ(LTP * quantity)) / total_volume .
It is total volume traded for the day which you will get it in tick data.