        let json = JSON.parse(data);
            let price = json["bpi"]["USD"]["rate_float"];
            return price;
        }

        async function getBitcoinPriceFromGemini() {
            let data = await getData("https://api.gemini.com/v2/ticker/BTCUSD");
            let json = JSON.parse(data);
            let price = json["bid"];
            return price;
        }

        async function getBitcoinPriceFromBybit() {
            let data = await getData("https://api-testnet.bybit.com/derivatives