Beispiel #1
0
 public void logSystemCreation(SystemArguments arguments)
 {
     if (has("systemId"))
     {
         LogC.consoleOut("running id(" + get <int>("systemId") + "), system(" + arguments.siv().system() + ")");
     }
     else
     {
         LogC.consoleOut("running in research mode(" + systemClassName() + ")");
     }
     if (reDebug())
     {
         LogC.consoleOut("in DEBUG mode (slow)");
     }
     if (isLive())
     {
         LogC.consoleOut("PV = " + pvName());
     }
     else if (isSTO())
     {
         LogC.consoleOut("STO = " + paren(commaSep(stoDir(), stoId(), runNumber())));
     }
     else
     {
         logParameters();
     }
 }
Beispiel #2
0
 public void logParameters()
 {
     eachKey(data, param => LogC.consoleOut(param + " = " + data[param]));
 }
Beispiel #3
0
 static void logTick(RE.TickData tick)
 {
     LogC.consoleOut("" + tick.price + " " + tick.size + " " + tick.tickType + " " + tick.time);
 }