예제 #1
0
 public void loadOnto(ResearchGUI gui)
 {
     LogC.info("loading " + this + " onto gui");
     if (parameters.has("systemId"))
     {
         gui.setSystemId(parameters.get <string>("systemId"));
     }
     if (parameters.has("RunNumber"))
     {
         gui.setRunNumberEnabled(true);
         gui.setRunNumber(parameters.get <string>("RunNumber"));
     }
     gui.setMarkets(markets);
     gui.setParameters(parameters);
     gui.setStartDate(startDate);
     gui.setEndDate(endDate);
     gui.setSlippageCalculator(slippageCalculatorName);
     gui.setRunInNativeCurrency(runInNativeCurrency);
 }