Capitalisation boursière: $3.2013T -0.570%
Volume(24h): $109.6829B -3.020%
  • Capitalisation boursière: $3.2013T -0.570%
  • Volume(24h): $109.6829B -3.020%
  • Indice de peur et de cupidité:
  • Capitalisation boursière: $3.2013T -0.570%
Cryptos
Les sujets
Cryptospedia
Nouvelles
CryptosTopics
Vidéos
Top News
Cryptos
Les sujets
Cryptospedia
Nouvelles
CryptosTopics
Vidéos
bitcoin
bitcoin

$96418.721981 USD

-2.05%

ethereum
ethereum

$2687.739314 USD

-2.74%

xrp
xrp

$2.588011 USD

-3.00%

tether
tether

$0.999825 USD

-0.04%

bnb
bnb

$656.326573 USD

0.40%

solana
solana

$171.386564 USD

-2.54%

usd-coin
usd-coin

$1.000043 USD

0.01%

dogecoin
dogecoin

$0.244077 USD

-3.80%

cardano
cardano

$0.767310 USD

-3.77%

tron
tron

$0.237868 USD

-4.90%

chainlink
chainlink

$17.505561 USD

-4.59%

sui
sui

$3.344930 USD

-4.57%

avalanche
avalanche

$24.939290 USD

-1.00%

stellar
stellar

$0.327623 USD

-3.46%

litecoin
litecoin

$129.677981 USD

-3.20%

Articles d’actualité sur les crypto-monnaies

Comment construire un système d'alerte de prix cryptographique à l'aide de Coingecko et Python

Feb 22, 2025 at 03:20 pm

Le marché des crypto-monnaies se déplace rapidement, avec de nouvelles pièces et des tendances émergentes constamment en flux. Dans cet article, nous apprendrons à construire un système d'alerte de prix cryptographique

Comment construire un système d'alerte de prix cryptographique à l'aide de Coingecko et Python

This tutorial will guide you through building a crypto price alert system that provides regular email updates on the latest trending coins and categories on CoinGecko, on-chain categories on GeckoTerminal, and sudden surges in trading volume. These insights can be valuable for informing your investment strategy or keeping you up to date with the latest market trends.

Ce tutoriel vous guidera dans la création d'un système d'alerte de prix cryptographique qui fournit des mises à jour par e-mail régulières sur les dernières pièces et catégories à tendance sur Coingecko, les catégories en chaîne sur geckoterminal et les surtensions soudaines du volume de trading. Ces informations peuvent être utiles pour informer votre stratégie d'investissement ou vous tenir au courant des dernières tendances du marché.

As usual, you’ll find a link to the GitHub repository at the end of the article. Let's dive in!

Comme d'habitude, vous trouverez un lien vers le référentiel GitHub à la fin de l'article. Plongeons-nous!

Pre-requisites

Pré-requis

To obtain a CoinGecko API key, head over to the Developer’s Dashboard and click on +Add New Key in the top right corner. For detailed instructions on generating and setting up your key, refer to this guide.

Pour obtenir une touche API Coingecko, rendez-vous sur le tableau de bord du développeur et cliquez sur + Ajouter une nouvelle touche dans le coin supérieur droit. Pour des instructions détaillées sur la génération et la configuration de votre clé, reportez-vous à ce guide.

For this project, we’ll be using the Categories List and Search Queries endpoints in the CoinGecko API. The Categories List endpoint is exclusively available only on the CoinGecko API Analyst tier and higher. As a free alternative, you can comment out the call to this endpoint and rely solely on the Search Queries data.

Pour ce projet, nous utiliserons la liste des catégories et rechercherons les points de terminaison des requêtes dans l'API Coigecko. Le point de terminaison de la liste des catégories est exclusivement disponible uniquement sur le niveau d'analyste de l'API Coigecko et supérieur. En tant qu'alternative gratuite, vous pouvez commenter l'appel à ce point de terminaison et vous fier uniquement aux données des requêtes de recherche.

Step 1. Initializing the project

Étape 1. Initialisation du projet

To start, we’ll initialize our project, install package requirements, and safely load our API credentials. First, we'll create an empty directory, which will serve as the root of our project.

Pour démarrer, nous allons initialiser notre projet, installer les exigences du package et charger en toute sécurité nos informations d'identification API. Tout d'abord, nous allons créer un répertoire vide, qui servira de racine de notre projet.

Installing Dependencies

Installation des dépendances

Let’s initialize a local Python environment. This will keep the global Python scope clean of any potential library versioning issues:

Initialisons un environnement python local. Cela gardera la portée mondiale de Python propre de tous les problèmes potentiels de version de bibliothèque:

With the virtual environment now activated, copy the requirements below and paste them inside a new file called requirements.txt at the root of your project.

Avec l'environnement virtuel maintenant activé, copiez les exigences ci-dessous et collez-les dans un nouveau fichier appelé exigences.txt à la racine de votre projet.

```

`` '

click==8.1.3

cliquez == 8.1.3

dataclasses-json==0.6.1

DataClasses-json == 0.6.1

google-auth==2.16.0

google-uth == 2.16.0

google-auth-oauthlib==0.13.0

google-Auth-oAuthLib == 0.13.0

google-api-core==2.16.0

google-ap-core == 2.16.0

google-api-client==2.46.0

google-ap-clilient == 2,46.0

google-api-python-client==2.56.0

Google-api-python-Client == 2,56.0

google-auth-httplib2==0.1.1

google-Auth-httplib2 == 0.1.1

google-oauth2==5.3.0

google-oauth2 == 5.3.0

google-oauth2-client==4.19.3

Google-oAuth2-Client == 4.19.3

google-cloud-storage==2.5.0

Google-Cloud-Storage == 2.5.0

google-cloud-bigquery==3.36.0

Google-Cloud-BigQuery == 3,36.0

google-cloud-bigquery-storage==3.36.0

Google-Cloud-BigQuery-Storage == 3,36.0

google-cloud-bigquery-datatransfer==3.36.0

Google-Cloud-BigQuery-Datatransfer == 3,36.0

google-cloud-bigquery-connection==3.36.0

Google-Cloud-BigQuery-Connection == 3,36.0

google-cloud-bigquery-logging==3.36.0

Google-Cloud-BigQuery-Logging == 3,36.0

google-cloud-bigquery-admin==3.36.0

Google-Cloud-BigQuery-Admin == 3,36.0

google-cloud-bigquery-analyticshub==3.36.0

Google-Cloud-BigQuery-AnalyticShub == 3,36.0

google-cloud-bigquery-migration==3.36.0

Google-Cloud-BigQuery-migration == 3,36.0

google-cloud-bigquery-pandas==3.36.0

Google-Cloud-BigQuery-Pandas == 3,36.0

google-cloud-bigquery-storage-transfer==3.36.0

Google-Cloud-BigQuery-Storage-Transfer == 3,36.0

google-cloud-bigquery-datapolicies==3.36.0

google-cloud-bigquery-datapolicies == 3,36.0

google-cloud-bigquery-datatransfer-service==3.36.0

Google-Cloud-BigQuery-Datatransfer-Service == 3,36.0

google-cloud-bigquery-reservation==3.36.0

Google-Cloud-BigQuery-Reservation == 3,36.0

google-cloud-bigquery-rpb==3.36.0

Google-Cloud-BigQuery-RPB == 3,36.0

google-cloud-bigquery-updater==3.36.0

Google-Cloud-BigQuery-UpDater == 3,36.0

google-cloud-bigquery-audit==3.36.0

Google-Cloud-BigQuery-Audit == 3,36.0

google-cloud-bigquery-dwh-audit==3.36.0

google-cloud-bigquery-dwh-audit == 3,36.0

google-cloud-bigquery-connection-audit==3.36.0

Google-Cloud-BigQuery-Connection-Audit == 3,36.0

google-cloud-bigquery-analyticshub-audit==3.36.0

Google-Cloud-BigQuery-AnalyticShub-Audit == 3,36.0

google-cloud-bigquery-migration-audit==3.36.0

Google-Cloud-BigQuery-Migration-Audit == 3,36.0

google-cloud-bigquery-pandas-audit==3.36.0

Google-Cloud-BigQuery-Pandas-Audit == 3,36.0

google-cloud-bigquery-storage-transfer-audit==3.36.0

Google-Cloud-BigQuery-Storage-Transfer-Audit == 3,36.0

google-cloud-bigquery-datapolicies-audit==3.36.0

google-cloud-bigquery-datapolicies-audit == 3,36.0

google-cloud-bigquery-datatransfer-service-audit==3.36.0

Google-Cloud-BigQuery-Datatransfer-Service-Audit == 3,36.0

google-cloud-bigquery-reservation-audit==3.36.0

Google-Cloud-BigQuery-Reservation-Audit == 3,36.0

google-cloud-bigquery-rpb-audit==3.36.0

Google-Cloud-BigQuery-RPB-Audit == 3,36.0

google-cloud-bigquery-updater-audit==3.36.0

Google-Cloud-BigQuery-UpDater-Audit == 3,36.0

google-cloud-bigquery-audit-admin==3.36.0

Google-Cloud-BigQuery-Audit-Admin == 3,36.0

google-cloud-bigquery-dwh-audit-admin==3.36.0

google-cloud-bigquery-dwh-audit-admin == 3,36.0

google-cloud-bigquery-connection-audit-admin==3.36.0

Google-Cloud-BigQuery-Connection-Audit-Admin == 3,36.0

google-cloud-bigquery-analyticshub-audit-admin==3.36.0

Google-Cloud-BigQuery-AnalyticShub-Audit-Admin == 3,36.0

google-cloud-bigquery-migration-audit-admin

Clause de non-responsabilité:info@kdj.com

Les informations fournies ne constituent pas des conseils commerciaux. kdj.com n’assume aucune responsabilité pour les investissements effectués sur la base des informations fournies dans cet article. Les crypto-monnaies sont très volatiles et il est fortement recommandé d’investir avec prudence après une recherche approfondie!

Si vous pensez que le contenu utilisé sur ce site Web porte atteinte à vos droits d’auteur, veuillez nous contacter immédiatement (info@kdj.com) et nous le supprimerons dans les plus brefs délais.

Autres articles publiés sur Feb 23, 2025