Beispiel #1
0
        private static void GetFee()
        {
            decimal fee = violinBtce.GetFee(Pair.eur_usd);

            Console.WriteLine(fee);
            Console.ReadLine();
        }
Beispiel #2
0
        public void GetFee(string key, string secret, Pair pair, bool keyAndSecretAreSpecified)
        {
            // Pre requirements
            SetKeyAndSecretSpecificationRequirement(key, secret, keyAndSecretAreSpecified);

            // Arrange
            ViolinBtce violinBtce = keyAndSecretAreSpecified ? new ViolinBtce(key, secret) : new ViolinBtce();

            // Act
            decimal result = violinBtce.GetFee(Pair.eur_usd);

            // Assert
            Assert.Greater(result, 0);
        }