Bitcoin en andere cryptocurrencies « Terug naar discussie overzicht

crypto voorspellingen 2023

350 Posts, Pagina: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 » | Laatste
[verwijderd]
0
voor de liefhebber php api coinmarketcap van nieuwe coins ;

$api_key = 'your api';
$days_old = 7; // get cryptocurrencies that are at most 7 days old

// Get the current timestamp and subtract the number of days old we want to consider
$date = new DateTime();
$date->sub(new DateInterval('P' . $days_old . 'D'));
$timestamp_limit = $date->getTimestamp();

// Make the API request
$url = 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest';
$headers = [
'Accepts: application/json',
'X-CMC_PRO_API_KEY: ' . $api_key
];
$qs = http_build_query([
'start' => '1',
'limit' => '5000',
'convert' => 'USD'
]);
$full_url = "{$url}?{$qs}";

$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => $full_url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => $headers,
CURLOPT_SSL_VERIFYPEER => false
]);
$response = curl_exec($curl);
$result = json_decode($response, true);

// Loop over the cryptocurrencies and print the ones that are at most $days_old days old
foreach ($result['data'] as $crypto) {
$added_date = new DateTime($crypto['date_added']);
$added_timestamp = $added_date->getTimestamp();

if ($added_timestamp > $timestamp_limit) {
echo "New cryptocurrency: " . $crypto['name'] . " (" . $crypto['symbol'] . ")\n";
echo "Date added: " . $crypto['date_added'] . "\n";
echo "Current price: $" . $crypto['quote']['USD']['price'] . "\n";
echo "------------------------\n";
}
}

curl_close($curl);

?>
[verwijderd]
0
script gaat supergoed met dank aan openAI..... moet alleen nog logo maken. Iemand idee daarover ?
[verwijderd]
0
vanaf 2022 nog verlies :
"name": "voorSpellingsDisk ",
"ticker": "vdX ",
"pointsStart": 100,
"pointsLast": 26.061179942587145,
"pointsChange": -73.93882005741285,
"pointsChangeProcent": -73.93882005741285,
"spaceShipOperatorChange": -1,
"lastStatus": "true",
"year": 2022,
"timeStamp": "Sat, 24 Jun 23 06:25:19 +0000"
[verwijderd]
1
update

vdX points short bij dogecoin gecorrigeerd zoals het moet in new script
want H.Cohen gaat short en niet de vdX natuurlijk
heeft trouwens niks te maken met de voorspelling

17562
Bijlage:
[verwijderd]
0
2022 waren niet 7 maar 11 deelnemers. is aangepast. (geen invloed op points/koersen)
350 Posts, Pagina: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 » | Laatste
Aantal posts per pagina:  20 50 100 | Omhoog ↑

Meedoen aan de discussie?

Word nu gratis lid of log in met uw e-mailadres en wachtwoord.

Direct naar Forum

Detail

Vertraagd 6 mei 2024 09:43
Koers 64.507,32
Verschil +1.919,25 (+3,07%)
Hoog 64.512,24
Laag 63.729,35
Volume 0
Volume gemiddeld 0
Volume gisteren 0

EU stocks, real time, by Cboe Europe Ltd.; Other, Euronext & US stocks by NYSE & Cboe BZX Exchange, 15 min. delayed
#/^ Index indications calculated real time, zie disclaimer, streaming powered by: Infront