How do I manage my position like MQL5
Posted: Thu Aug 13, 2020 4:15 pm
Hi,
For example if I placed an order and there will be a position in MT5 broker. Then I'd be able to query the position info with
PositionInfoString(ENUM_INFO_STRING)
PositionInfoInteger(ENUM_INFO_INTEGER)
In IB it seems being handled in a different way, it's only possible to get the position in size number.
How can I retrieve the other info like position symbol, open price and profit and open date time?
Is it actually managed via order? This way am I supposed to use the Plugin's order function to retrieve my filled orders to calculate the positions by myself?
Thank you.
For example if I placed an order and there will be a position in MT5 broker. Then I'd be able to query the position info with
PositionInfoString(ENUM_INFO_STRING)
PositionInfoInteger(ENUM_INFO_INTEGER)
In IB it seems being handled in a different way, it's only possible to get the position in size number.
How can I retrieve the other info like position symbol, open price and profit and open date time?
Is it actually managed via order? This way am I supposed to use the Plugin's order function to retrieve my filled orders to calculate the positions by myself?
Thank you.