capofficial / capofficial/client

Deposits/Withdrawals In Pool Stats API Response

Open
#57 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Svelte
Stars
4
Forks
78
PR merge metrics
No merged PRs in 30d

Description

While looking into #6, I noticed two odd things about the pool stats returned from the API.

1. I don't see withdrawals populated on the daily aggregates for ETH or USDC. It seems possible (but unlikely) that nobody has withdrawn yet, so I believe this is in error.
2. The deposit amounts seem off:

![cap_pool_stat_deposits](https://user-images.githubusercontent.com/120074542/207235161-57628b4a-e518-4d29-a8e7-5a11c468aa73.png)

This screenshot shows a daily ending balance 1 ETH higher than the starting balance, but with a 26 ETH deposit and no withdrawals. If traders had a 25 ETH winning day we would have heard about it in Discord, so this must be off.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.