Implement more detailed link group withdrawal simulations

This commit is contained in:
2023-05-05 14:39:02 +01:00
parent 35607898f0
commit 0be1b98072
7 changed files with 157 additions and 47 deletions

View File

@@ -37,11 +37,12 @@ class AgoraClient(LocalPlatformClient, BaseClient):
return rtrn
# TODO: write test before re-enabling adding total_trades
async def withdraw_funds(self):
async def withdraw_funds(self, checks):
"""
Withdraw excess funds to our XMR wallets.
"""
print("CALLING WITHDRAW FUNDS")
# checks = self.check_all()
totals_all = await self.money.get_total()
if totals_all is False:
return False