Пример #1
0
 public object liveDescription(string symbolName)
 {
     try {
         var s           = new Symbol(symbolName);
         var description = s.jmsLive();
         var result      = new object[3];
         result[0] = description.source;
         result[1] = description.template;
         result[2] = description.topicName;
         return(result);
     } catch (Exception e) {
         return(loggedError("failed to retrieve live description for symbol " + symbolName, e));
     }
 }
Пример #2
0
 public Symbol(JSymbol jMarket) : this(jMarket.name(), jMarket.bigPointValue())
 {
 }