430,
2016 => 400,
2017 => 1000,
2018 => 7500,
2019 => 3500,
2020 => 7000,
2021 => 47000,
2022 => 16000,
2023 => 23000,
2024 => 35000
];
// Default Investment Amount (for simplicity)
$investment = 1000;
$currentPrice = getBitcoinPrice();
?>
๐ธ Bitcoin Investment Calculator
๐ช Current BTC Price: $
๐ธ If you invested \$1000 in $year…
๐ช You wouldโve bought ” . number_format($btcBought, 6) . ” BTC
๐ฐ It would be worth \$” . number_format($valueToday, 2) . “
๐ ROI: ” . number_format($roi, 2) . “% ๐
“;
}
?>