iprokin / pcapKospi200

Haskell parser of UDP packets in pcap file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parser of UDP packets in pcap file

This program parses quote messages from a Kospi market data feed broadcasted via UDP and captured in pcap file. Sample data can be downloaded from http://www.tsurucapital.com/en/code-sample.html.

Usage

Compile:

stack build

Use:

./pcapKospi200 /path/to/file.pcap

to reorder by packet accept time:

./pcapKospi200 -r /path/to/file.pcap

to run infinite test cycling over file data:

./pcapKospi200 -t /path/to/file.pcap

References

About

Haskell parser of UDP packets in pcap file

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 100.0%