public static TPManager AddPair(CurrencyPair pair) { if (tradePairs == null) { tradePairs = new Utility.TSList <TPManager>(); } TPManager tpMan = new TPManager(pair); tpMan.Setup(); tpMan.RecalculateVolatility(); tpMan.Start(); tradePairs.Add(tpMan); return(tpMan); }
public static void NotifyTickerUpdate(CurrencyPair pair) { if (updatedPairs == null) { updatedPairs = new Utility.TSList <CurrencyPair>(); } updatedPairs.Add(pair); }