Spaces:
Sleeping
Sleeping
Commit
·
a45d429
1
Parent(s):
6116805
more graphs
Browse files- .env +4 -0
- app.py +255 -161
- logs/scrapping/cmc_global_metrics.log +39 -0
- logs/scrapping/cmc_scrapping.log +148 -0
- logs/scrapping/etherscan_scrap.log +140 -0
- logs/scrapping/greed_fear_index.log +23 -0
- logs/streamlit/front.log +304 -0
- output/cmc_data_v1_cryptocurrency_listings_latest_100.json +2 -2
- output/global_metrics.csv +3 -0
- output/greed_fear_index.csv +3 -0
- output/top_100_update.csv +2 -2
- output/transactions_APE.csv +2 -2
- output/transactions_AXIE.csv +2 -2
- output/transactions_GALA.csv +2 -2
- output/transactions_MANA.csv +2 -2
- utils/scrap_cmc_global_metrics.py +35 -0
- utils/scrap_greed_fear_index.py +34 -0
.env
CHANGED
@@ -9,6 +9,10 @@ API_KEY_CMC=8057498e-ad35-465c-8359-8f6cc9d1ae1b
|
|
9 |
URL_ETHERSCAN=https://api.etherscan.io/api
|
10 |
API_KEY_ETHERSCAN=VVJFE7IG5WSK8P2UJIJN5MST5UBQEZYVYW
|
11 |
|
|
|
|
|
|
|
|
|
12 |
# Logging
|
13 |
LOG_FOLDER=./logs/scrapping/
|
14 |
LOG_STREAMLIT=./logs/streamlit/
|
|
|
9 |
URL_ETHERSCAN=https://api.etherscan.io/api
|
10 |
API_KEY_ETHERSCAN=VVJFE7IG5WSK8P2UJIJN5MST5UBQEZYVYW
|
11 |
|
12 |
+
# RapidAPI
|
13 |
+
RAPIDAPI_KEY=0478c28d44msh9c841a123ff12d1p1da763jsn4b51c433d736
|
14 |
+
RapidAPI-Host=fear-and-greed-index.p.rapidapi.com/v1/fgi
|
15 |
+
|
16 |
# Logging
|
17 |
LOG_FOLDER=./logs/scrapping/
|
18 |
LOG_STREAMLIT=./logs/streamlit/
|
app.py
CHANGED
@@ -50,28 +50,122 @@ for filename in os.listdir('output'):
|
|
50 |
df_cmc = safe_read_csv("output/top_100_update.csv", sep=',')
|
51 |
df_cmc = df_cmc[df_cmc["last_updated"] == df_cmc["last_updated"].max()]
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
# Function to execute the scraping functions
|
54 |
def execute_etherscan_scraping():
|
55 |
subprocess.call(["python", "utils/scrap_etherscan.py"])
|
56 |
logging.info("Etherscan scraping completed")
|
57 |
threading.Timer(3600, execute_etherscan_scraping).start()
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
# Function to execute the scraping functions
|
60 |
def execute_cmc_scraping():
|
61 |
subprocess.call(["python", "utils/scrap_cmc.py"])
|
62 |
logging.info("CMC scraping completed")
|
63 |
threading.Timer(2592000 / 9000, execute_cmc_scraping).start()
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
if "initialized" not in st.session_state:
|
71 |
# Start the scraping threads
|
72 |
threading.Thread(target=execute_etherscan_scraping).start()
|
73 |
threading.Thread(target=execute_cmc_scraping).start()
|
74 |
threading.Thread(target=execute_influencers_scraping).start()
|
|
|
|
|
75 |
st.session_state["initialized"] = True
|
76 |
|
77 |
#-------------------------------------streamlit ----------------------------------
|
@@ -79,176 +173,176 @@ if "initialized" not in st.session_state:
|
|
79 |
# Set the title and other page configurations
|
80 |
st.title('Crypto Analysis')
|
81 |
|
|
|
82 |
# Create two columns for the two plots
|
83 |
col1, col2 = st.columns(2)
|
|
|
|
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
|
118 |
-
with col2:
|
119 |
-
# cmc
|
120 |
-
selected_var = st.selectbox('Select Token', ["percent_change_24h","percent_change_7d","percent_change_90d"], index=0)
|
121 |
-
# Sort the DataFrame by the 'percent_change_24h' column in ascending order
|
122 |
-
df_sorted = df_cmc.sort_values(by=selected_var, ascending=False)
|
123 |
-
# Select the top 10 and worst 10 rows
|
124 |
-
top_10 = df_sorted.head(10)
|
125 |
-
worst_10 = df_sorted.tail(10)
|
126 |
-
# Combine the top and worst dataframes for plotting
|
127 |
-
combined_df = pd.concat([top_10, worst_10], axis=0)
|
128 |
-
max_abs_val = max(abs(combined_df[selected_var].min()), abs(combined_df[selected_var].max()))
|
129 |
-
|
130 |
-
# Create a bar plot for the top 10 with a green color scale
|
131 |
-
fig = go.Figure(data=[
|
132 |
-
go.Bar(
|
133 |
-
x=top_10["symbol"],
|
134 |
-
y=top_10[selected_var],
|
135 |
-
marker_color='rgb(0,100,0)', # Green color for top 10
|
136 |
-
hovertext= "Name : "+top_10["name"].astype(str)+ '<br>' +
|
137 |
-
selected_var + " : " + top_10["percent_tokens_circulation"].astype(str) + '<br>' +
|
138 |
-
'Market Cap: ' + top_10["market_cap"].astype(str) + '<br>' +
|
139 |
-
'Fully Diluted Market Cap: ' + top_10["fully_diluted_market_cap"].astype(str) + '<br>' +
|
140 |
-
'Last Updated: ' + top_10["last_updated"].astype(str),
|
141 |
-
name="top_10"
|
142 |
-
)
|
143 |
-
])
|
144 |
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
)
|
157 |
)
|
|
|
158 |
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
fig.update_layout(
|
164 |
autosize=False,
|
165 |
-
width=
|
166 |
-
height=
|
167 |
-
margin=dict(
|
168 |
-
l=50,
|
169 |
-
r=50,
|
170 |
-
b=100,
|
171 |
-
t=100,
|
172 |
-
pad=4
|
173 |
-
),
|
174 |
-
#paper_bgcolor="LightSteelBlue",
|
175 |
-
)
|
176 |
st.plotly_chart(fig)
|
177 |
-
|
178 |
-
|
179 |
-
with col1:
|
180 |
-
|
181 |
-
# Load influencers
|
182 |
-
def load_influencers():
|
183 |
-
try:
|
184 |
-
with open("ressources/dict_influencers_addr.json", "r") as file:
|
185 |
-
return json.load(file)
|
186 |
-
except Exception as e:
|
187 |
-
st.error(f"Error loading influencers: {e}")
|
188 |
-
return {}
|
189 |
-
|
190 |
-
influencers = load_influencers()
|
191 |
-
|
192 |
-
new_influencer_name = st.text_input("New Influencer Name")
|
193 |
-
new_influencer_addr = st.text_input("New Influencer Address")
|
194 |
-
if st.button("Add Influencer"):
|
195 |
-
if new_influencer_name and new_influencer_addr:
|
196 |
-
influencers[new_influencer_name] = new_influencer_addr
|
197 |
-
with open("ressources/dict_influencers_addr.json", "w") as file:
|
198 |
-
json.dump(influencers, file, indent=4)
|
199 |
-
st.success(f"Influencer {new_influencer_name} added")
|
200 |
-
subprocess.call(["python", "utils/scrap_influencers_balance.py"])
|
201 |
-
st.success(f"Balance updated")
|
202 |
-
else:
|
203 |
-
st.error("Please enter both name and address")
|
204 |
-
|
205 |
-
# Load Ether balances
|
206 |
-
try:
|
207 |
-
df_balances = pd.read_csv("output/influencers_balances.csv")
|
208 |
-
logging.info(f"Balances uploaded, shape of dataframe is {df_balances.shape}")
|
209 |
-
#st.write("DataFrame Loaded:", df_balances) # Debugging line
|
210 |
-
except FileNotFoundError:
|
211 |
-
st.error("Balance data not found. Please wait for the next update cycle.")
|
212 |
-
df_balances = pd.DataFrame()
|
213 |
-
|
214 |
-
# Inverting the influencers dictionary
|
215 |
-
inverted_influencers = {v.lower(): k for k, v in influencers.items()}
|
216 |
-
|
217 |
-
if not df_balances.empty:
|
218 |
-
df_balances["balance"] = df_balances["balance"].astype(float) / 1e18 # Convert Wei to Ether
|
219 |
-
df_balances = df_balances.rename(columns={"account": "address"})
|
220 |
-
|
221 |
-
# Ensure addresses are in the same format as in the inverted dictionary (e.g., lowercase)
|
222 |
-
df_balances["address"] = df_balances["address"].str.lower()
|
223 |
-
|
224 |
-
# Perform the mapping
|
225 |
-
df_balances["influencer"] = df_balances["address"].map(inverted_influencers)
|
226 |
-
#st.write("Mapped DataFrame:", df_balances) # Debugging line
|
227 |
-
|
228 |
-
fig = px.bar(df_balances, y="influencer", x="balance",orientation="h")
|
229 |
-
fig.update_layout(
|
230 |
-
title='Ether Balances of Influencers',
|
231 |
-
xaxis=dict(
|
232 |
-
title='Balance in eth',
|
233 |
-
titlefont_size=16,
|
234 |
-
tickfont_size=14,
|
235 |
-
))
|
236 |
-
fig.update_layout(
|
237 |
-
autosize=False,
|
238 |
-
width=500,
|
239 |
-
height=500,
|
240 |
-
margin=dict(
|
241 |
-
l=50,
|
242 |
-
r=50,
|
243 |
-
b=100,
|
244 |
-
t=100,
|
245 |
-
pad=4
|
246 |
-
))
|
247 |
-
|
248 |
-
st.plotly_chart(fig)
|
249 |
-
else:
|
250 |
-
logging.info("DataFrame is empty")
|
251 |
|
252 |
|
|
|
253 |
|
254 |
#-------------------------------------end ----------------------------------
|
|
|
50 |
df_cmc = safe_read_csv("output/top_100_update.csv", sep=',')
|
51 |
df_cmc = df_cmc[df_cmc["last_updated"] == df_cmc["last_updated"].max()]
|
52 |
|
53 |
+
# Global metrics about the market
|
54 |
+
def load_global_metrics():
|
55 |
+
try:
|
56 |
+
return pd.read_csv("output/global_metrics.csv")
|
57 |
+
except FileNotFoundError:
|
58 |
+
logging.warning("Global metrics file not found.")
|
59 |
+
return pd.DataFrame() # Return an empty DataFrame if file is not found
|
60 |
+
|
61 |
+
# Load influencers
|
62 |
+
def load_influencers():
|
63 |
+
try:
|
64 |
+
with open("ressources/dict_influencers_addr.json", "r") as file:
|
65 |
+
return json.load(file)
|
66 |
+
except Exception as e:
|
67 |
+
st.error(f"Error loading influencers: {e}")
|
68 |
+
return {}
|
69 |
+
|
70 |
+
|
71 |
+
def create_dominance_pie_chart(df_global_metrics):
|
72 |
+
# Extract BTC and ETH dominance
|
73 |
+
btc_dominance = df_global_metrics['btc_dominance'].iloc[0]
|
74 |
+
eth_dominance = df_global_metrics['eth_dominance'].iloc[0]
|
75 |
+
# Calculate the dominance of other cryptocurrencies
|
76 |
+
others_dominance = 100 - btc_dominance - eth_dominance
|
77 |
+
#print(btc_dominance,eth_dominance,others_dominance)
|
78 |
+
# Prepare data for pie chart
|
79 |
+
dominance_data = {
|
80 |
+
'Cryptocurrency': ['BTC', 'ETH', 'Others'],
|
81 |
+
'Dominance': [btc_dominance, eth_dominance, others_dominance]
|
82 |
+
}
|
83 |
+
df_dominance = pd.DataFrame(dominance_data)
|
84 |
+
# Create a pie chart
|
85 |
+
fig = px.pie(df_dominance, values='Dominance', names='Cryptocurrency', title='Market Cap Dominance')
|
86 |
+
return fig
|
87 |
+
|
88 |
+
def display_greed_fear_index():
|
89 |
+
try:
|
90 |
+
df = pd.read_csv('output/greed_fear_index.csv')
|
91 |
+
|
92 |
+
# Prepare data for plotting
|
93 |
+
time_periods = ['One Year Ago', 'One Month Ago', 'One Week Ago', 'Previous Close', 'Now']
|
94 |
+
values = [
|
95 |
+
df['fgi_oneYearAgo_value'].iloc[0],
|
96 |
+
df['fgi_oneMonthAgo_value'].iloc[0],
|
97 |
+
df['fgi_oneWeekAgo_value'].iloc[0],
|
98 |
+
df['fgi_previousClose_value'].iloc[0],
|
99 |
+
df['fgi_now_value'].iloc[0]
|
100 |
+
]
|
101 |
+
labels = [
|
102 |
+
df['fgi_oneYearAgo_valueText'].iloc[0],
|
103 |
+
df['fgi_oneMonthAgo_valueText'].iloc[0],
|
104 |
+
df['fgi_oneWeekAgo_valueText'].iloc[0],
|
105 |
+
df['fgi_previousClose_valueText'].iloc[0],
|
106 |
+
df['fgi_now_valueText'].iloc[0]
|
107 |
+
]
|
108 |
+
|
109 |
+
# Create a Plotly figure
|
110 |
+
fig = go.Figure(data=[
|
111 |
+
go.Scatter(x=time_periods, y=values, mode='lines+markers+text', text=labels, textposition='top center')
|
112 |
+
])
|
113 |
+
|
114 |
+
# Update layout
|
115 |
+
fig.update_layout(
|
116 |
+
title='Fear and Greed Index Over Time',
|
117 |
+
xaxis_title='Time Period',
|
118 |
+
yaxis_title='Index Value',
|
119 |
+
yaxis=dict(range=[0, 100]) # Fear and Greed index ranges from 0 to 100
|
120 |
+
)
|
121 |
+
|
122 |
+
# Display the figure
|
123 |
+
st.plotly_chart(fig)
|
124 |
+
|
125 |
+
except FileNotFoundError:
|
126 |
+
st.error("Greed and Fear index data not available. Please wait for the next update cycle.")
|
127 |
+
|
128 |
+
#-------------------------------------scheduler ----------------------------------
|
129 |
+
|
130 |
# Function to execute the scraping functions
|
131 |
def execute_etherscan_scraping():
|
132 |
subprocess.call(["python", "utils/scrap_etherscan.py"])
|
133 |
logging.info("Etherscan scraping completed")
|
134 |
threading.Timer(3600, execute_etherscan_scraping).start()
|
135 |
|
136 |
+
# Balancer scrapping
|
137 |
+
def execute_influencers_scraping():
|
138 |
+
subprocess.call(["python", "utils/scrap_influencers_balance.py"])
|
139 |
+
logging.info("Influencers balance scraping completed")
|
140 |
+
threading.Timer(3600, execute_influencers_scraping).start() # Run every hour, for example
|
141 |
+
|
142 |
+
|
143 |
# Function to execute the scraping functions
|
144 |
def execute_cmc_scraping():
|
145 |
subprocess.call(["python", "utils/scrap_cmc.py"])
|
146 |
logging.info("CMC scraping completed")
|
147 |
threading.Timer(2592000 / 9000, execute_cmc_scraping).start()
|
148 |
|
149 |
+
|
150 |
+
# Function to execute the global metrics scraping
|
151 |
+
def execute_global_metrics_scraping():
|
152 |
+
subprocess.call(["python", "utils/scrap_cmc_global_metrics.py"])
|
153 |
+
logging.info("Global metrics scraping completed")
|
154 |
+
threading.Timer(2592000 / 9000, execute_influencers_scraping).start() # Run every hour, for example
|
155 |
+
|
156 |
+
def execute_greed_fear_index_scraping():
|
157 |
+
subprocess.call(["python", "utils/scrap_greed_fear_index.py"])
|
158 |
+
logging.info("Greed and Fear index scraping completed")
|
159 |
+
threading.Timer(3600, execute_greed_fear_index_scraping).start() # Adjust the interval as needed
|
160 |
+
|
161 |
|
162 |
if "initialized" not in st.session_state:
|
163 |
# Start the scraping threads
|
164 |
threading.Thread(target=execute_etherscan_scraping).start()
|
165 |
threading.Thread(target=execute_cmc_scraping).start()
|
166 |
threading.Thread(target=execute_influencers_scraping).start()
|
167 |
+
threading.Thread(target=execute_global_metrics_scraping).start()
|
168 |
+
threading.Thread(target=execute_greed_fear_index_scraping).start()
|
169 |
st.session_state["initialized"] = True
|
170 |
|
171 |
#-------------------------------------streamlit ----------------------------------
|
|
|
173 |
# Set the title and other page configurations
|
174 |
st.title('Crypto Analysis')
|
175 |
|
176 |
+
st.header("Global Cryptocurrency Market Metrics")
|
177 |
# Create two columns for the two plots
|
178 |
col1, col2 = st.columns(2)
|
179 |
+
global_metrics_df = load_global_metrics()
|
180 |
+
display_greed_fear_index()
|
181 |
|
182 |
+
|
183 |
+
st.write(global_metrics_df)
|
184 |
+
with col1:
|
185 |
+
# Create and display the pie chart
|
186 |
+
dominance_fig = create_dominance_pie_chart(global_metrics_df)
|
187 |
+
dominance_fig.update_layout(
|
188 |
+
autosize=False,
|
189 |
+
width=300,
|
190 |
+
height=300,)
|
191 |
+
st.plotly_chart(dominance_fig)
|
192 |
+
with col2:
|
193 |
+
# cmc
|
194 |
+
selected_var = st.selectbox('Select Var', ["percent_change_24h","percent_change_7d","percent_change_90d"], index=0)
|
195 |
+
# Sort the DataFrame by the 'percent_change_24h' column in ascending order
|
196 |
+
df_sorted = df_cmc.sort_values(by=selected_var, ascending=False)
|
197 |
+
# Select the top 10 and worst 10 rows
|
198 |
+
top_10 = df_sorted.head(10)
|
199 |
+
worst_10 = df_sorted.tail(10)
|
200 |
+
# Combine the top and worst dataframes for plotting
|
201 |
+
combined_df = pd.concat([top_10, worst_10], axis=0)
|
202 |
+
max_abs_val = max(abs(combined_df[selected_var].min()), abs(combined_df[selected_var].max()))
|
203 |
+
|
204 |
+
# Create a bar plot for the top 10 with a green color scale
|
205 |
+
fig = go.Figure(data=[
|
206 |
+
go.Bar(
|
207 |
+
x=top_10["symbol"],
|
208 |
+
y=top_10[selected_var],
|
209 |
+
marker_color='rgb(0,100,0)', # Green color for top 10
|
210 |
+
hovertext= "Name : "+top_10["name"].astype(str)+ '<br>' +
|
211 |
+
selected_var + " : " + top_10["percent_tokens_circulation"].astype(str) + '<br>' +
|
212 |
+
'Market Cap: ' + top_10["market_cap"].astype(str) + '<br>' +
|
213 |
+
'Fully Diluted Market Cap: ' + top_10["fully_diluted_market_cap"].astype(str) + '<br>' +
|
214 |
+
'Last Updated: ' + top_10["last_updated"].astype(str),
|
215 |
+
name="top_10"
|
216 |
+
)
|
217 |
+
])
|
218 |
+
|
219 |
+
# Add the worst 10 to the same plot with a red color scale
|
220 |
+
fig.add_traces(go.Bar(
|
221 |
+
x=worst_10["symbol"],
|
222 |
+
y=worst_10[selected_var],
|
223 |
+
marker_color='rgb(255,0,0)', # Red color for worst 10
|
224 |
+
hovertext="Name:"+worst_10["name"].astype(str)+ '<br>' +
|
225 |
+
selected_var + " : " + worst_10["percent_tokens_circulation"].astype(str) + '<br>' +
|
226 |
+
'Market Cap: ' + worst_10["market_cap"].astype(str) + '<br>' +
|
227 |
+
'Fully Diluted Market Cap: ' + worst_10["fully_diluted_market_cap"].astype(str) + '<br>' +
|
228 |
+
'Last Updated: ' + worst_10["last_updated"].astype(str),
|
229 |
+
name="worst_10"
|
230 |
)
|
231 |
+
)
|
232 |
+
|
233 |
+
# Customize aspect
|
234 |
+
fig.update_traces(marker_line_color='rgb(8,48,107)', marker_line_width=1.5, opacity=0.8)
|
235 |
+
fig.update_layout(title_text=f'Top 10 and Worst 10 by {selected_var.split("_")[-1]} Percentage Change')
|
236 |
+
fig.update_xaxes(categoryorder='total ascending')
|
237 |
+
fig.update_layout(
|
238 |
+
autosize=False,
|
239 |
+
width=300,
|
240 |
+
height=300,
|
241 |
+
margin=dict(
|
242 |
+
l=50,
|
243 |
+
r=50,
|
244 |
+
b=100,
|
245 |
+
t=100,
|
246 |
+
pad=4
|
247 |
+
),
|
248 |
+
#paper_bgcolor="LightSteelBlue",
|
249 |
+
)
|
250 |
+
st.plotly_chart(fig)
|
251 |
+
|
252 |
+
|
253 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
|
255 |
+
st.header("Deep Dive into Specific Coins")
|
256 |
+
col1, col2 = st.columns(2)
|
257 |
+
with col1:
|
258 |
+
# etherscan
|
259 |
+
selected_token = st.selectbox('Select Token', df_etherscan['tokenSymbol'].unique(), index=0)
|
260 |
+
# Filter the data based on the selected token
|
261 |
+
filtered_df = df_etherscan[df_etherscan['tokenSymbol'] == selected_token]
|
262 |
+
# Plot the token value over time
|
263 |
+
st.plotly_chart(
|
264 |
+
go.Figure(
|
265 |
+
data=[
|
266 |
+
go.Scatter(
|
267 |
+
x=filtered_df['timeStamp'],
|
268 |
+
y=filtered_df['value'],
|
269 |
+
mode='lines',
|
270 |
+
name='Value over time'
|
271 |
+
)
|
272 |
+
],
|
273 |
+
layout=go.Layout(
|
274 |
+
title='Token Value Over Time',
|
275 |
+
yaxis=dict(
|
276 |
+
title=f'Value ({selected_token})',
|
277 |
+
),
|
278 |
+
showlegend=True,
|
279 |
+
legend=go.layout.Legend(x=0, y=1.0),
|
280 |
+
margin=go.layout.Margin(l=40, r=0, t=40, b=30),
|
281 |
+
width=300,
|
282 |
+
height=300,
|
283 |
+
|
284 |
)
|
285 |
)
|
286 |
+
)
|
287 |
|
288 |
+
with col2:
|
289 |
+
influencers = load_influencers()
|
290 |
+
with st.container():
|
291 |
+
influencer_input = st.text_input("Follow this name:address", placeholder="e.g., alice:0x123...ABC")
|
292 |
+
if st.button("Add Influencer"):
|
293 |
+
if ":" in influencer_input:
|
294 |
+
try:
|
295 |
+
new_influencer_name, new_influencer_addr = influencer_input.split(":")
|
296 |
+
influencers[new_influencer_name.strip()] = new_influencer_addr.strip()
|
297 |
+
with open("ressources/dict_influencers_addr.json", "w") as file:
|
298 |
+
json.dump(influencers, file, indent=4)
|
299 |
+
st.success(f"Influencer {new_influencer_name} added")
|
300 |
+
subprocess.call(["python", "utils/scrap_influencers_balance.py"])
|
301 |
+
st.success("Balance updated")
|
302 |
+
except ValueError:
|
303 |
+
st.error("Invalid format. Please enter as 'name:address'")
|
304 |
+
else:
|
305 |
+
st.error("Please enter the influencer details as 'name:address'")
|
306 |
+
# Load Ether balances
|
307 |
+
try:
|
308 |
+
df_balances = pd.read_csv("output/influencers_balances.csv")
|
309 |
+
logging.info(f"Balances uploaded, shape of dataframe is {df_balances.shape}")
|
310 |
+
#st.write("DataFrame Loaded:", df_balances) # Debugging line
|
311 |
+
except FileNotFoundError:
|
312 |
+
st.error("Balance data not found. Please wait for the next update cycle.")
|
313 |
+
df_balances = pd.DataFrame()
|
314 |
+
|
315 |
+
# Inverting the influencers dictionary
|
316 |
+
inverted_influencers = {v.lower(): k for k, v in influencers.items()}
|
317 |
+
|
318 |
+
if not df_balances.empty:
|
319 |
+
df_balances["balance"] = df_balances["balance"].astype(float) / 1e18 # Convert Wei to Ether
|
320 |
+
df_balances = df_balances.rename(columns={"account": "address"})
|
321 |
+
|
322 |
+
# Ensure addresses are in the same format as in the inverted dictionary (e.g., lowercase)
|
323 |
+
df_balances["address"] = df_balances["address"].str.lower()
|
324 |
+
|
325 |
+
# Perform the mapping
|
326 |
+
df_balances["influencer"] = df_balances["address"].map(inverted_influencers)
|
327 |
+
#st.write("Mapped DataFrame:", df_balances) # Debugging line
|
328 |
+
|
329 |
+
fig = px.bar(df_balances, y="influencer", x="balance",orientation="h")
|
330 |
+
fig.update_layout(
|
331 |
+
title='Ether Balances of Influencers',
|
332 |
+
xaxis=dict(
|
333 |
+
title='Balance in eth',
|
334 |
+
titlefont_size=16,
|
335 |
+
tickfont_size=14,
|
336 |
+
))
|
337 |
fig.update_layout(
|
338 |
autosize=False,
|
339 |
+
width=300,
|
340 |
+
height=400,)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
st.plotly_chart(fig)
|
342 |
+
else:
|
343 |
+
logging.info("DataFrame is empty")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
|
345 |
|
346 |
+
st.header("Deep Dive into Specific Coins")
|
347 |
|
348 |
#-------------------------------------end ----------------------------------
|
logs/scrapping/cmc_global_metrics.log
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2023-11-28 00:50:57,937 [INFO] - Global metrics data fetched successfully.
|
2 |
+
2023-11-28 00:58:56,006 [INFO] - Global metrics data fetched successfully.
|
3 |
+
2023-11-28 00:59:02,658 [INFO] - Global metrics data fetched successfully.
|
4 |
+
2023-11-28 01:03:47,694 [INFO] - Global metrics data fetched successfully.
|
5 |
+
2023-11-28 01:04:31,840 [INFO] - Global metrics data fetched successfully.
|
6 |
+
2023-11-28 01:05:34,103 [INFO] - Global metrics data fetched successfully.
|
7 |
+
2023-11-28 01:06:29,302 [INFO] - Global metrics data fetched successfully.
|
8 |
+
2023-11-28 01:06:54,867 [INFO] - Global metrics data fetched successfully.
|
9 |
+
2023-11-28 01:07:47,211 [INFO] - Global metrics data fetched successfully.
|
10 |
+
2023-11-28 01:09:48,009 [INFO] - Global metrics data fetched successfully.
|
11 |
+
2023-11-28 01:10:24,084 [INFO] - Global metrics data fetched successfully.
|
12 |
+
2023-11-28 01:11:18,437 [INFO] - Global metrics data fetched successfully.
|
13 |
+
2023-11-28 01:13:28,350 [INFO] - Global metrics data fetched successfully.
|
14 |
+
2023-11-28 01:16:32,821 [INFO] - Global metrics data fetched successfully.
|
15 |
+
2023-11-28 01:17:20,532 [INFO] - Global metrics data fetched successfully.
|
16 |
+
2023-11-28 01:17:41,673 [INFO] - Global metrics data fetched successfully.
|
17 |
+
2023-11-28 01:25:17,079 [INFO] - Global metrics data fetched successfully.
|
18 |
+
2023-11-28 01:27:11,845 [INFO] - Global metrics data fetched successfully.
|
19 |
+
2023-11-28 01:31:19,587 [INFO] - Global metrics data fetched successfully.
|
20 |
+
2023-11-28 01:32:47,950 [INFO] - Global metrics data fetched successfully.
|
21 |
+
2023-11-28 01:35:41,363 [INFO] - Global metrics data fetched successfully.
|
22 |
+
2023-11-28 01:35:54,519 [INFO] - Global metrics data fetched successfully.
|
23 |
+
2023-11-28 01:36:20,790 [INFO] - Global metrics data fetched successfully.
|
24 |
+
2023-11-28 01:44:36,067 [INFO] - Global metrics data fetched successfully.
|
25 |
+
2023-11-28 01:45:20,379 [INFO] - Global metrics data fetched successfully.
|
26 |
+
2023-11-28 01:45:41,239 [INFO] - Global metrics data fetched successfully.
|
27 |
+
2023-11-28 01:46:46,269 [INFO] - Global metrics data fetched successfully.
|
28 |
+
2023-11-28 01:47:28,441 [INFO] - Global metrics data fetched successfully.
|
29 |
+
2023-11-28 01:50:17,187 [INFO] - Global metrics data fetched successfully.
|
30 |
+
2023-11-28 01:50:40,465 [INFO] - Global metrics data fetched successfully.
|
31 |
+
2023-11-28 01:51:45,391 [INFO] - Global metrics data fetched successfully.
|
32 |
+
2023-11-28 01:53:02,970 [INFO] - Global metrics data fetched successfully.
|
33 |
+
2023-11-28 01:53:15,977 [INFO] - Global metrics data fetched successfully.
|
34 |
+
2023-11-28 01:54:01,426 [INFO] - Global metrics data fetched successfully.
|
35 |
+
2023-11-28 01:56:53,378 [INFO] - Global metrics data fetched successfully.
|
36 |
+
2023-11-28 01:57:56,119 [INFO] - Global metrics data fetched successfully.
|
37 |
+
2023-11-28 01:58:45,913 [INFO] - Global metrics data fetched successfully.
|
38 |
+
2023-11-28 01:59:14,099 [INFO] - Global metrics data fetched successfully.
|
39 |
+
2023-11-28 01:59:31,047 [INFO] - Global metrics data fetched successfully.
|
logs/scrapping/cmc_scrapping.log
CHANGED
@@ -302,3 +302,151 @@
|
|
302 |
2023-11-28 00:48:02,132 [INFO] - Function fetch_and_process_cmc_data executed in 0.21 seconds
|
303 |
2023-11-28 00:48:07,702 [INFO] - CMC data script execution completed.
|
304 |
2023-11-28 00:48:07,703 [INFO] - Function fetch_and_process_cmc_data executed in 0.19 seconds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
2023-11-28 00:48:02,132 [INFO] - Function fetch_and_process_cmc_data executed in 0.21 seconds
|
303 |
2023-11-28 00:48:07,702 [INFO] - CMC data script execution completed.
|
304 |
2023-11-28 00:48:07,703 [INFO] - Function fetch_and_process_cmc_data executed in 0.19 seconds
|
305 |
+
2023-11-28 00:59:02,688 [INFO] - CMC data script execution completed.
|
306 |
+
2023-11-28 00:59:02,689 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
307 |
+
2023-11-28 01:03:47,948 [INFO] - CMC data script execution completed.
|
308 |
+
2023-11-28 01:03:47,949 [INFO] - Function fetch_and_process_cmc_data executed in 0.42 seconds
|
309 |
+
2023-11-28 01:03:51,262 [INFO] - CMC data script execution completed.
|
310 |
+
2023-11-28 01:03:51,264 [INFO] - Function fetch_and_process_cmc_data executed in 0.26 seconds
|
311 |
+
2023-11-28 01:04:31,918 [INFO] - CMC data script execution completed.
|
312 |
+
2023-11-28 01:04:31,919 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
313 |
+
2023-11-28 01:05:34,136 [INFO] - CMC data script execution completed.
|
314 |
+
2023-11-28 01:05:34,138 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
315 |
+
2023-11-28 01:06:29,317 [INFO] - CMC data script execution completed.
|
316 |
+
2023-11-28 01:06:29,318 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
317 |
+
2023-11-28 01:06:54,905 [INFO] - CMC data script execution completed.
|
318 |
+
2023-11-28 01:06:54,906 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
319 |
+
2023-11-28 01:07:47,315 [INFO] - CMC data script execution completed.
|
320 |
+
2023-11-28 01:07:47,316 [INFO] - Function fetch_and_process_cmc_data executed in 0.30 seconds
|
321 |
+
2023-11-28 01:08:37,503 [INFO] - CMC data script execution completed.
|
322 |
+
2023-11-28 01:08:37,504 [INFO] - Function fetch_and_process_cmc_data executed in 1.31 seconds
|
323 |
+
2023-11-28 01:08:39,703 [INFO] - CMC data script execution completed.
|
324 |
+
2023-11-28 01:08:39,704 [INFO] - Function fetch_and_process_cmc_data executed in 0.20 seconds
|
325 |
+
2023-11-28 01:09:20,445 [INFO] - CMC data script execution completed.
|
326 |
+
2023-11-28 01:09:20,445 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
327 |
+
2023-11-28 01:09:47,827 [INFO] - CMC data script execution completed.
|
328 |
+
2023-11-28 01:09:47,827 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
329 |
+
2023-11-28 01:10:22,664 [INFO] - CMC data script execution completed.
|
330 |
+
2023-11-28 01:10:22,665 [INFO] - Function fetch_and_process_cmc_data executed in 0.21 seconds
|
331 |
+
2023-11-28 01:10:24,176 [INFO] - CMC data script execution completed.
|
332 |
+
2023-11-28 01:10:24,177 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
333 |
+
2023-11-28 01:11:18,835 [INFO] - CMC data script execution completed.
|
334 |
+
2023-11-28 01:11:18,836 [INFO] - Function fetch_and_process_cmc_data executed in 0.56 seconds
|
335 |
+
2023-11-28 01:11:19,197 [INFO] - CMC data script execution completed.
|
336 |
+
2023-11-28 01:11:19,198 [INFO] - Function fetch_and_process_cmc_data executed in 1.55 seconds
|
337 |
+
2023-11-28 01:11:43,447 [INFO] - CMC data script execution completed.
|
338 |
+
2023-11-28 01:11:43,448 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
339 |
+
2023-11-28 01:12:35,796 [INFO] - CMC data script execution completed.
|
340 |
+
2023-11-28 01:12:35,797 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
341 |
+
2023-11-28 01:13:26,106 [INFO] - CMC data script execution completed.
|
342 |
+
2023-11-28 01:13:26,107 [INFO] - Function fetch_and_process_cmc_data executed in 0.36 seconds
|
343 |
+
2023-11-28 01:13:28,424 [INFO] - CMC data script execution completed.
|
344 |
+
2023-11-28 01:13:28,425 [INFO] - Function fetch_and_process_cmc_data executed in 0.25 seconds
|
345 |
+
2023-11-28 01:13:28,505 [INFO] - CMC data script execution completed.
|
346 |
+
2023-11-28 01:13:28,506 [INFO] - Function fetch_and_process_cmc_data executed in 0.30 seconds
|
347 |
+
2023-11-28 01:14:09,153 [INFO] - CMC data script execution completed.
|
348 |
+
2023-11-28 01:14:09,154 [INFO] - Function fetch_and_process_cmc_data executed in 0.46 seconds
|
349 |
+
2023-11-28 01:14:36,334 [INFO] - CMC data script execution completed.
|
350 |
+
2023-11-28 01:14:36,335 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
351 |
+
2023-11-28 01:15:11,168 [INFO] - CMC data script execution completed.
|
352 |
+
2023-11-28 01:15:11,169 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
353 |
+
2023-11-28 01:15:12,645 [INFO] - CMC data script execution completed.
|
354 |
+
2023-11-28 01:15:12,646 [INFO] - Function fetch_and_process_cmc_data executed in 0.19 seconds
|
355 |
+
2023-11-28 01:16:07,331 [INFO] - CMC data script execution completed.
|
356 |
+
2023-11-28 01:16:07,332 [INFO] - Function fetch_and_process_cmc_data executed in 0.25 seconds
|
357 |
+
2023-11-28 01:16:07,665 [INFO] - CMC data script execution completed.
|
358 |
+
2023-11-28 01:16:07,666 [INFO] - Function fetch_and_process_cmc_data executed in 0.19 seconds
|
359 |
+
2023-11-28 01:16:32,906 [INFO] - CMC data script execution completed.
|
360 |
+
2023-11-28 01:16:32,907 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
361 |
+
2023-11-28 01:17:20,642 [INFO] - CMC data script execution completed.
|
362 |
+
2023-11-28 01:17:20,643 [INFO] - Function fetch_and_process_cmc_data executed in 0.30 seconds
|
363 |
+
2023-11-28 01:17:42,199 [INFO] - CMC data script execution completed.
|
364 |
+
2023-11-28 01:17:42,200 [INFO] - Function fetch_and_process_cmc_data executed in 0.72 seconds
|
365 |
+
2023-11-28 01:21:21,478 [INFO] - CMC data script execution completed.
|
366 |
+
2023-11-28 01:21:21,480 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
367 |
+
2023-11-28 01:22:10,409 [INFO] - CMC data script execution completed.
|
368 |
+
2023-11-28 01:22:10,410 [INFO] - Function fetch_and_process_cmc_data executed in 1.46 seconds
|
369 |
+
2023-11-28 01:22:30,690 [INFO] - CMC data script execution completed.
|
370 |
+
2023-11-28 01:22:30,692 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
371 |
+
2023-11-28 01:25:17,142 [INFO] - CMC data script execution completed.
|
372 |
+
2023-11-28 01:25:17,144 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
373 |
+
2023-11-28 01:26:09,961 [INFO] - CMC data script execution completed.
|
374 |
+
2023-11-28 01:26:09,962 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
375 |
+
2023-11-28 01:26:58,890 [INFO] - CMC data script execution completed.
|
376 |
+
2023-11-28 01:26:58,891 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
377 |
+
2023-11-28 01:27:11,915 [INFO] - CMC data script execution completed.
|
378 |
+
2023-11-28 01:27:11,916 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
379 |
+
2023-11-28 01:27:19,209 [INFO] - CMC data script execution completed.
|
380 |
+
2023-11-28 01:27:19,210 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
381 |
+
2023-11-28 01:30:05,781 [INFO] - CMC data script execution completed.
|
382 |
+
2023-11-28 01:30:05,782 [INFO] - Function fetch_and_process_cmc_data executed in 0.32 seconds
|
383 |
+
2023-11-28 01:30:58,460 [INFO] - CMC data script execution completed.
|
384 |
+
2023-11-28 01:30:58,461 [INFO] - Function fetch_and_process_cmc_data executed in 0.21 seconds
|
385 |
+
2023-11-28 01:31:19,627 [INFO] - CMC data script execution completed.
|
386 |
+
2023-11-28 01:31:19,628 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
387 |
+
2023-11-28 01:32:47,998 [INFO] - CMC data script execution completed.
|
388 |
+
2023-11-28 01:32:47,999 [INFO] - Function fetch_and_process_cmc_data executed in 0.25 seconds
|
389 |
+
2023-11-28 01:35:41,433 [INFO] - CMC data script execution completed.
|
390 |
+
2023-11-28 01:35:41,434 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
391 |
+
2023-11-28 01:35:54,793 [INFO] - CMC data script execution completed.
|
392 |
+
2023-11-28 01:35:54,794 [INFO] - Function fetch_and_process_cmc_data executed in 0.47 seconds
|
393 |
+
2023-11-28 01:36:20,948 [INFO] - CMC data script execution completed.
|
394 |
+
2023-11-28 01:36:20,949 [INFO] - Function fetch_and_process_cmc_data executed in 0.32 seconds
|
395 |
+
2023-11-28 01:40:43,280 [INFO] - CMC data script execution completed.
|
396 |
+
2023-11-28 01:40:43,281 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
397 |
+
2023-11-28 01:41:09,498 [INFO] - CMC data script execution completed.
|
398 |
+
2023-11-28 01:41:09,499 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
399 |
+
2023-11-28 01:44:36,132 [INFO] - CMC data script execution completed.
|
400 |
+
2023-11-28 01:44:36,134 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
401 |
+
2023-11-28 01:45:20,464 [INFO] - CMC data script execution completed.
|
402 |
+
2023-11-28 01:45:20,465 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
403 |
+
2023-11-28 01:45:31,764 [INFO] - CMC data script execution completed.
|
404 |
+
2023-11-28 01:45:31,765 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
405 |
+
2023-11-28 01:45:41,395 [INFO] - CMC data script execution completed.
|
406 |
+
2023-11-28 01:45:41,396 [INFO] - Function fetch_and_process_cmc_data executed in 0.27 seconds
|
407 |
+
2023-11-28 01:45:58,226 [INFO] - CMC data script execution completed.
|
408 |
+
2023-11-28 01:45:58,227 [INFO] - Function fetch_and_process_cmc_data executed in 0.48 seconds
|
409 |
+
2023-11-28 01:46:46,340 [INFO] - CMC data script execution completed.
|
410 |
+
2023-11-28 01:46:46,341 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
411 |
+
2023-11-28 01:47:28,500 [INFO] - CMC data script execution completed.
|
412 |
+
2023-11-28 01:47:28,502 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
413 |
+
2023-11-28 01:50:17,261 [INFO] - CMC data script execution completed.
|
414 |
+
2023-11-28 01:50:17,262 [INFO] - Function fetch_and_process_cmc_data executed in 0.25 seconds
|
415 |
+
2023-11-28 01:50:40,550 [INFO] - CMC data script execution completed.
|
416 |
+
2023-11-28 01:50:40,552 [INFO] - Function fetch_and_process_cmc_data executed in 0.25 seconds
|
417 |
+
2023-11-28 01:51:45,479 [INFO] - CMC data script execution completed.
|
418 |
+
2023-11-28 01:51:45,480 [INFO] - Function fetch_and_process_cmc_data executed in 0.25 seconds
|
419 |
+
2023-11-28 01:52:17,048 [INFO] - CMC data script execution completed.
|
420 |
+
2023-11-28 01:52:17,049 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
421 |
+
2023-11-28 01:53:03,014 [INFO] - CMC data script execution completed.
|
422 |
+
2023-11-28 01:53:03,015 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
423 |
+
2023-11-28 01:53:16,039 [INFO] - CMC data script execution completed.
|
424 |
+
2023-11-28 01:53:16,040 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
425 |
+
2023-11-28 01:54:01,326 [INFO] - CMC data script execution completed.
|
426 |
+
2023-11-28 01:54:01,328 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
427 |
+
2023-11-28 01:55:05,780 [INFO] - CMC data script execution completed.
|
428 |
+
2023-11-28 01:55:05,781 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
429 |
+
2023-11-28 01:55:29,145 [INFO] - CMC data script execution completed.
|
430 |
+
2023-11-28 01:55:29,146 [INFO] - Function fetch_and_process_cmc_data executed in 0.31 seconds
|
431 |
+
2023-11-28 01:56:34,067 [INFO] - CMC data script execution completed.
|
432 |
+
2023-11-28 01:56:34,068 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
433 |
+
2023-11-28 01:56:53,461 [INFO] - CMC data script execution completed.
|
434 |
+
2023-11-28 01:56:53,461 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
435 |
+
2023-11-28 01:57:05,520 [INFO] - CMC data script execution completed.
|
436 |
+
2023-11-28 01:57:05,521 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
437 |
+
2023-11-28 01:57:51,560 [INFO] - CMC data script execution completed.
|
438 |
+
2023-11-28 01:57:51,561 [INFO] - Function fetch_and_process_cmc_data executed in 0.23 seconds
|
439 |
+
2023-11-28 01:57:56,188 [INFO] - CMC data script execution completed.
|
440 |
+
2023-11-28 01:57:56,189 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
441 |
+
2023-11-28 01:58:04,605 [INFO] - CMC data script execution completed.
|
442 |
+
2023-11-28 01:58:04,606 [INFO] - Function fetch_and_process_cmc_data executed in 0.25 seconds
|
443 |
+
2023-11-28 01:58:46,237 [INFO] - CMC data script execution completed.
|
444 |
+
2023-11-28 01:58:46,238 [INFO] - Function fetch_and_process_cmc_data executed in 0.49 seconds
|
445 |
+
2023-11-28 01:58:49,804 [INFO] - CMC data script execution completed.
|
446 |
+
2023-11-28 01:58:49,804 [INFO] - Function fetch_and_process_cmc_data executed in 0.21 seconds
|
447 |
+
2023-11-28 01:59:11,481 [INFO] - CMC data script execution completed.
|
448 |
+
2023-11-28 01:59:11,482 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
449 |
+
2023-11-28 01:59:31,034 [INFO] - CMC data script execution completed.
|
450 |
+
2023-11-28 01:59:31,035 [INFO] - Function fetch_and_process_cmc_data executed in 0.22 seconds
|
451 |
+
2023-11-28 01:59:54,297 [INFO] - CMC data script execution completed.
|
452 |
+
2023-11-28 01:59:54,298 [INFO] - Function fetch_and_process_cmc_data executed in 0.24 seconds
|
logs/scrapping/etherscan_scrap.log
CHANGED
@@ -203,3 +203,143 @@
|
|
203 |
2023-11-28 00:46:02,648 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
204 |
2023-11-28 00:46:02,648 [INFO] - Etherscan scraping script execution completed.
|
205 |
2023-11-28 00:46:02,648 [INFO] - Function fetch_and_update_etherscan executed in 21.07 seconds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
2023-11-28 00:46:02,648 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
204 |
2023-11-28 00:46:02,648 [INFO] - Etherscan scraping script execution completed.
|
205 |
2023-11-28 00:46:02,648 [INFO] - Function fetch_and_update_etherscan executed in 21.07 seconds
|
206 |
+
2023-11-28 00:59:24,578 [INFO] - Created files:
|
207 |
+
2023-11-28 00:59:24,578 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
208 |
+
2023-11-28 00:59:24,578 [INFO] - Etherscan scraping script execution completed.
|
209 |
+
2023-11-28 00:59:24,578 [INFO] - Function fetch_and_update_etherscan executed in 22.10 seconds
|
210 |
+
2023-11-28 01:04:41,583 [INFO] - Created files:
|
211 |
+
2023-11-28 01:04:41,583 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
212 |
+
2023-11-28 01:04:41,584 [INFO] - Etherscan scraping script execution completed.
|
213 |
+
2023-11-28 01:04:41,584 [INFO] - Function fetch_and_update_etherscan executed in 54.07 seconds
|
214 |
+
2023-11-28 01:05:01,098 [INFO] - Created files:
|
215 |
+
2023-11-28 01:05:01,098 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
216 |
+
2023-11-28 01:05:01,098 [INFO] - Etherscan scraping script execution completed.
|
217 |
+
2023-11-28 01:05:01,099 [INFO] - Function fetch_and_update_etherscan executed in 29.43 seconds
|
218 |
+
2023-11-28 01:05:55,824 [INFO] - Created files:
|
219 |
+
2023-11-28 01:05:55,824 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
220 |
+
2023-11-28 01:05:55,824 [INFO] - Etherscan scraping script execution completed.
|
221 |
+
2023-11-28 01:05:55,824 [INFO] - Function fetch_and_update_etherscan executed in 21.91 seconds
|
222 |
+
2023-11-28 01:06:51,141 [INFO] - Created files:
|
223 |
+
2023-11-28 01:06:51,141 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
224 |
+
2023-11-28 01:06:51,141 [INFO] - Etherscan scraping script execution completed.
|
225 |
+
2023-11-28 01:06:51,142 [INFO] - Function fetch_and_update_etherscan executed in 22.08 seconds
|
226 |
+
2023-11-28 01:07:15,653 [INFO] - Created files:
|
227 |
+
2023-11-28 01:07:15,653 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
228 |
+
2023-11-28 01:07:15,653 [INFO] - Etherscan scraping script execution completed.
|
229 |
+
2023-11-28 01:07:15,653 [INFO] - Function fetch_and_update_etherscan executed in 20.96 seconds
|
230 |
+
2023-11-28 01:08:10,150 [INFO] - Created files:
|
231 |
+
2023-11-28 01:08:10,150 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
232 |
+
2023-11-28 01:08:10,150 [INFO] - Etherscan scraping script execution completed.
|
233 |
+
2023-11-28 01:08:10,150 [INFO] - Function fetch_and_update_etherscan executed in 23.13 seconds
|
234 |
+
2023-11-28 01:10:08,745 [INFO] - Created files:
|
235 |
+
2023-11-28 01:10:08,745 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
236 |
+
2023-11-28 01:10:08,745 [INFO] - Etherscan scraping script execution completed.
|
237 |
+
2023-11-28 01:10:08,745 [INFO] - Function fetch_and_update_etherscan executed in 21.16 seconds
|
238 |
+
2023-11-28 01:10:47,337 [INFO] - Created files:
|
239 |
+
2023-11-28 01:10:47,337 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
240 |
+
2023-11-28 01:10:47,337 [INFO] - Etherscan scraping script execution completed.
|
241 |
+
2023-11-28 01:10:47,337 [INFO] - Function fetch_and_update_etherscan executed in 23.40 seconds
|
242 |
+
2023-11-28 01:11:39,764 [INFO] - Created files:
|
243 |
+
2023-11-28 01:11:39,764 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
244 |
+
2023-11-28 01:11:39,764 [INFO] - Etherscan scraping script execution completed.
|
245 |
+
2023-11-28 01:11:39,764 [INFO] - Function fetch_and_update_etherscan executed in 21.46 seconds
|
246 |
+
2023-11-28 01:13:49,085 [INFO] - Created files:
|
247 |
+
2023-11-28 01:13:49,085 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
248 |
+
2023-11-28 01:13:49,085 [INFO] - Etherscan scraping script execution completed.
|
249 |
+
2023-11-28 01:13:49,085 [INFO] - Function fetch_and_update_etherscan executed in 20.92 seconds
|
250 |
+
2023-11-28 01:16:55,044 [INFO] - Created files:
|
251 |
+
2023-11-28 01:16:55,045 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
252 |
+
2023-11-28 01:16:55,045 [INFO] - Etherscan scraping script execution completed.
|
253 |
+
2023-11-28 01:16:55,045 [INFO] - Function fetch_and_update_etherscan executed in 22.37 seconds
|
254 |
+
2023-11-28 01:17:42,300 [INFO] - Created files:
|
255 |
+
2023-11-28 01:17:42,300 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
256 |
+
2023-11-28 01:17:42,300 [INFO] - Etherscan scraping script execution completed.
|
257 |
+
2023-11-28 01:17:42,300 [INFO] - Function fetch_and_update_etherscan executed in 21.96 seconds
|
258 |
+
2023-11-28 01:18:02,578 [INFO] - Created files:
|
259 |
+
2023-11-28 01:18:02,578 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
260 |
+
2023-11-28 01:18:02,578 [INFO] - Etherscan scraping script execution completed.
|
261 |
+
2023-11-28 01:18:02,578 [INFO] - Function fetch_and_update_etherscan executed in 21.09 seconds
|
262 |
+
2023-11-28 01:25:38,961 [INFO] - Created files:
|
263 |
+
2023-11-28 01:25:38,961 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
264 |
+
2023-11-28 01:25:38,961 [INFO] - Etherscan scraping script execution completed.
|
265 |
+
2023-11-28 01:25:38,961 [INFO] - Function fetch_and_update_etherscan executed in 22.07 seconds
|
266 |
+
2023-11-28 01:27:33,868 [INFO] - Created files:
|
267 |
+
2023-11-28 01:27:33,868 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
268 |
+
2023-11-28 01:27:33,868 [INFO] - Etherscan scraping script execution completed.
|
269 |
+
2023-11-28 01:27:33,868 [INFO] - Function fetch_and_update_etherscan executed in 22.21 seconds
|
270 |
+
2023-11-28 01:31:40,438 [INFO] - Created files:
|
271 |
+
2023-11-28 01:31:40,438 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
272 |
+
2023-11-28 01:31:40,438 [INFO] - Etherscan scraping script execution completed.
|
273 |
+
2023-11-28 01:31:40,438 [INFO] - Function fetch_and_update_etherscan executed in 21.05 seconds
|
274 |
+
2023-11-28 01:33:09,508 [INFO] - Created files:
|
275 |
+
2023-11-28 01:33:09,508 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
276 |
+
2023-11-28 01:33:09,508 [INFO] - Etherscan scraping script execution completed.
|
277 |
+
2023-11-28 01:33:09,508 [INFO] - Function fetch_and_update_etherscan executed in 21.73 seconds
|
278 |
+
2023-11-28 01:36:21,589 [ERROR] - Invalid data format for transactions: Max rate limit reached
|
279 |
+
2023-11-28 01:36:21,589 [ERROR] - 'timeStamp' key not found in the response data.
|
280 |
+
2023-11-28 01:36:43,768 [INFO] - Created files:
|
281 |
+
2023-11-28 01:36:43,768 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
282 |
+
2023-11-28 01:36:43,768 [INFO] - Etherscan scraping script execution completed.
|
283 |
+
2023-11-28 01:36:43,768 [INFO] - Function fetch_and_update_etherscan executed in 23.15 seconds
|
284 |
+
2023-11-28 01:44:58,251 [INFO] - Created files:
|
285 |
+
2023-11-28 01:44:58,251 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
286 |
+
2023-11-28 01:44:58,251 [INFO] - Etherscan scraping script execution completed.
|
287 |
+
2023-11-28 01:44:58,251 [INFO] - Function fetch_and_update_etherscan executed in 22.33 seconds
|
288 |
+
2023-11-28 01:45:41,270 [INFO] - Created files:
|
289 |
+
2023-11-28 01:45:41,270 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
290 |
+
2023-11-28 01:45:41,270 [INFO] - Etherscan scraping script execution completed.
|
291 |
+
2023-11-28 01:45:41,270 [INFO] - Function fetch_and_update_etherscan executed in 21.04 seconds
|
292 |
+
2023-11-28 01:46:02,127 [INFO] - Created files:
|
293 |
+
2023-11-28 01:46:02,127 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
294 |
+
2023-11-28 01:46:02,127 [INFO] - Etherscan scraping script execution completed.
|
295 |
+
2023-11-28 01:46:02,127 [INFO] - Function fetch_and_update_etherscan executed in 21.01 seconds
|
296 |
+
2023-11-28 01:47:13,494 [INFO] - Created files:
|
297 |
+
2023-11-28 01:47:13,494 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
298 |
+
2023-11-28 01:47:13,494 [INFO] - Etherscan scraping script execution completed.
|
299 |
+
2023-11-28 01:47:13,494 [INFO] - Function fetch_and_update_etherscan executed in 27.34 seconds
|
300 |
+
2023-11-28 01:47:49,201 [INFO] - Created files:
|
301 |
+
2023-11-28 01:47:49,202 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
302 |
+
2023-11-28 01:47:49,202 [INFO] - Etherscan scraping script execution completed.
|
303 |
+
2023-11-28 01:47:49,202 [INFO] - Function fetch_and_update_etherscan executed in 20.93 seconds
|
304 |
+
2023-11-28 01:50:38,362 [INFO] - Created files:
|
305 |
+
2023-11-28 01:50:38,363 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
306 |
+
2023-11-28 01:50:38,363 [INFO] - Etherscan scraping script execution completed.
|
307 |
+
2023-11-28 01:50:38,363 [INFO] - Function fetch_and_update_etherscan executed in 21.34 seconds
|
308 |
+
2023-11-28 01:51:02,371 [INFO] - Created files:
|
309 |
+
2023-11-28 01:51:02,371 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
310 |
+
2023-11-28 01:51:02,371 [INFO] - Etherscan scraping script execution completed.
|
311 |
+
2023-11-28 01:51:02,371 [INFO] - Function fetch_and_update_etherscan executed in 22.05 seconds
|
312 |
+
2023-11-28 01:52:06,254 [INFO] - Created files:
|
313 |
+
2023-11-28 01:52:06,254 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
314 |
+
2023-11-28 01:52:06,254 [INFO] - Etherscan scraping script execution completed.
|
315 |
+
2023-11-28 01:52:06,254 [INFO] - Function fetch_and_update_etherscan executed in 21.05 seconds
|
316 |
+
2023-11-28 01:53:17,208 [ERROR] - Invalid data format for transactions: Max rate limit reached
|
317 |
+
2023-11-28 01:53:17,208 [ERROR] - 'timeStamp' key not found in the response data.
|
318 |
+
2023-11-28 01:53:23,747 [INFO] - Created files:
|
319 |
+
2023-11-28 01:53:23,747 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
320 |
+
2023-11-28 01:53:23,747 [INFO] - Etherscan scraping script execution completed.
|
321 |
+
2023-11-28 01:53:23,747 [INFO] - Function fetch_and_update_etherscan executed in 20.98 seconds
|
322 |
+
2023-11-28 01:54:24,168 [INFO] - Created files:
|
323 |
+
2023-11-28 01:54:24,168 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
324 |
+
2023-11-28 01:54:24,168 [INFO] - Etherscan scraping script execution completed.
|
325 |
+
2023-11-28 01:54:24,169 [INFO] - Function fetch_and_update_etherscan executed in 23.05 seconds
|
326 |
+
2023-11-28 01:57:14,360 [INFO] - Created files:
|
327 |
+
2023-11-28 01:57:14,360 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
328 |
+
2023-11-28 01:57:14,360 [INFO] - Etherscan scraping script execution completed.
|
329 |
+
2023-11-28 01:57:14,360 [INFO] - Function fetch_and_update_etherscan executed in 21.15 seconds
|
330 |
+
2023-11-28 01:58:17,129 [INFO] - Created files:
|
331 |
+
2023-11-28 01:58:17,129 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
332 |
+
2023-11-28 01:58:17,129 [INFO] - Etherscan scraping script execution completed.
|
333 |
+
2023-11-28 01:58:17,129 [INFO] - Function fetch_and_update_etherscan executed in 21.19 seconds
|
334 |
+
2023-11-28 01:59:06,792 [INFO] - Created files:
|
335 |
+
2023-11-28 01:59:06,792 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
336 |
+
2023-11-28 01:59:06,792 [INFO] - Etherscan scraping script execution completed.
|
337 |
+
2023-11-28 01:59:06,793 [INFO] - Function fetch_and_update_etherscan executed in 21.07 seconds
|
338 |
+
2023-11-28 01:59:32,211 [INFO] - Created files:
|
339 |
+
2023-11-28 01:59:32,211 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
340 |
+
2023-11-28 01:59:32,211 [INFO] - Etherscan scraping script execution completed.
|
341 |
+
2023-11-28 01:59:32,211 [INFO] - Function fetch_and_update_etherscan executed in 20.96 seconds
|
342 |
+
2023-11-28 01:59:52,774 [INFO] - Created files:
|
343 |
+
2023-11-28 01:59:52,774 [INFO] - Updated files: output/transactions_APE.csv, output/transactions_AXIE.csv, output/transactions_GALA.csv, output/transactions_MANA.csv, output/transactions_PET.csv, output/transactions_WEAOPON.csv
|
344 |
+
2023-11-28 01:59:52,774 [INFO] - Etherscan scraping script execution completed.
|
345 |
+
2023-11-28 01:59:52,774 [INFO] - Function fetch_and_update_etherscan executed in 21.97 seconds
|
logs/scrapping/greed_fear_index.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
2023-11-28 01:25:17,773 [INFO] - Greed and Fear index data fetched successfully.
|
2 |
+
2023-11-28 01:27:11,999 [INFO] - Greed and Fear index data fetched successfully.
|
3 |
+
2023-11-28 01:31:19,874 [INFO] - Greed and Fear index data fetched successfully.
|
4 |
+
2023-11-28 01:32:48,045 [INFO] - Greed and Fear index data fetched successfully.
|
5 |
+
2023-11-28 01:35:41,798 [INFO] - Greed and Fear index data fetched successfully.
|
6 |
+
2023-11-28 01:35:54,600 [INFO] - Greed and Fear index data fetched successfully.
|
7 |
+
2023-11-28 01:36:20,870 [INFO] - Greed and Fear index data fetched successfully.
|
8 |
+
2023-11-28 01:44:36,204 [INFO] - Greed and Fear index data fetched successfully.
|
9 |
+
2023-11-28 01:45:20,580 [INFO] - Greed and Fear index data fetched successfully.
|
10 |
+
2023-11-28 01:45:41,420 [INFO] - Greed and Fear index data fetched successfully.
|
11 |
+
2023-11-28 01:46:46,440 [INFO] - Greed and Fear index data fetched successfully.
|
12 |
+
2023-11-28 01:47:28,478 [INFO] - Greed and Fear index data fetched successfully.
|
13 |
+
2023-11-28 01:50:17,378 [INFO] - Greed and Fear index data fetched successfully.
|
14 |
+
2023-11-28 01:50:40,569 [INFO] - Greed and Fear index data fetched successfully.
|
15 |
+
2023-11-28 01:51:45,671 [INFO] - Greed and Fear index data fetched successfully.
|
16 |
+
2023-11-28 01:53:03,025 [INFO] - Greed and Fear index data fetched successfully.
|
17 |
+
2023-11-28 01:53:16,091 [INFO] - Greed and Fear index data fetched successfully.
|
18 |
+
2023-11-28 01:54:01,931 [INFO] - Greed and Fear index data fetched successfully.
|
19 |
+
2023-11-28 01:56:53,527 [INFO] - Greed and Fear index data fetched successfully.
|
20 |
+
2023-11-28 01:57:56,221 [INFO] - Greed and Fear index data fetched successfully.
|
21 |
+
2023-11-28 01:58:46,004 [INFO] - Greed and Fear index data fetched successfully.
|
22 |
+
2023-11-28 01:59:11,591 [INFO] - Greed and Fear index data fetched successfully.
|
23 |
+
2023-11-28 01:59:31,101 [INFO] - Greed and Fear index data fetched successfully.
|
logs/streamlit/front.log
CHANGED
@@ -369,3 +369,307 @@
|
|
369 |
2023-11-28 00:47:28,807 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
370 |
2023-11-28 00:48:02,170 [INFO] - CMC scraping completed
|
371 |
2023-11-28 00:48:07,741 [INFO] - CMC scraping completed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
369 |
2023-11-28 00:47:28,807 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
370 |
2023-11-28 00:48:02,170 [INFO] - CMC scraping completed
|
371 |
2023-11-28 00:48:07,741 [INFO] - CMC scraping completed
|
372 |
+
2023-11-28 00:59:02,040 [INFO] - Streamlit app has started
|
373 |
+
2023-11-28 00:59:02,461 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
374 |
+
2023-11-28 00:59:02,724 [INFO] - Global metrics scraping completed
|
375 |
+
2023-11-28 00:59:02,759 [INFO] - CMC scraping completed
|
376 |
+
2023-11-28 00:59:03,013 [INFO] - Influencers balance scraping completed
|
377 |
+
2023-11-28 00:59:24,613 [INFO] - Etherscan scraping completed
|
378 |
+
2023-11-28 01:03:47,077 [INFO] - Streamlit app has started
|
379 |
+
2023-11-28 01:03:47,268 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
380 |
+
2023-11-28 01:03:47,766 [INFO] - Global metrics scraping completed
|
381 |
+
2023-11-28 01:03:47,994 [INFO] - CMC scraping completed
|
382 |
+
2023-11-28 01:03:48,030 [INFO] - Influencers balance scraping completed
|
383 |
+
2023-11-28 01:03:51,304 [INFO] - CMC scraping completed
|
384 |
+
2023-11-28 01:03:51,462 [INFO] - Influencers balance scraping completed
|
385 |
+
2023-11-28 01:04:31,222 [INFO] - Streamlit app has started
|
386 |
+
2023-11-28 01:04:31,385 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
387 |
+
2023-11-28 01:04:31,890 [INFO] - Global metrics scraping completed
|
388 |
+
2023-11-28 01:04:31,972 [INFO] - CMC scraping completed
|
389 |
+
2023-11-28 01:04:39,211 [INFO] - Influencers balance scraping completed
|
390 |
+
2023-11-28 01:04:41,624 [INFO] - Etherscan scraping completed
|
391 |
+
2023-11-28 01:05:01,141 [INFO] - Etherscan scraping completed
|
392 |
+
2023-11-28 01:05:33,429 [INFO] - Streamlit app has started
|
393 |
+
2023-11-28 01:05:33,618 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
394 |
+
2023-11-28 01:05:34,166 [INFO] - Global metrics scraping completed
|
395 |
+
2023-11-28 01:05:34,208 [INFO] - CMC scraping completed
|
396 |
+
2023-11-28 01:05:34,454 [INFO] - Influencers balance scraping completed
|
397 |
+
2023-11-28 01:05:55,862 [INFO] - Etherscan scraping completed
|
398 |
+
2023-11-28 01:06:28,647 [INFO] - Streamlit app has started
|
399 |
+
2023-11-28 01:06:28,837 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
400 |
+
2023-11-28 01:06:29,366 [INFO] - Global metrics scraping completed
|
401 |
+
2023-11-28 01:06:29,391 [INFO] - CMC scraping completed
|
402 |
+
2023-11-28 01:06:29,600 [INFO] - Influencers balance scraping completed
|
403 |
+
2023-11-28 01:06:51,183 [INFO] - Etherscan scraping completed
|
404 |
+
2023-11-28 01:06:54,258 [INFO] - Streamlit app has started
|
405 |
+
2023-11-28 01:06:54,426 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
406 |
+
2023-11-28 01:06:54,933 [INFO] - Global metrics scraping completed
|
407 |
+
2023-11-28 01:06:54,966 [INFO] - CMC scraping completed
|
408 |
+
2023-11-28 01:06:55,216 [INFO] - Influencers balance scraping completed
|
409 |
+
2023-11-28 01:07:15,694 [INFO] - Etherscan scraping completed
|
410 |
+
2023-11-28 01:07:46,534 [INFO] - Streamlit app has started
|
411 |
+
2023-11-28 01:07:46,743 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
412 |
+
2023-11-28 01:07:47,261 [INFO] - Global metrics scraping completed
|
413 |
+
2023-11-28 01:07:47,369 [INFO] - CMC scraping completed
|
414 |
+
2023-11-28 01:07:47,536 [INFO] - Influencers balance scraping completed
|
415 |
+
2023-11-28 01:08:10,193 [INFO] - Etherscan scraping completed
|
416 |
+
2023-11-28 01:08:37,541 [INFO] - CMC scraping completed
|
417 |
+
2023-11-28 01:08:37,590 [INFO] - Influencers balance scraping completed
|
418 |
+
2023-11-28 01:08:39,744 [INFO] - CMC scraping completed
|
419 |
+
2023-11-28 01:09:20,480 [INFO] - CMC scraping completed
|
420 |
+
2023-11-28 01:09:20,703 [INFO] - Influencers balance scraping completed
|
421 |
+
2023-11-28 01:09:47,119 [INFO] - Streamlit app has started
|
422 |
+
2023-11-28 01:09:47,308 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
423 |
+
2023-11-28 01:09:47,881 [INFO] - CMC scraping completed
|
424 |
+
2023-11-28 01:09:48,058 [INFO] - Global metrics scraping completed
|
425 |
+
2023-11-28 01:09:48,116 [INFO] - Influencers balance scraping completed
|
426 |
+
2023-11-28 01:10:08,784 [INFO] - Etherscan scraping completed
|
427 |
+
2023-11-28 01:10:22,735 [INFO] - CMC scraping completed
|
428 |
+
2023-11-28 01:10:22,957 [INFO] - Influencers balance scraping completed
|
429 |
+
2023-11-28 01:10:23,478 [INFO] - Streamlit app has started
|
430 |
+
2023-11-28 01:10:23,652 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
431 |
+
2023-11-28 01:10:24,143 [INFO] - Global metrics scraping completed
|
432 |
+
2023-11-28 01:10:24,232 [INFO] - CMC scraping completed
|
433 |
+
2023-11-28 01:10:27,463 [INFO] - Influencers balance scraping completed
|
434 |
+
2023-11-28 01:10:47,374 [INFO] - Etherscan scraping completed
|
435 |
+
2023-11-28 01:11:17,841 [INFO] - Streamlit app has started
|
436 |
+
2023-11-28 01:11:18,004 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
437 |
+
2023-11-28 01:11:18,194 [INFO] - Influencers balance scraping completed
|
438 |
+
2023-11-28 01:11:18,492 [INFO] - Global metrics scraping completed
|
439 |
+
2023-11-28 01:11:18,779 [INFO] - Influencers balance scraping completed
|
440 |
+
2023-11-28 01:11:18,881 [INFO] - CMC scraping completed
|
441 |
+
2023-11-28 01:11:19,248 [INFO] - CMC scraping completed
|
442 |
+
2023-11-28 01:11:39,806 [INFO] - Etherscan scraping completed
|
443 |
+
2023-11-28 01:11:43,490 [INFO] - CMC scraping completed
|
444 |
+
2023-11-28 01:11:43,702 [INFO] - Influencers balance scraping completed
|
445 |
+
2023-11-28 01:12:35,836 [INFO] - CMC scraping completed
|
446 |
+
2023-11-28 01:12:35,992 [INFO] - Influencers balance scraping completed
|
447 |
+
2023-11-28 01:13:26,151 [INFO] - CMC scraping completed
|
448 |
+
2023-11-28 01:13:27,674 [INFO] - Streamlit app has started
|
449 |
+
2023-11-28 01:13:27,877 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
450 |
+
2023-11-28 01:13:28,405 [INFO] - Global metrics scraping completed
|
451 |
+
2023-11-28 01:13:28,518 [INFO] - CMC scraping completed
|
452 |
+
2023-11-28 01:13:28,563 [INFO] - CMC scraping completed
|
453 |
+
2023-11-28 01:13:28,715 [INFO] - Influencers balance scraping completed
|
454 |
+
2023-11-28 01:13:49,131 [INFO] - Etherscan scraping completed
|
455 |
+
2023-11-28 01:14:09,193 [INFO] - CMC scraping completed
|
456 |
+
2023-11-28 01:14:36,376 [INFO] - CMC scraping completed
|
457 |
+
2023-11-28 01:14:36,768 [INFO] - Influencers balance scraping completed
|
458 |
+
2023-11-28 01:15:11,208 [INFO] - CMC scraping completed
|
459 |
+
2023-11-28 01:15:12,683 [INFO] - CMC scraping completed
|
460 |
+
2023-11-28 01:15:12,929 [INFO] - Influencers balance scraping completed
|
461 |
+
2023-11-28 01:16:07,206 [INFO] - Influencers balance scraping completed
|
462 |
+
2023-11-28 01:16:07,375 [INFO] - CMC scraping completed
|
463 |
+
2023-11-28 01:16:07,705 [INFO] - CMC scraping completed
|
464 |
+
2023-11-28 01:16:32,017 [INFO] - Streamlit app has started
|
465 |
+
2023-11-28 01:16:32,725 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
466 |
+
2023-11-28 01:16:32,895 [INFO] - Global metrics scraping completed
|
467 |
+
2023-11-28 01:16:32,964 [INFO] - CMC scraping completed
|
468 |
+
2023-11-28 01:16:33,170 [INFO] - Influencers balance scraping completed
|
469 |
+
2023-11-28 01:16:55,083 [INFO] - Etherscan scraping completed
|
470 |
+
2023-11-28 01:17:19,882 [INFO] - Streamlit app has started
|
471 |
+
2023-11-28 01:17:20,039 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
472 |
+
2023-11-28 01:17:20,579 [INFO] - Global metrics scraping completed
|
473 |
+
2023-11-28 01:17:20,692 [INFO] - CMC scraping completed
|
474 |
+
2023-11-28 01:17:20,857 [INFO] - Influencers balance scraping completed
|
475 |
+
2023-11-28 01:17:41,042 [INFO] - Streamlit app has started
|
476 |
+
2023-11-28 01:17:41,220 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
477 |
+
2023-11-28 01:17:41,724 [INFO] - Global metrics scraping completed
|
478 |
+
2023-11-28 01:17:41,974 [INFO] - Influencers balance scraping completed
|
479 |
+
2023-11-28 01:17:42,234 [INFO] - CMC scraping completed
|
480 |
+
2023-11-28 01:17:42,336 [INFO] - Etherscan scraping completed
|
481 |
+
2023-11-28 01:18:02,615 [INFO] - Etherscan scraping completed
|
482 |
+
2023-11-28 01:21:21,525 [INFO] - CMC scraping completed
|
483 |
+
2023-11-28 01:21:21,715 [INFO] - Influencers balance scraping completed
|
484 |
+
2023-11-28 01:22:10,446 [INFO] - CMC scraping completed
|
485 |
+
2023-11-28 01:22:10,532 [INFO] - Influencers balance scraping completed
|
486 |
+
2023-11-28 01:22:30,474 [INFO] - Influencers balance scraping completed
|
487 |
+
2023-11-28 01:22:30,742 [INFO] - CMC scraping completed
|
488 |
+
2023-11-28 01:25:16,428 [INFO] - Streamlit app has started
|
489 |
+
2023-11-28 01:25:16,580 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
490 |
+
2023-11-28 01:25:17,140 [INFO] - Global metrics scraping completed
|
491 |
+
2023-11-28 01:25:17,197 [INFO] - CMC scraping completed
|
492 |
+
2023-11-28 01:25:17,425 [INFO] - Influencers balance scraping completed
|
493 |
+
2023-11-28 01:25:17,807 [INFO] - Greed and Fear index scraping completed
|
494 |
+
2023-11-28 01:25:38,997 [INFO] - Etherscan scraping completed
|
495 |
+
2023-11-28 01:26:10,003 [INFO] - CMC scraping completed
|
496 |
+
2023-11-28 01:26:58,934 [INFO] - CMC scraping completed
|
497 |
+
2023-11-28 01:27:11,201 [INFO] - Streamlit app has started
|
498 |
+
2023-11-28 01:27:11,348 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
499 |
+
2023-11-28 01:27:11,900 [INFO] - Global metrics scraping completed
|
500 |
+
2023-11-28 01:27:11,971 [INFO] - CMC scraping completed
|
501 |
+
2023-11-28 01:27:12,050 [INFO] - Greed and Fear index scraping completed
|
502 |
+
2023-11-28 01:27:12,206 [INFO] - Influencers balance scraping completed
|
503 |
+
2023-11-28 01:27:19,260 [INFO] - CMC scraping completed
|
504 |
+
2023-11-28 01:27:33,910 [INFO] - Etherscan scraping completed
|
505 |
+
2023-11-28 01:30:05,828 [INFO] - CMC scraping completed
|
506 |
+
2023-11-28 01:30:05,943 [INFO] - Influencers balance scraping completed
|
507 |
+
2023-11-28 01:30:58,512 [INFO] - CMC scraping completed
|
508 |
+
2023-11-28 01:31:18,910 [INFO] - Streamlit app has started
|
509 |
+
2023-11-28 01:31:19,414 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
510 |
+
2023-11-28 01:31:19,648 [INFO] - Global metrics scraping completed
|
511 |
+
2023-11-28 01:31:19,687 [INFO] - CMC scraping completed
|
512 |
+
2023-11-28 01:31:19,941 [INFO] - Greed and Fear index scraping completed
|
513 |
+
2023-11-28 01:31:19,960 [INFO] - Influencers balance scraping completed
|
514 |
+
2023-11-28 01:31:40,492 [INFO] - Etherscan scraping completed
|
515 |
+
2023-11-28 01:32:47,285 [INFO] - Streamlit app has started
|
516 |
+
2023-11-28 01:32:47,454 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
517 |
+
2023-11-28 01:32:48,004 [INFO] - Global metrics scraping completed
|
518 |
+
2023-11-28 01:32:48,057 [INFO] - CMC scraping completed
|
519 |
+
2023-11-28 01:32:48,103 [INFO] - Greed and Fear index scraping completed
|
520 |
+
2023-11-28 01:32:48,272 [INFO] - Influencers balance scraping completed
|
521 |
+
2023-11-28 01:33:09,545 [INFO] - Etherscan scraping completed
|
522 |
+
2023-11-28 01:35:40,742 [INFO] - Streamlit app has started
|
523 |
+
2023-11-28 01:35:40,940 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
524 |
+
2023-11-28 01:35:41,431 [INFO] - Global metrics scraping completed
|
525 |
+
2023-11-28 01:35:41,489 [INFO] - CMC scraping completed
|
526 |
+
2023-11-28 01:35:41,741 [INFO] - Influencers balance scraping completed
|
527 |
+
2023-11-28 01:35:41,851 [INFO] - Greed and Fear index scraping completed
|
528 |
+
2023-11-28 01:35:50,588 [INFO] - Etherscan scraping completed
|
529 |
+
2023-11-28 01:35:53,853 [INFO] - Streamlit app has started
|
530 |
+
2023-11-28 01:35:54,354 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
531 |
+
2023-11-28 01:35:54,569 [INFO] - Global metrics scraping completed
|
532 |
+
2023-11-28 01:35:54,654 [INFO] - Greed and Fear index scraping completed
|
533 |
+
2023-11-28 01:35:54,859 [INFO] - CMC scraping completed
|
534 |
+
2023-11-28 01:35:55,895 [INFO] - Influencers balance scraping completed
|
535 |
+
2023-11-28 01:36:20,153 [INFO] - Streamlit app has started
|
536 |
+
2023-11-28 01:36:20,359 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
537 |
+
2023-11-28 01:36:20,840 [INFO] - Global metrics scraping completed
|
538 |
+
2023-11-28 01:36:20,932 [INFO] - Greed and Fear index scraping completed
|
539 |
+
2023-11-28 01:36:21,000 [INFO] - CMC scraping completed
|
540 |
+
2023-11-28 01:36:21,129 [INFO] - Influencers balance scraping completed
|
541 |
+
2023-11-28 01:36:21,642 [INFO] - Etherscan scraping completed
|
542 |
+
2023-11-28 01:36:43,808 [INFO] - Etherscan scraping completed
|
543 |
+
2023-11-28 01:40:43,308 [INFO] - Influencers balance scraping completed
|
544 |
+
2023-11-28 01:40:43,328 [INFO] - CMC scraping completed
|
545 |
+
2023-11-28 01:41:09,539 [INFO] - CMC scraping completed
|
546 |
+
2023-11-28 01:41:09,589 [INFO] - Influencers balance scraping completed
|
547 |
+
2023-11-28 01:44:35,447 [INFO] - Streamlit app has started
|
548 |
+
2023-11-28 01:44:35,614 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
549 |
+
2023-11-28 01:44:36,126 [INFO] - Global metrics scraping completed
|
550 |
+
2023-11-28 01:44:36,184 [INFO] - CMC scraping completed
|
551 |
+
2023-11-28 01:44:36,254 [INFO] - Greed and Fear index scraping completed
|
552 |
+
2023-11-28 01:44:36,427 [INFO] - Influencers balance scraping completed
|
553 |
+
2023-11-28 01:44:58,286 [INFO] - Etherscan scraping completed
|
554 |
+
2023-11-28 01:45:19,733 [INFO] - Streamlit app has started
|
555 |
+
2023-11-28 01:45:19,931 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
556 |
+
2023-11-28 01:45:20,441 [INFO] - Global metrics scraping completed
|
557 |
+
2023-11-28 01:45:20,525 [INFO] - CMC scraping completed
|
558 |
+
2023-11-28 01:45:20,631 [INFO] - Greed and Fear index scraping completed
|
559 |
+
2023-11-28 01:45:20,723 [INFO] - Influencers balance scraping completed
|
560 |
+
2023-11-28 01:45:31,803 [INFO] - CMC scraping completed
|
561 |
+
2023-11-28 01:45:40,640 [INFO] - Streamlit app has started
|
562 |
+
2023-11-28 01:45:40,840 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
563 |
+
2023-11-28 01:45:41,336 [INFO] - Global metrics scraping completed
|
564 |
+
2023-11-28 01:45:41,359 [INFO] - Etherscan scraping completed
|
565 |
+
2023-11-28 01:45:41,476 [INFO] - CMC scraping completed
|
566 |
+
2023-11-28 01:45:41,499 [INFO] - Greed and Fear index scraping completed
|
567 |
+
2023-11-28 01:45:41,628 [INFO] - Influencers balance scraping completed
|
568 |
+
2023-11-28 01:45:58,273 [INFO] - CMC scraping completed
|
569 |
+
2023-11-28 01:46:02,165 [INFO] - Etherscan scraping completed
|
570 |
+
2023-11-28 01:46:45,670 [INFO] - Streamlit app has started
|
571 |
+
2023-11-28 01:46:45,842 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
572 |
+
2023-11-28 01:46:46,334 [INFO] - Global metrics scraping completed
|
573 |
+
2023-11-28 01:46:46,394 [INFO] - CMC scraping completed
|
574 |
+
2023-11-28 01:46:46,497 [INFO] - Greed and Fear index scraping completed
|
575 |
+
2023-11-28 01:46:52,732 [INFO] - Influencers balance scraping completed
|
576 |
+
2023-11-28 01:47:13,543 [INFO] - Etherscan scraping completed
|
577 |
+
2023-11-28 01:47:27,785 [INFO] - Streamlit app has started
|
578 |
+
2023-11-28 01:47:28,287 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
579 |
+
2023-11-28 01:47:28,549 [INFO] - Global metrics scraping completed
|
580 |
+
2023-11-28 01:47:28,580 [INFO] - Greed and Fear index scraping completed
|
581 |
+
2023-11-28 01:47:28,584 [INFO] - CMC scraping completed
|
582 |
+
2023-11-28 01:47:28,796 [INFO] - Influencers balance scraping completed
|
583 |
+
2023-11-28 01:47:49,239 [INFO] - Etherscan scraping completed
|
584 |
+
2023-11-28 01:50:16,530 [INFO] - Streamlit app has started
|
585 |
+
2023-11-28 01:50:16,683 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
586 |
+
2023-11-28 01:50:17,245 [INFO] - Global metrics scraping completed
|
587 |
+
2023-11-28 01:50:17,315 [INFO] - CMC scraping completed
|
588 |
+
2023-11-28 01:50:17,432 [INFO] - Greed and Fear index scraping completed
|
589 |
+
2023-11-28 01:50:17,575 [INFO] - Influencers balance scraping completed
|
590 |
+
2023-11-28 01:50:38,407 [INFO] - Etherscan scraping completed
|
591 |
+
2023-11-28 01:50:39,844 [INFO] - Streamlit app has started
|
592 |
+
2023-11-28 01:50:40,008 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
593 |
+
2023-11-28 01:50:40,517 [INFO] - Global metrics scraping completed
|
594 |
+
2023-11-28 01:50:40,607 [INFO] - CMC scraping completed
|
595 |
+
2023-11-28 01:50:40,641 [INFO] - Greed and Fear index scraping completed
|
596 |
+
2023-11-28 01:50:40,829 [INFO] - Influencers balance scraping completed
|
597 |
+
2023-11-28 01:51:02,408 [INFO] - Etherscan scraping completed
|
598 |
+
2023-11-28 01:51:44,739 [INFO] - Streamlit app has started
|
599 |
+
2023-11-28 01:51:44,933 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
600 |
+
2023-11-28 01:51:45,453 [INFO] - Global metrics scraping completed
|
601 |
+
2023-11-28 01:51:45,540 [INFO] - CMC scraping completed
|
602 |
+
2023-11-28 01:51:45,718 [INFO] - Influencers balance scraping completed
|
603 |
+
2023-11-28 01:51:45,721 [INFO] - Greed and Fear index scraping completed
|
604 |
+
2023-11-28 01:52:06,295 [INFO] - Etherscan scraping completed
|
605 |
+
2023-11-28 01:52:17,088 [INFO] - CMC scraping completed
|
606 |
+
2023-11-28 01:52:17,297 [INFO] - Influencers balance scraping completed
|
607 |
+
2023-11-28 01:53:02,317 [INFO] - Streamlit app has started
|
608 |
+
2023-11-28 01:53:02,465 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
609 |
+
2023-11-28 01:53:03,026 [INFO] - Global metrics scraping completed
|
610 |
+
2023-11-28 01:53:03,094 [INFO] - Greed and Fear index scraping completed
|
611 |
+
2023-11-28 01:53:03,094 [INFO] - CMC scraping completed
|
612 |
+
2023-11-28 01:53:03,292 [INFO] - Influencers balance scraping completed
|
613 |
+
2023-11-28 01:53:15,335 [INFO] - Streamlit app has started
|
614 |
+
2023-11-28 01:53:15,540 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
615 |
+
2023-11-28 01:53:16,041 [INFO] - Global metrics scraping completed
|
616 |
+
2023-11-28 01:53:16,119 [INFO] - CMC scraping completed
|
617 |
+
2023-11-28 01:53:16,156 [INFO] - Greed and Fear index scraping completed
|
618 |
+
2023-11-28 01:53:16,332 [INFO] - Influencers balance scraping completed
|
619 |
+
2023-11-28 01:53:17,254 [INFO] - Etherscan scraping completed
|
620 |
+
2023-11-28 01:53:23,795 [INFO] - Etherscan scraping completed
|
621 |
+
2023-11-28 01:54:00,654 [INFO] - Streamlit app has started
|
622 |
+
2023-11-28 01:54:00,795 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
623 |
+
2023-11-28 01:54:01,376 [INFO] - CMC scraping completed
|
624 |
+
2023-11-28 01:54:01,486 [INFO] - Global metrics scraping completed
|
625 |
+
2023-11-28 01:54:01,627 [INFO] - Influencers balance scraping completed
|
626 |
+
2023-11-28 01:54:01,982 [INFO] - Greed and Fear index scraping completed
|
627 |
+
2023-11-28 01:54:24,210 [INFO] - Etherscan scraping completed
|
628 |
+
2023-11-28 01:55:05,841 [INFO] - CMC scraping completed
|
629 |
+
2023-11-28 01:55:06,006 [INFO] - Influencers balance scraping completed
|
630 |
+
2023-11-28 01:55:29,184 [INFO] - CMC scraping completed
|
631 |
+
2023-11-28 01:55:29,271 [INFO] - Influencers balance scraping completed
|
632 |
+
2023-11-28 01:56:34,119 [INFO] - CMC scraping completed
|
633 |
+
2023-11-28 01:56:34,248 [INFO] - Influencers balance scraping completed
|
634 |
+
2023-11-28 01:56:52,756 [INFO] - Streamlit app has started
|
635 |
+
2023-11-28 01:56:52,917 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
636 |
+
2023-11-28 01:56:53,440 [INFO] - Global metrics scraping completed
|
637 |
+
2023-11-28 01:56:53,524 [INFO] - CMC scraping completed
|
638 |
+
2023-11-28 01:56:53,581 [INFO] - Greed and Fear index scraping completed
|
639 |
+
2023-11-28 01:56:53,734 [INFO] - Influencers balance scraping completed
|
640 |
+
2023-11-28 01:57:05,559 [INFO] - CMC scraping completed
|
641 |
+
2023-11-28 01:57:14,399 [INFO] - Etherscan scraping completed
|
642 |
+
2023-11-28 01:57:51,598 [INFO] - CMC scraping completed
|
643 |
+
2023-11-28 01:57:51,745 [INFO] - Influencers balance scraping completed
|
644 |
+
2023-11-28 01:57:55,477 [INFO] - Streamlit app has started
|
645 |
+
2023-11-28 01:57:55,651 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
646 |
+
2023-11-28 01:57:56,180 [INFO] - Global metrics scraping completed
|
647 |
+
2023-11-28 01:57:56,263 [INFO] - CMC scraping completed
|
648 |
+
2023-11-28 01:57:56,279 [INFO] - Greed and Fear index scraping completed
|
649 |
+
2023-11-28 01:57:56,493 [INFO] - Influencers balance scraping completed
|
650 |
+
2023-11-28 01:58:04,644 [INFO] - CMC scraping completed
|
651 |
+
2023-11-28 01:58:04,776 [INFO] - Influencers balance scraping completed
|
652 |
+
2023-11-28 01:58:17,167 [INFO] - Etherscan scraping completed
|
653 |
+
2023-11-28 01:58:45,266 [INFO] - Streamlit app has started
|
654 |
+
2023-11-28 01:58:45,467 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
655 |
+
2023-11-28 01:58:45,968 [INFO] - Global metrics scraping completed
|
656 |
+
2023-11-28 01:58:46,060 [INFO] - Greed and Fear index scraping completed
|
657 |
+
2023-11-28 01:58:46,250 [INFO] - Influencers balance scraping completed
|
658 |
+
2023-11-28 01:58:46,292 [INFO] - CMC scraping completed
|
659 |
+
2023-11-28 01:58:49,844 [INFO] - CMC scraping completed
|
660 |
+
2023-11-28 01:58:50,183 [INFO] - Influencers balance scraping completed
|
661 |
+
2023-11-28 01:59:06,843 [INFO] - Etherscan scraping completed
|
662 |
+
2023-11-28 01:59:10,767 [INFO] - Streamlit app has started
|
663 |
+
2023-11-28 01:59:11,536 [INFO] - CMC scraping completed
|
664 |
+
2023-11-28 01:59:11,641 [INFO] - Greed and Fear index scraping completed
|
665 |
+
2023-11-28 01:59:11,769 [INFO] - Influencers balance scraping completed
|
666 |
+
2023-11-28 01:59:14,144 [INFO] - Global metrics scraping completed
|
667 |
+
2023-11-28 01:59:30,345 [INFO] - Streamlit app has started
|
668 |
+
2023-11-28 01:59:30,495 [INFO] - Balances uploaded, shape of dataframe is (4, 2)
|
669 |
+
2023-11-28 01:59:31,106 [INFO] - Global metrics scraping completed
|
670 |
+
2023-11-28 01:59:31,109 [INFO] - CMC scraping completed
|
671 |
+
2023-11-28 01:59:31,158 [INFO] - Greed and Fear index scraping completed
|
672 |
+
2023-11-28 01:59:31,325 [INFO] - Influencers balance scraping completed
|
673 |
+
2023-11-28 01:59:32,265 [INFO] - Etherscan scraping completed
|
674 |
+
2023-11-28 01:59:52,816 [INFO] - Etherscan scraping completed
|
675 |
+
2023-11-28 01:59:54,340 [INFO] - CMC scraping completed
|
output/cmc_data_v1_cryptocurrency_listings_latest_100.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49f394b714b63bcb568bc1f85ea5a8fe308067977994fc77a11d7401f613b2ea
|
3 |
+
size 119061
|
output/global_metrics.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56d354bb20eac786e584d13e27b0648dbfff97321da9cfea34ab2b5a937e956a
|
3 |
+
size 2058
|
output/greed_fear_index.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4eee12b593c936615d9b103bf596fbcb999542a4a68987aff4100b9d5396cf15
|
3 |
+
size 363
|
output/top_100_update.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c00ca112a17aa4596689a06be0226051c6ef155402a24d5f61d8b4562b3a1d8c
|
3 |
+
size 1325534
|
output/transactions_APE.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:047ff00b9a1610e53ccf954fddcb4dff40cf5805f98090465f82072150590d1c
|
3 |
+
size 3491358
|
output/transactions_AXIE.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c973cac0473cbbe02c7bdba3704a97a5819fb130118d9cd99b8b1667552b8a60
|
3 |
+
size 1646172
|
output/transactions_GALA.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b52b4143f26394c83aafdce92babe5a91d78e5f47ab824dfbe1e5428caa09be2
|
3 |
+
size 4222917
|
output/transactions_MANA.csv
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da79712ca9bbe25335e2b9c4ce28b9aa551a0a84ff013aa95b8dd22ec3f0bc12
|
3 |
+
size 2254698
|
utils/scrap_cmc_global_metrics.py
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Import necessary libraries
|
2 |
+
import requests
|
3 |
+
import pandas as pd
|
4 |
+
import logging
|
5 |
+
import os
|
6 |
+
from dotenv import load_dotenv
|
7 |
+
|
8 |
+
# Load environment variables
|
9 |
+
load_dotenv()
|
10 |
+
url_cmc = os.getenv("URL_CMC")
|
11 |
+
api_key_cmc = os.getenv("API_KEY_CMC")
|
12 |
+
log_folder = os.getenv("LOG_FOLDER")
|
13 |
+
|
14 |
+
# Ensure the log folder exists
|
15 |
+
os.makedirs(log_folder, exist_ok=True)
|
16 |
+
log_file = os.path.join(log_folder, "cmc_global_metrics.log")
|
17 |
+
logging.basicConfig(filename=log_file, level=logging.INFO, format="%(asctime)s [%(levelname)s] - %(message)s")
|
18 |
+
|
19 |
+
# Fetch global metrics
|
20 |
+
def fetch_global_metrics():
|
21 |
+
endpoint = "v1/global-metrics/quotes/latest"
|
22 |
+
headers = {'Accepts': 'application/json', 'X-CMC_PRO_API_KEY': api_key_cmc}
|
23 |
+
try:
|
24 |
+
response = requests.get(f"{url_cmc}/{endpoint}", headers=headers)
|
25 |
+
response.raise_for_status() # Raise an exception for HTTP errors
|
26 |
+
data = response.json()
|
27 |
+
df = pd.json_normalize(data['data'])
|
28 |
+
df.to_csv('output/global_metrics.csv', index=False)
|
29 |
+
logging.info("Global metrics data fetched successfully.")
|
30 |
+
except requests.exceptions.RequestException as e:
|
31 |
+
logging.error(f"Error fetching global metrics data: {e}")
|
32 |
+
|
33 |
+
# Run the function
|
34 |
+
if __name__ == "__main__":
|
35 |
+
fetch_global_metrics()
|
utils/scrap_greed_fear_index.py
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import requests
|
2 |
+
import pandas as pd
|
3 |
+
import os
|
4 |
+
from dotenv import load_dotenv
|
5 |
+
import logging
|
6 |
+
|
7 |
+
# Load environment variables
|
8 |
+
load_dotenv()
|
9 |
+
api_key = os.getenv("RAPIDAPI_KEY")
|
10 |
+
|
11 |
+
# Setup logging
|
12 |
+
log_folder = os.getenv("LOG_FOLDER")
|
13 |
+
os.makedirs(log_folder, exist_ok=True)
|
14 |
+
log_file = os.path.join(log_folder, "greed_fear_index.log")
|
15 |
+
logging.basicConfig(filename=log_file, level=logging.INFO, format="%(asctime)s [%(levelname)s] - %(message)s")
|
16 |
+
|
17 |
+
def fetch_greed_fear_index():
|
18 |
+
url = "https://fear-and-greed-index.p.rapidapi.com/v1/fgi"
|
19 |
+
headers = {
|
20 |
+
"X-RapidAPI-Key": api_key,
|
21 |
+
"X-RapidAPI-Host": "fear-and-greed-index.p.rapidapi.com"
|
22 |
+
}
|
23 |
+
|
24 |
+
response = requests.get(url, headers=headers)
|
25 |
+
if response.status_code == 200:
|
26 |
+
data = response.json()
|
27 |
+
df = pd.json_normalize(data, sep='_')
|
28 |
+
df.to_csv('output/greed_fear_index.csv', index=False)
|
29 |
+
logging.info("Greed and Fear index data fetched successfully.")
|
30 |
+
else:
|
31 |
+
logging.error(f"Failed to fetch data: {response.text}")
|
32 |
+
|
33 |
+
if __name__ == "__main__":
|
34 |
+
fetch_greed_fear_index()
|