Hi,
i wanted to know if there is a way to get the filled price for an order at my broker.
I usually trade with ask price in the chart, so sell order is filled (market) at bid price at my broker.
What i want to do is to calculate the spread for each order.
At the moment i don´t use the order interface of Multicharts, i use my own one. that´s why i am asking.
I found out, that i can see this information in the Positiontracker. But i need it more electronical, because i want to import this information into excel, for further studies.
thx.
get filled price at broker
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: get filled price at broker
I think you could use the AvgEntryPrice_at_Broker for this.i wanted to know if there is a way to get the filled price for an order at my broker.
Re: get filled price at broker
Perhaps I am missing something but can't you simply use "entryprice" and print that to file print(entry price);
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: get filled price at broker
Hello wegi,Thank you,
i think it could work, but it is limited to IB, Patsystems and Zenfire.
I need more brokers, i want to do some tests with different Forex brokers.
It is not limited to only the mentioned brokers. The description will be updated.
Still you will be able to use this reserved word only if the broker you are trading with is supported in MultiCharts.
That will be possible to get the order fill price from Order and Position tracker window in MultiCharts 9.1 with the new backtesting/auto trading engine.