From 380627dcff5f8a980bd9534d730ec7057debe596 Mon Sep 17 00:00:00 2001 From: david-hummingbot <85695272+david-hummingbot@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:26:04 +0800 Subject: [PATCH] update app.py --- frontend/pages/orchestration/portfolio/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/pages/orchestration/portfolio/app.py b/frontend/pages/orchestration/portfolio/app.py index eefc60f6..6759e6eb 100644 --- a/frontend/pages/orchestration/portfolio/app.py +++ b/frontend/pages/orchestration/portfolio/app.py @@ -139,7 +139,7 @@ def account_history_to_df(history): # Plot the evolution of the portfolio over time if len(filtered_account_history) > 0: account_history_df = account_history_to_df(filtered_account_history) - account_history_df['timestamp'] = pd.to_datetime(account_history_df['timestamp']) + account_history_df['timestamp'] = pd.to_datetime(account_history_df['timestamp'], format='ISO8601') # Aggregate the value of the portfolio over time portfolio_evolution_df = account_history_df.groupby('timestamp')['value'].sum().reset_index()