Hi @,
Is possible to monitor if there is a difference between broker and strategy position from easylanguage?
Cheers,
Simon
monitor difference between broker and strategy position
Re: monitor difference between broker and strategy position
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
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
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: monitor difference between broker and strategy position
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
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
Re: monitor difference between broker and strategy position
Thanks for the moment for your reply.
regards, Peter
regards, Peter