Example #1
0
        public void removeExclusion(DataRow selected)
        {
            var tag = (string)selected["tag"];

            WatcherExclusionsTable.EXCLUSIONS.remove(tag);
            Db.commit();
            isExcludedByTag.overwrite(tag, false);
            table.updateVisible();
        }
Example #2
0
 public void setTypeForTest(Symbol symbol, string newType)
 {
     types.overwrite(symbol, newType);
 }
Example #3
0
 public void setCurrencyForTest(Symbol symbol, string currency)
 {
     currencies.overwrite(symbol, new Currency(currency));
 }
Example #4
0
 public void overrideSlippageCalculator(Symbol symbol, Type calculator)
 {
     slippageCalculators.overwrite(symbol, calculator);
 }
Example #5
0
 public void addNewBarListener(Symbol symbol, Action <Bar> onNewBar)
 {
     newBarListeners.overwrite(symbol, newBarListeners.get(symbol) + onNewBar);
 }
Example #6
0
 public static void setSlippageForTest(Symbol symbol, double newSlippage)
 {
     fixedSlippages.overwrite(symbol, newSlippage);
 }