Skip to content

Token Spreads & TVL vs Market Cap don't display any info. #227

@kotto78

Description

@kotto78

Describe the bug

After Dashboard was updated 4 days ago, Token Spreads & TVL vs Market Cap stopped working and don't display any info.

Also Portfolio throws the following error:
ValueError: time data "2025-02-02T05:25:00" doesn't match format "%Y-%m-%dT%H:%M:%S.%f", at position 1911. You might want to try: - passing formatif your strings have a consistent format; - passingformat='ISO8601'if your strings are all ISO8601 but not necessarily in exactly the same format; - passingformat='mixed', and the format will be inferred for each element individually. You might want to use dayfirst alongside this. Traceback: File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.__dict__) File "/home/dashboard/frontend/pages/orchestration/portfolio/app.py", line 142, in <module> account_history_df['timestamp'] = pd.to_datetime(account_history_df['timestamp']) File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/pandas/core/tools/datetimes.py", line 1063, in to_datetime cache_array = _maybe_cache(arg, format, cache, convert_listlike) File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/pandas/core/tools/datetimes.py", line 247, in _maybe_cache cache_dates = convert_listlike(unique_dates, format) File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/pandas/core/tools/datetimes.py", line 433, in _convert_listlike_datetimes return _array_strptime_with_fallback(arg, name, utc, format, exact, errors) File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/pandas/core/tools/datetimes.py", line 467, in _array_strptime_with_fallback result, tz_out = array_strptime(arg, fmt, exact=exact, errors=errors, utc=utc) File "strptime.pyx", line 501, in pandas._libs.tslibs.strptime.array_strptime File "strptime.pyx", line 451, in pandas._libs.tslibs.strptime.array_strptime File "strptime.pyx", line 583, in pandas._libs.tslibs.strptime._parse_with_format

Steps to reproduce bug

Image
Image
Image

  1. Install latest Dashboard via Deploy
  2. Click "Token Spreads"
  3. Click "TVL vs Market Cap"
  4. Go to "Portfolio" tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions