however, while in the history performance data, each trade is represented as one entry, in the real time operation it is not so.
in real time, each partial FILL is registered as a separate entry, and thus skew the statistics.
after disabling the strategy and enabling again, the history is updated correctly and all partial fills are replaced with one trade entry.
how can i mitigate this in realtime ?
any way to trigger a performance update in strategy mid flight in realtime , not to have separate partial fills entries ?
i could of course try to create and maintain my own performance data in the strategy itself.
mainly to keep the profit and time of entry in a series or something
but I was thinking to get around that
thanks

Comment