Metadata-Version: 2.1
Name: fixtrate
Version: 0.2.13
Summary: Tools for interacting with the FIX protocol
Home-page: UNKNOWN
Author: Carlo Holl
Author-email: carloholl@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Development Status :: 2 - Pre-Alpha
Description-Content-Type: text/x-rst
Requires-Dist: aenum (>=2.1.2)
Requires-Dist: async-timeout (>=2.0)
Requires-Dist: aioredis (>=1.1.0)
Requires-Dist: simplefix (>=1.0.12)
Requires-Dist: untangle (>=1.1.1)
Requires-Dist: python-dateutil (>=2.6.1)
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-asyncio ; extra == 'test'


=========================================================
Fixtrate: Tools for interacting with the FIX protocol.
=========================================================

.. image:: https://readthedocs.org/projects/fixtrate/badge/?version=latest
   :target: http://fixtrade.readthedocs.io/
   :alt: Latest Read The Docs

Getting Started
================

Installing
-----------

.. code-block:: text

    pip install fixtrate


Session
--------

To connect to and receive messages from a FIX peer:

.. code-block:: python

    import asyncio
    from fixtrate import FixSession

    async def main():
        session = FixSession()
        async with session.connect():
            await session.logon()
            async for msg in session:
                print(msg)

    if __name__ == '__main__':
        loop = asyncio.get_event_loop()
        loop.run_until_complete(main())

Documentation
==============

https://fixtrate.readthedocs.io/



