Average position cost NEEDED for positionstatus API call

Hi Mathew,

Can you please add Average position cost field in the positionstatus API call ? This will simplify a lot for system developers.

Ok, Yury. See? You only need to ask me to do something ten times before I do it!

A request like this:

signal.mpl?cmd=positionstatus&pw=***&systemid=89959688&symbol=EURGBP

now returns something that looks like this:

<collective2>
    <status>OK</status>
        <positionstatus>
        <calctime>2015-03-18 11:13:55:000</calctime>
        <symbol>EURGBP</symbol>
        <position>2</position>
        <averagecost>0.79082</averagecost>
    </positionstatus>
</collective2>
1 Like