assertEquals(2,pendingSignalIdSet.size());
} else {
assertEquals(1,pendingSignalIdSet.size());
}
dataProvider = dataProvider.incTime(timeStep,new BigDecimal("161"));
simulationAdapter.tick(dataProvider,sentryService);
assertEquals(0, portfolio.position("msft").quantity().intValue());
//for oca orders the other order will get cancelled when the first is triggered.
//for non oca orders there will be one closing order however it should not be valid
//because its a close against something closed.