A simple OUCH 5.0 parser
Project description
OUCH_Parser
A simple parser for OUCH messages
Introduction
OUCH 5.0 is a text-based protocol for interaction between parties in financial trading. Banks, brokers, clearing firms, exchanges, and other general market participants use OUCH protocol for all phases of electronic trading.
This package provides a simple parser to interpret and store OUCH messages after they have been used for electronic trading purposes. It does not create OUCH messages or receive them in real time. It supports the decoding and formatting of OUCH messages.
Licence
The module is licensed under the MIT license.
Parsing Messages
To parse an OUCH message, first create an instance of the Parser class.
parser = Parser.Parser()
parser.parse(data) will parse the encoded OUCH messages that you pass in. You should enter data of type bytes, str, List[bytes], List[str], or List[int]. Results are stored inside the parser object
parser.getMessages() will return a Python dictionary containing all the data stored inside your parser object
parser.reset() will clear the data stored inside your parser
Contributing
Comments, suggestions, bug reports, bug fixes – all contributions to this project are welcomed. Please use this project’s GitHub page for access to the latest source code, and please open an issue for comments, suggestions, and bugs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simpleouch-0.0.2.tar.gz.
File metadata
- Download URL: simpleouch-0.0.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4178804366a9739df506c147efee872ea7f86c7e168a4271ed6375c65a850966
|
|
| MD5 |
e756cf718a053d8cecbecfdf05a60f9c
|
|
| BLAKE2b-256 |
51a0d3953ef9c992b55b86b6bda07c6690c51639be043484d4b0085f19731cc2
|
File details
Details for the file simpleouch-0.0.2-py3-none-any.whl.
File metadata
- Download URL: simpleouch-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b06b9e309681dd23e034e0c6d5fa4144910a78e0f730cc74b4a455265d8213b3
|
|
| MD5 |
c8739491bfa251418d0b3305f0c62ff3
|
|
| BLAKE2b-256 |
f101a47f087406e6305f162a2e5a7efa4ae01e0854c3366528d4a0923f3745e7
|