예제 #1
0
        public static void GetSymbols(TickTraderWebClient client)
        {
            // Account symbols
            List <TTSymbol> symbols = client.GetAllSymbols();

            foreach (var s in symbols)
            {
                Console.WriteLine("Symbol: " + s.Symbol);
            }

            TTSymbol symbol = client.GetSymbol(symbols[0].Symbol).FirstOrDefault();

            if (symbol != null)
            {
                Console.WriteLine("{0} symbol precision: {1}", symbol.Symbol, symbol.Precision);
            }
        }