开云体育

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

Re: Purebasic and TWS


 

Thank you for your detailed response.
?
My first idea was to use VB6 that I have used in the past but it is no longer supported.
Switching to VB.NET seems to be a step as large as to any other language.
?
The trading algorithm is very simple. It uses only one instrument (future). I do not expect to use a large variety of TWS function calls.
But things always get much more complicated as expected...
?
Programming also involves psychology. I have some aversion for (semi)interpreted stuff.
I have worked professionally in embedded computing which means designing compact electronic boards and compact programs that fit into small microcontrollers.
My trading configuration will use a tiny PC (working 24 hours a day) that consumes 16W. Power will be backed up directly with a battery (no inverter at all).
Thats the KISS approach. The simpler, the more reliable it should be: a professional "obsession" ;-)
?
With Purebasic the only thing that I am affraid of is that with TWS everything seems to be asynchronous.
So some kind of multitasking or multithreading handling could be required.
?
By the way, I just made a request to chatGPT and in just a few microseconds it generated source code for both socket and TWSLib.dll choices.
So both options seem to work. Although the second seems to be simpler.
?

Join [email protected] to automatically receive all group messages.