Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 1.45 KB

File metadata and controls

22 lines (11 loc) · 1.45 KB

libpcap-latency-meter

December 2025 Update: I made a much better tool for the same purpose!

What is it?

LIBPCAP Latency Meter is a small Java based tool that measures time difference between inbound and outbound TCP packets messages.

How does it work?

The tool intercepts inbound and outbound TCP packets containing your network messages. All captured packets carry time stamps. This tool matches outbound packets with corresponding inbound packets using some kind of correlation key (For example, value of specific FIX tags).

Signal latency

For example, this tool can be used measure latency of trading signals. FX market data feed usually contain a field QuoteEntryID(299), while FX orders may contain a field QuoteID(117). Tool can correlate inbound and outbound messages based on the value provided in these tags.

Tick-to-Quote packets correlation

Simple statistics (min/max/avg) are printed out during run time and latency log of each signal is recorded into CSV file.

See github Project Wiki for more information.