Local order book

Hello,

Does anybody have a python3 script that keeps local order book for a given symbol? Thanks in advance.

You can take a look at this script.