コード例 #1
0
        public void BoughtCoin(Coin coin, float amount)
        {
            float price = coin.PriceUSD * amount;

            Portfolio.AddCoin(coin, amount, price);
        }