Hi I'm using websocket and quote API's for fetching live data and other important data. Now I want total turn over of any script at end of the day. For example how much "SBIN" has been traded (in rupees) at the end of day.
I cannot directly apply below formula at the end of the day to get total turn over. Turn over = volume * closing price It would be very inaccurate because closing price and trading price (at any point of time during market) would be too much differ.
My question is how can I get total turn over of any stock at end of day?
Hi, It is difficult to get the accurate turnover. There can be hundreds of ticks in a second, but any trading platform will only receive two to three ticks for a liquid instrument on the internet. You can check out this thread for more information.
In order to get the approximate turnover, you need to multiply LTP of the latest tick with volume. You can get accurate value after 17:30 or 18:00 which will be the close price of the day multiplied by the volume of the day.
It is difficult to get the accurate turnover. There can be hundreds of ticks in a second, but any trading platform will only receive two to three ticks for a liquid instrument on the internet. You can check out this thread for more information.
In order to get the approximate turnover, you need to multiply LTP of the latest tick with volume.
You can get accurate value after 17:30 or 18:00 which will be the close price of the day multiplied by the volume of the day.