开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Purebasic and TWS


 

As Richard suggest with reasons, Python is most probably the best choice for a programmer who need to switch to another language
You can find a lot of support here in Python, and Java (and C/C++)
Python is one of supported language from IBKR (you need a reference point)
?
While IBKR is Asynchronous (that's the beauty of it), Python users seems happy with it and there are some decent provision for multi-threading in Python.
Just fight using any "sleep", there are always a good trigger or cv to listen to.
I never heard of anybody complaining about python performance for algo trading, before you experience a difference you will have to deal with a lot of unrelated issues (coloc, venues selection)
As per portability, switching from one platform to another involve so many details that code refactoring is not the top one of the list (even in C++ if you use C20 and standard RTL call, porting from/to Windows/Linux is a matter of days on first iteration)
?
As per code generated by ChatGPT, able to deal with IBKR TWS API, I am presuming here, but it could be a layer that obstruct understanding of some detail and make your debugging life a misery.
Out of curiosity I wonder what it looks like, can you post it as an attachement?
I am really intrigued!?
Knowing the IBKR API,how can GPT generate a working lib out of nowhere but specs ?
?
Last though:
I am under the impression that IBKR have a decent REST API implementation.
This could be a simpler path for you if you don't want to use a lib. REST is now universally implemented you should not have issue in Basic
?

Join twsapi@groups.io to automatically receive all group messages.