Skip to content

jproyo/market-parser

Repository files navigation

market-parser

Build Status

Spec Packet

General

LE [ 24 bytes HEADER ]|[PACKET]

PACKET

[16 bytes IFACE]|[42 bytes PROTO]|[DATA]

IFACE

[4 bytes timestamp]|[4 bytes microseconds]|[4 bytes size packet saved]|[4 bytes size packet capture]

DATA

215 = Valid Packet Quote

[5 bytes mark quote]|[210 rest Quote]

Mark Quote = B6034 ASCII

Run

Prerequisites

In order to run this solution you are going to need the following distributions installed.

  • Stack 1.6

### Run tests

bash.$ stack test

### Run tests

bash.$ stack test

Run Solution

bash.$ stack build

//Without any sorting

bash.$ stack exec mkt-ps < FILE_PATH_WITH_DATA


//To sort results by accept time quote

bash.$ stack exec mkt-ps -- -r < FILE_PATH_WITH_DATA  

Run without Nix integration

bash.$ stack build --no-nix
bash.$ stack --no-nix exec mkt-ps < FILE_PATH_WITH_DATA

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published