public IAtomixApp Start() { if (HasTerminal && HasAccount) // now client can connect only with authorization by wallet { Terminal.StartAsync().FireAndForget(); } if (HasQuotesProvider) { QuotesProvider.Start(); } if (HasOrderBooksProvider) { OrderBooksProvider.Start(); } return(this); }
public IAtomixApp Stop() { if (HasTerminal) { Terminal.StopAsync().FireAndForget(); } if (HasQuotesProvider) { QuotesProvider.Stop(); } if (HasOrderBooksProvider) { OrderBooksProvider.Stop(); } return(this); }
public IAtomexApp Stop() { if (HasTerminal) { StopTerminal(); } if (HasQuotesProvider) { QuotesProvider.Stop(); } if (HasOrderBooksProvider) { OrderBooksProvider.Stop(); } CurrenciesUpdater?.Stop(); return(this); }