<commit_before># PMD

PMD is Parity's native market data protocol. With it market participants can
maintain a view of the state of the market.

## Architecture

PMD consists of logical, sequenced messages sent by the trading system to the
client application.

PMD uses NASDAQ MoldUDP64 1.00 as the underlying transport protocol. It
implements ordered, reliable IP multicast.

## Data Types

Number fields are encoded as unsigned integers in network byte order.

Text fields are encoded as ASCII, left-justified and padded on the right with
the space character.

Prices have decimal fixed-point representation with a six-digit integral part
and a four-digit fractional part.

Timestamps are represented as nanoseconds since the midnight of the day on
which the trading session started.
<commit_msg>Update price and quantity representation in PMD protocol specification<commit_after># PMD

PMD is Parity's native market data protocol. With it market participants can
maintain a view of the state of the market.

## Architecture

PMD consists of logical, sequenced messages sent by the trading system to the
client application.

PMD uses NASDAQ MoldUDP64 1.00 as the underlying transport protocol. It
implements ordered, reliable IP multicast.

## Data Types

Number fields are encoded as unsigned integers in network byte order.

Text fields are encoded as ASCII, left-justified and padded on the right with
the space character.

Prices are represented in terms of the minimum price increment.

Quantities are represented in terms of the minimum quantity increment.

Timestamps are represented as nanoseconds since the midnight of the day on
which the trading session started.

{'fraction_non_alphanumeric': 0.029850746268656716, 'fraction_numerical': 0.005970149253731343, 'mean_word_length': 4.68135593220339, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4705396', 'n_tokens_mistral': 430, 'n_tokens_neox': 399, 'n_words': 245}