Command command = request.command();
switch (command) {
case Signal:
long timeToExecute = extractTimeToExecute(request);
int[] signalIdArray = system.scheduleSignal(timeToExecute,request);
int signalId = signalIdArray[0];
int stopLossSignalId = signalIdArray[1];
int profitTargetSignalId = signalIdArray[2];
return new SimulatedResponseSignal(signalId,
stopLossSignalId==SystemManager.NO_ID?null:stopLossSignalId,