public static void RunGetOrderHistory(Dictionary <string, string> dict)
        {
            RequireArgs(dict, "exchangeName", "marketSymbol");

            string       exchangeName = dict["exchangeName"];
            IExchangeAPI api          = ExchangeAPI.GetExchangeAPI(exchangeName);
            string       marketSymbol = dict["marketSymbol"];

            Authenticate(api);

            DateTime?startDate = null;

            if (dict.ContainsKey("startDate"))
            {
                startDate = DateTime.Parse(dict["startDate"]).ToUniversalTime();
            }

            var completedOrders = api.GetCompletedOrderDetailsAsync(marketSymbol, startDate).Sync();

            foreach (var completedOrder in completedOrders)
            {
                Console.WriteLine(completedOrder);
            }

            Console.Write("Press enter to exit..");
            Console.ReadLine();
        }
        public static void RunGetOrderHistory(Dictionary <string, string> dict)
        {
            RequireArgs(dict, "exchangeName", "symbol");

            string       exchangeName = dict["exchangeName"];
            IExchangeAPI api          = ExchangeAPI.GetExchangeAPI(exchangeName);
            string       symbol       = dict["symbol"];

            Console.Write("Enter Public Api Key: ");
            var publicApiKey = GetSecureInput();

            api.PublicApiKey = publicApiKey;
            Console.WriteLine();
            Console.Write("Enter Private Api Key: ");
            var privateApiKey = GetSecureInput();

            api.PrivateApiKey = privateApiKey;
            Console.WriteLine();

            DateTime?startDate = null;

            if (dict.ContainsKey("startDate"))
            {
                startDate = DateTime.Parse(dict["startDate"]).ToUniversalTime();
            }

            var completedOrders = api.GetCompletedOrderDetailsAsync(symbol, startDate).Sync();

            foreach (var completedOrder in completedOrders)
            {
                Console.WriteLine(completedOrder);
            }

            Console.Write("Press enter to exit..");
            Console.ReadLine();
        }