Пример #1
0
        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);
        }
Пример #2
0
        public IAtomexApp Start()
        {
            if (HasTerminal)
            {
                StartTerminal();
            }

            if (HasQuotesProvider)
            {
                QuotesProvider.Start();
            }

            if (HasOrderBooksProvider)
            {
                OrderBooksProvider.Start();
            }

            CurrenciesUpdater?.Start();

            return(this);
        }