Number of Trade calculation for Future and options

As API doesn't provide 'Number of Trade' for every tick. Can you please let me know exact formula to calculate 'Number of Trade' based on API Data for both option and Future for a particular candle/ timeframe?
Sign In or Register to comment.