im using a pretty simple strategy: based on several indicators im doing an entry.
the problem occurs when im trying to sell.
im using a SetTrailStop func, but I dont have a specific order to sell an entry.
how should I know when a sell order has been filled?
i was trying to use iOrder object, but it appears that its too hard to find such a simple request .... at least for me
i found the performance real time trades, but i havent checked it out yet (let me know if this is the right direction).
the main use case that i think of is: to have a counter for the number of sells i've submitted a while ago (so i wouldnt have multiple entries with a stock which i've bought and sell with loss for several times)
thx in advance,
Yoni
Comment