Commit aa10dd6
committed
Refactor SubAccountUI for async loading and caching
Reworked SubAccountUI to load accounts and update overview statistics asynchronously using ThreadPoolExecutor, improving UI responsiveness. Added price caching and batch price updates to reduce API calls and speed up account value calculations. Updated asset dropdown and account details to refresh asynchronously, and ensured proper thread cleanup on exit. Bumped version to 2.1.3 in settings.yaml.1 parent fd7ffb5 commit aa10dd6
2 files changed
Lines changed: 351 additions & 142 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
0 commit comments