Exemplo n.º 1
0
Arquivo: Program.cs Projeto: ifzz/FDK
        public static void Main(string[] args)
		{
            var mtPrices = new mt4_prices();

            mtPrices.All(where: "ASK>1.001")
                .Select(dynIt => new { Ask = dynIt.ASK, })
                .Each(it =>
                {
                    Console.WriteLine(it.Ask);
                });
            foreach (var price in mtPrices.All(where:"ASK>1.001"))
            {
                Console.WriteLine(price.ASK);
            }


			RHost.FdkHelper.ConnectToFdk("","","","");

			
			Console.Write("Press any key to continue . . . ");
			Console.ReadKey(true);
		}
Exemplo n.º 2
0
        public static void Main(string[] args)
        {
            var mtPrices = new mt4_prices();

            mtPrices.All(where : "ASK>1.001")
            .Select(dynIt => new { Ask = dynIt.ASK, })
            .Each(it =>
            {
                Console.WriteLine(it.Ask);
            });
            foreach (var price in mtPrices.All(where:"ASK>1.001"))
            {
                Console.WriteLine(price.ASK);
            }


            RHost.FdkHelper.ConnectToFdk("", "", "", "");


            Console.Write("Press any key to continue . . . ");
            Console.ReadKey(true);
        }