public void Start(bool async) { Trading = true; LogThread.Start(); if (async) { if (TradeThread == null) { TradeThread = new Thread(new ThreadStart(_Trade)); TradeThread.Name = "TradeThread"; TradeThread.Priority = ThreadPriority.Highest; } TradeThread.Start(); } else { _Trade(); } }