Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List balances for the last 12 months #4

Closed
sebinsua opened this issue Dec 14, 2015 · 0 comments
Closed

List balances for the last 12 months #4

sebinsua opened this issue Dec 14, 2015 · 0 comments

Comments

@sebinsua
Copy link
Owner

In order to support teller list balances business --interval=monthly --only-numbers we need to be able to:

  1. Get the current balance.
  2. Get the last 12 months of transactions.
  3. Get the final balance of each month, including the current month. To do this we need to minus each of the transactions from the current balance cumulatively.
  4. Create a Vec of month_final_balances.
  5. Write this to stdout.

Note: if Teller adds from and to query strings this would be easier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant