justchrister / kalt

Make money, make a difference

Home Page:https://ka.lt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

End point: transactions/calculateAccountBalance

justchrister opened this issue · comments

Purpose
To get the account balance, we will check the deposits, withdraws, dividends and buy and sell in the transactions service

calculateAccountBalance should check what amount is reserved based on current open orders on exchange vs deposits and withdraws services.

To-do

  • [ ]
  • Document in readme file

Resiliency

Error handling

Fallbacks

Could have its own database where it stores this data as a fallback if other services are offline.

Decoupling

Wireframes and flowcharts

Image

Duplicate #103