Coinmarket API + Google Sheets + Lunarcrush API
Technical Task (TT) for Monitoring Sharp Increases in Cryptocurrencies by Volume and Engagement
Project Goal
Create tables for analyzing and monitoring data for 50–100 cryptocurrencies with the ability to scale up to 250 currencies in one Google Sheet or by adding new documents. The main task is to record and analyze sharp increases in trading volume and engagement, using average values over different time periods.
The tables should be dynamic, highlighting cryptocurrencies with sharp changes (for example, a 50% increase in the last 3 hours) or moving them to the top of the table.
Functional Requirements
Volume Data
- Average Values:
- Average daily volume for the last 30 days.
- Average daily volume for the last 7 days.
- Average values for 3 days, 2 days, and yesterday.
- Changes:
- Volume for the last 3 hours (hourly data).
- Volume for the last 6 hours (aggregated data).
- Volume for the last 12 hours (aggregated data).
- Average Values:
Engagement Data (LunarCrush)
- Average Values:
- Average daily engagement for the last 30 days.
- Average daily engagement for the last 7 days.
- Average values for 3 days, 2 days, and yesterday.
- Changes:
- Engagement for the last 3 hours, 6 hours, 12 hours.
- Average Values:
Analysis and Highlighting
- Formulas for Analysis:
- Percentage change for 3, 6, 12 hours relative to average values.
- If the change >= 50%, the row is automatically highlighted or moved to the top of the table.
- Data Highlighting:
- Red color for sharp declines.
- Green color for sharp increases.
- The table should be user-friendly for monitoring.
- Formulas for Analysis:
Scalability
- Information about 50–100 cryptocurrencies is stored in one table.
- Ability to:
- Add new rows for currencies within one table (up to 250 rows).
- Create new tables for other currencies using a ready-made template.
Technical Requirements
Python
- Data Collection:
- API CoinMarketCap for volumes:
- Metrics: trading volume (volume_24h), market capitalization (market_cap).
- API LunarCrush for engagement:
- Metrics: engagement, mentions, social_volume.
- API CoinMarketCap for volumes:
- Data Updates:
- Hourly updates.
- Storing data in Google BigQuery.
- Aggregation:
- Script for calculating average values:
- Averages for 30 days, 7 days, 3 days, 2 days, and yesterday.
- Hourly data for the last 12 hours.
- Script for calculating average values:
BigQuery
- Tables:
LiveData:- Stores data for the last 7 days (hourly records).
AggregatedData:- Stores daily aggregates for 30 days.
- Queries:
- Calculating average values for different periods.
- Data extraction for Google Sheets.
Google Sheets
- Connection:
- Google Data Connector for pulling data from BigQuery.
- Formulas:
- Percentage change:
excel
Where=IF(B2<>0, (C2-B2)/B2, 0)
B2is the average value for 30 days,C2is the current volume for the last 3 hours. - Highlighting changes:
- Conditional formatting for changes >= 50%.
- Percentage change:
- Template:
- Table with:
- Hourly data.
- Average values for 30, 7, 3, 2 days, and yesterday.
- Dynamic row highlighting.
- Table with:
Implementation Stages
Data Collection (1 day):
- Setting up a Python script to collect data from the CoinMarketCap and LunarCrush APIs.
Data Updates in BigQuery (1–2 days):
- Creating tables
LiveDataandAggregatedData. - Setting up a script to upload data to BigQuery.
- Creating tables
Integration with Google Sheets (1 day):
- Setting up the Data Connector.
- Creating the first table for 50–100 currencies.
Formulas and Highlighting (1 day):
- Adding formulas for calculating percentage changes.
- Setting up conditional formatting.
Scalability (1 day):
- Documentation for adding new currencies.
- Template for creating new tables.
Completion Criteria
- Table with data for 50–100 cryptocurrencies:
- Hourly updates.
- Average values and hourly changes.
- Highlighting sharp changes (increase >= 50%).
- Ability to add currencies to the current table (up to 250 rows).
- Ease of creating new tables.
Execution Timeline
4–6 days, if all accesses and keys are provided on time.
If additional clarifications or details are needed, let me know!
Client's review of cooperation with Konstantin Prihodko
Coinmarket API + Google Sheets + Lunarcrush APIEverything is great, fast, always in touch, clearly completed work.
Freelancer's review of cooperation with Art Tj
Coinmarket API + Google Sheets + Lunarcrush APIWork 10/10 very pleasant to collaborate!
Current freelance projects in the category Databases & SQL
Emails about orders and requests from the website are not coming.
16 USD
Diagnosis and resolution of the issue with email notifications on the OpenCart site is required. Currently, notifications are not being received via email for the following events: new orders; callback requests; comments left by users; questions and answers about products; other… C & C++, Databases & SQL ∙ 9 hours 51 minutes back ∙ 16 proposals |
Resolve the loading issue on the PrestaShop website hostingThe website requires more and more resources each month. The host's response: During the server check, increased load from the MySQL database server was recorded. At times of the 500 error, the MySQL process uses a significant portion of CPU resources, which can lead to unstable… PHP, Databases & SQL ∙ 13 hours 50 minutes back ∙ 22 proposals |
Setting up a backup system and optimizing server infrastructureObjective of the work: Ensure reliable data storage for the CRM system and application by implementing an automated backup system, as well as carry out a series of server improvements to enhance the stability, security, and performance of the infrastructure. DevOps, Databases & SQL ∙ 15 hours 20 minutes back ∙ 18 proposals |
PIM system
225 USD
A PIM system needs to be created. The number of products is several million. There are several suppliers providing data in different formats: csv, xml, API. The data is limited, and often it is necessary to find product characteristics from other sources and supplement them. A… Databases & SQL, Web Programming ∙ 17 hours 18 minutes back ∙ 34 proposals |
Integration of BAS Shveyka 8
225 USD
Good day, it is necessary to integrate BAS Shveyka 8, connect the website and CRM Sales Drive, set up reports and other data. Databases & SQL ∙ 18 hours 23 minutes back ∙ 8 proposals |