Line Profiling and Bytecode Inspection for Python Applications
Just an announcement - the easter giveaway of 20k quant material ends in ~24 hours, reminder for you to participate! There are chances to bid for free/highly discounted annual subs and so on
In the last market notes, we talked about application and function profiling for Python applications:
In this market notes, we talk about profiling the code by line and making optimizations. We also talk about inspecting the bytecode generated by our scripts on the CPython virtual machine…the changes are from page 837 onwards (attached pdf at bottom of post).
Continuing for our last update to the data poller library, I have also added binance, phemex and ccxt wrappers to the repo, and this is the PR:
https://github.com/hangukquant/quantpylib/pull/47
It is still under development, and has alot more functionalities not yet ironed out…but I am excited by how it is evolving.
You can now make cute function calls like this…I am going to be adding all the websocket programming and stuff for both crypto and equities, and soon it will be migrated into the quantpylib core library, once the tests and documentations are ironed out.
Market Notes (paid):