Hello folks,
I wonder if it´s possible to compute
(and display) open profits (i.e. from open trades) in CLOSED trade list
as well.
The reason why I am asking is that
methods like trade.getprice (allowing to compute it myself) are for
open-trade list, while trade.getprofit et al. are for closed trades
only.
The only chance I see at this point
would be to compute it in open trade list, send it to an addtocomposite
and have the figures of addtocomposite displayed in trade list for
closed trades as well.
But since there may be more
"entries" in addtocompsite (one for each day) than there´re trades in
trade list, this could distort output while "merging"/synchronizing
both (haven´t tried it yet).
The reason I intend to do this is to
show my proprietary version of equity for each day there is a closed or
open trade in either list.
Thanks for your assistance!
Markus
__________ Information from ESET Smart Security, version of virus
signature database 4668 (20091207) __________
The message was checked by ESET Smart Security.
http://www.eset.com