Manage order on IB server wth TwsSocketClient.dll. Possible?

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Manage order on IB server wth TwsSocketClient.dll. Possible?

Postby arjfca » 21 Nov 2012

Hello

Just an idea for a coding guru ( witch I'm not).

My Broker is IB and TwsSocketClient.dll is the dll that MC seems to use to talk directly to the broker server.

Is it possible to use this dll collection directly from coding. The end goal is to make sure that order do reside on IB server, not on my PC. I don't like the idea of living my stop loss to the "mercy" of my PC. I'm using a dll collection with Excel to do that but it would be nice to have this option ( orders on IB server) directly within MC

I got the idea, but no clue at all on any further steps to try it out.

Here IB define the dll collection content
http://www.interactivebrokers.com/php/a ... nt_dll.htm

Martin

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: Manage order on IB server wth TwsSocketClient.dll. Possi

Postby Andrew MultiCharts » 21 Nov 2012

Hello arjfca,

This should be possible not in regular MultiCharts, but in MC .NET. There you can place orders right from signal directly to your broker if you have such script.

arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Re: Manage order on IB server wth TwsSocketClient.dll. Possi

Postby arjfca » 21 Nov 2012

Hello arjfca,

This should be possible not in regular MultiCharts, but in MC .NET. There you can place orders right from signal directly to your broker if you have such script.
A last question about this, maybe a dummy one, but I'm green on the subject

What is the difference between in the way to use
"TwsSocketClient.dll" and ( "GetMachineTime.dll" or "GlobalVariable.dll")

Meaning, If I could access the last 2 dll why can't I access the TWS one. Is addressing a dll is not a standard? Again, I don't have any clue on that

Martin :)

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: Manage order on IB server wth TwsSocketClient.dll. Possi

Postby Andrew MultiCharts » 21 Nov 2012

Martin, to do what you want from PLE you will need to have IB API and MultiCharts API purchased in order to develop your own connection for placing, modifying cancelling, monitoring orders, positions, account information and so on.


Return to “MultiCharts”