¿ªÔÆÌåÓý

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

Re: Sockets based trading program, which language to use, C#,Java,C++ ?


Nick
 

¿ªÔÆÌåÓý

Glad it worked out for you.

All of the 'paradigm' talk kind of freaks me out though. In my library twsGetMsg() returns a pointer to a union that has all messages defined. So Msg->TickPrice.Price is a tick price and Msg->OrderStatus.OrderId is an order id. Just put twsGetMsg() in a loop and process the messages as they come in. Hard to see how it can get any simpler than that.

On 5/22/2016 4:27 PM, GreatRed01@... [TWSAPI] wrote:

?

Thanks for the advice!

I'm using C# for sockets.??? After going though most of RHolowczak's tutorials and reading/experimenting with the IB API, especially 9.72, C# looks like the easiest language for me to use.? I pretty comfortable with C# and it's Delegate/Event paradigm is easier, for me, to understand and implement than Java's Interface/Event/Listener method.????

The C# API is not as clean as Java's in 9.71; but,IB seems to be merging the code bases to a consistent method/model with 9.72.??? And, I've co-opted their (IB's) SampleApp, under 9.72, Delegate/Event model to make my own GUI for trading. ?? I liked the ActiveX model, but it doesn't work consistently. ??

Thanks Again,
John


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