☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
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.