Example #1
0
        public Decimal GetSpotPrice(String APIKEY, String Currency, Decimal amount)
        {
            // This function includes the margin.  Add GetSpotPriceNoMargin
            Exchange.ExchangeClient ExchangeClient = new Exchange.ExchangeClient();
            decimal bitcoins = ExchangeClient.GetSpotPrice(Currency, amount, 0);

            return(bitcoins);
        }