public void removeExclusion(DataRow selected) { var tag = (string)selected["tag"]; WatcherExclusionsTable.EXCLUSIONS.remove(tag); Db.commit(); isExcludedByTag.overwrite(tag, false); table.updateVisible(); }
public void setTypeForTest(Symbol symbol, string newType) { types.overwrite(symbol, newType); }
public void setCurrencyForTest(Symbol symbol, string currency) { currencies.overwrite(symbol, new Currency(currency)); }
public void overrideSlippageCalculator(Symbol symbol, Type calculator) { slippageCalculators.overwrite(symbol, calculator); }
public void addNewBarListener(Symbol symbol, Action <Bar> onNewBar) { newBarListeners.overwrite(symbol, newBarListeners.get(symbol) + onNewBar); }
public static void setSlippageForTest(Symbol symbol, double newSlippage) { fixedSlippages.overwrite(symbol, newSlippage); }