Using Python with C++ is extremely powerful and very efficient. I have C++ code which I use as a shared library that is imported in Python (for example FAST_PROGRAM.cpython-312-linux.so). I would then import this in my Python script via import FAST_PROGRAM(assuming it’s in the same directory as the script).

Does anyone know how you can do this in QuantConnect? How can one use Pybind11 and C++ in QuantConnect?

I simply cannot push the file i have compiled ... i get an error 

Cannot push 'test_project': File exceeds the maximum size of 32,000 characters by using 630,249.