☰
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
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
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.