ID of trade from exchange at Async mode

Questions about MultiCharts and user contributed studies.
andreinvest
Posts: 43
Joined: 27 Oct 2019
Has thanked: 29 times
Been thanked: 1 time

ID of trade from exchange at Async mode

Postby andreinvest » 26 Feb 2021

Hi there,

While working in automate order execution using asynchronous mode with order emulation when it commits a trade with stop-order, Multicharts creates a market order, and internal stop-order becoming «canceled». How can I get the result of this operation, the price, and the ID of the order from exchange. Image
Is there any functions in Easy Language that will help me to do this?
I need to get the average execution price and the ID of the market order on the exchange.

Thank you

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: ID of trade from exchange at Async mode

Postby Vlada MultiCharts » 04 Mar 2021

Hello andreinvest,

The info on the order fill, the average price, the number of contracts are not available in AA mode, it's available only in SA mode.

The order ID and the order conversion can be accessed only in MultiCharts .NET.

It is possible to receive all the data you requested in MultiCharts .NET using Trade Manager because in this version all the info from the Order and Position Tracker can be accessed.


Return to “MultiCharts”