Exemple #1
0
        public static void GetPublicSymbols(TickTraderWebClient client)
        {
            // Public symbols
            List <TTSymbol> publicSymbols = client.GetPublicAllSymbols();

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

            TTSymbol publicSymbol = client.GetPublicSymbol(publicSymbols[0].Symbol).FirstOrDefault();

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