monitor difference between broker and strategy position

Questions about MultiCharts and user contributed studies.
simon007
Posts: 50
Joined: 12 Apr 2007
Has thanked: 5 times
Been thanked: 1 time

monitor difference between broker and strategy position

Postby simon007 » 12 Jan 2012

Hi @,

Is possible to monitor if there is a difference between broker and strategy position from easylanguage?

Cheers,

Simon

pfp
Posts: 4
Joined: 22 Jan 2010
Location: Austria
Been thanked: 1 time

Re: monitor difference between broker and strategy position

Postby pfp » 12 Jan 2012

Hi Simon,

Very good, that you bring up that topic, as it is very interesting for me as well.
I would need to get the information of what are the possibilities to check the
existing investments and open orders within MultiCharts of Interactive Brokers?

Cheers, Peter

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

Re: monitor difference between broker and strategy position

Postby Andrew MultiCharts » 26 Jan 2012

Hello Simon,

Since MC 7.0 release we have introduced synchronizers: prebuilt strategies, which synchronize position on chart with position at broker (or in opposite direction). The main idea is to make sure the positions are correct if you use auto tradinf + manual trading. Script is not "aware" of any manually placed on chart orders.
First script sends market orders to broker to make the position the same as on chart, when positions are different at broker and on chart. It is called "!From Broker To Strategy MP Synchronizer!"
The second one emulates order execution only on chart to make position there the same as at broker. "!From Strategy To Broker MP Synchronizer!"

Hello Peter,

The following keywords may help you:
GetRTAccountEquity
GetRTCashBalance
GetRTUnrealizedPL
These users thanked the author Andrew MultiCharts for the post (total 3):
TJJoshMsimon007

pfp
Posts: 4
Joined: 22 Jan 2010
Location: Austria
Been thanked: 1 time

Re: monitor difference between broker and strategy position

Postby pfp » 27 Jan 2012

Thanks for the moment for your reply.

regards, Peter


Return to “MultiCharts”