¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: A couple of questions regarding the C++ Tws api client


 

¿ªÔÆÌåÓý

Sounds like you might not have found the documentation, which should be able to help with many things:


Malcolm

On 28 Jul 2023, at 11:54, aSchwenk64@... wrote:

Dear community,
i have been working with the tws api client (c++) for more than two weeks now. Even after carefully studying the code provided by Interactive Brokers i couldn't manage to find a suitable closing function for the opended Orders. So my first question is:
- How is that done properly ? Shall i create a new order to "neutralize" the old one ? For example "Long apple stock with? quantity 3" shall be neutralized with "Sell apple stock with quantity3" . IS this always matched correctly by TWS ?
The second one is, why are there "api orders", what is that and why it is different from active orders . This is confusing and i couldn't find an explanation in the documentation.
The third and last (for now) is, can it be guaranteed, that for every symbole there is a history of 1 minute candles that at least is, 2-3 weeks in duration ?

Thanks in advance,

Arthur

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