tedchou12 / webull

Unofficial APIs for Webull.
MIT License
602 stars 185 forks source link

Any way to convert this library to C++ or another multi-threaded language? #335

Closed Alanavai closed 2 years ago

Alanavai commented 2 years ago

Python's GIL effectively limits CPU-bound operations to a single thread, which can be quite slow. Is there any way to convert this library's code (i.e. how it interacts with Webull's API) to a language like C++ or Java?

tedchou12 commented 2 years ago

Actually, there are GPU accelerators with numba, you can achieve quite similar results. In addition, you can rewrite the api in C++ or Java yourself, this code is inherently just communicating with webull apis, there is nothing preventing you from doing it with another programming language.

Alanavai commented 2 years ago

@tedchou12 Yeah rewriting would work, just need to figure out how to emulate all the authentication and other actions. Thanks.