diff --git a/dashboard/charts.py b/dashboard/charts.py index 8896b73..26e494c 100644 --- a/dashboard/charts.py +++ b/dashboard/charts.py @@ -53,8 +53,8 @@ def fig_dca_comparison(results: dict) -> go.Figure: for name, dca_result in results.items(): history = dca_result.order.history chunks_x = list(range(len(history))) - prices = [h["price"] for h in history] - tokens = [h["tokens"] for h in history] + prices = [h["effective_price"] for h in history] + tokens = [h["tokens_minted"] for h in history] import numpy as np cumulative = np.cumsum(tokens).tolist()