# Trade exit time doesn't match signal tradedwhen

**URL:** <https://forums.collective2.com/t/trade-exit-time-doesnt-match-signal-tradedwhen/12626>\
**Category:** C2 Explorer\
**Created:** [January 19, 2019, 11:06pm UTC](https://forums.collective2.com/t/trade-exit-time-doesnt-match-signal-tradedwhen/12626 "2019-01-19T23:06:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jozsika](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/jozsika/32/1487_2.png) [@jozsika](https://forums.collective2.com/u/jozsika)\
**Post date:** [January 19, 2019, 11:06pm UTC](https://forums.collective2.com/t/trade-exit-time-doesnt-match-signal-tradedwhen/12626/1 "2019-01-19T23:06:36Z")

</div>

A trade’s entry time matches the open signal’s tradedwhen, but the exit time does not.

Here is a query:

Int64 systemId =  
119447297; // TEGJ Trading

TABLE =  
from trade in C2TRADES where trade.SystemId == systemId  
join openSignal in C2SIGNALS on trade.OpenSignalId equals openSignal.Id  
join closeSignal in C2SIGNALS on trade.OpenSignalId equals closeSignal.Id  
select new {  
entryTime = trade.EntryTime, exitTime = trade.ExitTime,  
openWhen = openSignal.TradedWhen,  
closeWhen = closeSignal.TradedWhen  
};

---

<div class="post-metadata">

**Author:** ![jozsika](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/jozsika/32/1487_2.png) [@jozsika](https://forums.collective2.com/u/jozsika)\
**Post date:** [January 19, 2019, 11:07pm UTC](https://forums.collective2.com/t/trade-exit-time-doesnt-match-signal-tradedwhen/12626/2 "2019-01-19T23:07:34Z")

</div>

ops, sorry, i joined the other signal also on openSignalId.  
Sorry!
