From 269d54bb446521180ea5019b2df32bbc4a13ac20 Mon Sep 17 00:00:00 2001 From: Seth For Privacy <40500387+sethforprivacy@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:17:00 +0000 Subject: [PATCH 1/2] Add balanace/min order output to autoconvert logs --- src/autoconvert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autoconvert.py b/src/autoconvert.py index e589411..c9de760 100644 --- a/src/autoconvert.py +++ b/src/autoconvert.py @@ -28,7 +28,7 @@ def attempt_sell(asset: Literal['XBT', 'XMR']): to_sell_amount = 0 if balance < order_min[asset]: - print(util.get_time(), f'Not enough {asset} balance to sell.') + print(util.get_time(), f'Not enough {asset} balance to sell. (Balance: {balance}, Min order: {order_min[asset]})') return bids = get_bids(asset) From df78156f5995b0c363b5eec7a79d32707989e0fc Mon Sep 17 00:00:00 2001 From: Seth For Privacy <40500387+sethforprivacy@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:19:21 +0000 Subject: [PATCH 2/2] Add autoforward balance/min send --- src/autoforward.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autoforward.py b/src/autoforward.py index 2abb34e..120ad6e 100644 --- a/src/autoforward.py +++ b/src/autoforward.py @@ -89,7 +89,7 @@ def attempt_bitcoin_autoforward(): balance = get_bitcoin_balance() if balance < MIN_BITCOIN_SEND_AMOUNT: - print(util.get_time(), 'Not enough bitcoin balance to autoforward.') + print(util.get_time(), f'Not enough Bitcoin balance to autoforward. (Balance: {balance}, Min Send: {MIN_BITCOIN_SEND_AMOUNT})') return fee_rate = get_bitcoin_fee_rate() @@ -124,7 +124,7 @@ def attempt_monero_autoforward(): balance = get_monero_balance() if balance < MIN_MONERO_SEND_AMOUNT: - print(util.get_time(), 'Not enough monero balance to autoforward.') + print(util.get_time(), f'Not enough Monero balance to autoforward. (Balance: {balance}, Min Send: {MIN_MONERO_SEND_AMOUNT})') return address = get_new_kraken_address('XMR')