Basic Examples --------------- .. _basic-examples: Example I ^^^^^^^^^^ .. warning:: This example is written for **python-bittrex-websocket-aio**. If you're using **python-bittrex-websocket**, you need to remove **async** from the message channels. Sample script showing how to receive real-time updates of the state of a single market by invoking `SubscribeToSummaryDeltas `_. The script creates a ticker container dict, connects to Bittrex, records data to the container and closes when it has received data for all tickers. .. literalinclude:: ../examples/ticker_updates_aio.py Example II ^^^^^^^^^^^ .. warning:: This documentation is written for **python-bittrex-websocket**. The **async** version doesn't support order book \ sync currently. This script shows how to enable and use order book syncing. .. literalinclude:: ../examples/order_book.py