Skip to content

Failing API calls (spotbit.info/api is offline): Update CCXT and improve error handling  #105

@nochiel

Description

@nochiel

The https://spotbit.info API is offline.

As noted in #103 (comment), Spotbit is currently crashing because API calls to exchanges are continuously failing.

The result is that either API calls fail immediately or, when attempting to get results for a range of dates, Spotbit keeps trying until it runs out of memory. The system then kills Spotbit. Restarting Spotbit then causes the same error.

We should:

  • Update to the latest CCXT which hopefully reflects whatever changes have occurred with exchange APIs.
  • Improve error handling so that Spotbit immediately stops retrying when unknown errors occur. That is, if an error we don't specifically handle occurs then Spotbit should always fail and report that error instead of attempting other requests.
  • Blacklist failing exchanges and report them for the Spotbit administrator to manually verify the bug.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingspotbit.info API is offlineThe spotbit.info API will be offline until this issue is resolved.

Type

No type

Projects

Status

2025 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions