|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
暗号通貨市場は迅速に動き、新しいコインと新たな傾向が絶えず流動的になります。この記事では、暗号価格アラートシステムを構築する方法を学びます

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.
このチュートリアルでは、Coingeckoの最新のトレンドコインとカテゴリに関する定期的な電子メールの更新、Geckoterminalのオンチェーンカテゴリ、およびトレーディングボリュームの突然の急増を提供する暗号価格アラートシステムの構築を導きます。これらの洞察は、投資戦略を通知したり、最新の市場動向を最新の状態に保つのに役立ちます。
As usual, you’ll find a link to the GitHub repository at the end of the article. Let's dive in!
いつものように、記事の最後にGitHubリポジトリへのリンクがあります。飛び込みましょう!
Pre-requisites
前提条件
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.
Coingecko APIキーを取得するには、開発者のダッシュボードにアクセスして、右上隅に新しいキーを追加します。キーの生成とセットアップに関する詳細な手順については、このガイドを参照してください。
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.
このプロジェクトでは、Coingecko APIのカテゴリリストと検索クエリのエンドポイントを使用します。カテゴリリストのエンドポイントは、Coingecko APIアナリストティア以降のみでのみ利用可能です。無料の代替品として、このエンドポイントへの呼び出しをコメントして、検索クエリデータのみに依存することができます。
Step 1. Initializing the project
ステップ1。プロジェクトの初期化
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.
開始するには、プロジェクトを初期化し、パッケージ要件をインストールし、API資格情報を安全にロードします。まず、プロジェクトのルートとして機能する空のディレクトリを作成します。
Installing Dependencies
依存関係のインストール
Let’s initialize a local Python environment. This will keep the global Python scope clean of any potential library versioning issues:
ローカルPython環境を初期化しましょう。これにより、グローバルなPythonスコープが潜在的なライブラリバージョンの問題を清潔に保ちます。
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.
仮想環境がアクティブになった状態で、以下の要件をコピーして、プロジェクトのルートにある要件.txtと呼ばれる新しいファイル内に貼り付けます。
```
`` `
click==8.1.3
== 8.1.3をクリックします
dataclasses-json==0.6.1
dataclasses-json == 0.6.1
google-auth==2.16.0
Google-auth == 2.16.0
google-auth-oauthlib==0.13.0
Google-auth-oauthlib == 0.13.0
google-api-core==2.16.0
Google-API-CORE == 2.16.0
google-api-client==2.46.0
Google-API-Client == 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
Google-Cloud-Bigquery Migration-Audit-Admin
免責事項:info@kdj.com
提供される情報は取引に関するアドバイスではありません。 kdj.com は、この記事で提供される情報に基づいて行われた投資に対して一切の責任を負いません。暗号通貨は変動性が高いため、十分な調査を行った上で慎重に投資することを強くお勧めします。
このウェブサイトで使用されているコンテンツが著作権を侵害していると思われる場合は、直ちに当社 (info@kdj.com) までご連絡ください。速やかに削除させていただきます。

































