From ffd283448bc4fe5bcf8ec9ce46eb3f01f3d9ecc2 Mon Sep 17 00:00:00 2001 From: takunomi-build-bot Date: Mon, 2 Dec 2024 18:24:01 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Repository=20layout=20updated=20?= =?UTF-8?q?to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager --- README.md | 22 ++++++++++++++-------- setup.py | 26 +++++++++++++++++--------- 2 files changed, 31 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 22ce8c2..649d27a 100644 --- a/README.md +++ b/README.md @@ -101,14 +101,20 @@ most mature on the danish market, and does support KuCoin. ## TODO -- [ ] Present an overview of what the script will be doing - * Sell what for what? How much, how often? - * Give an estimate of how long it will take. - * Wait 20 seconds before starting, to allow the user to review. -- [ ] Ensure that a failure during selling results in a safe winding down of the system. - * Catch runtime errors when selling - * Show errors to log. - * Stop loop and exit with results, and error indicator. +- [X] Allow multiple secrets configs +- [X] Allow multiple output directories +- [X] Fix `TimeoutError` issue occuring from slow Kucoin endpoint. Might + require implementing own kucoin backend in `fin_depo`. +- [X] Ensure that a failure during selling results in a safe winding down of the system. + * Catch runtime errors when selling + * Show status + * Show errors to log. + * Stop loop and exit with results, and error indicator. +- [X] Present an overview of what the script will be doing + * Sell what for what? How much, how often? + * Give an estimate of how long it will take. + * Wait 20 seconds before starting, to allow the user to review. +- [X] Document command-line arguments - [X] Document configuration - [X] Document code auditing - [X] Parse configuration from json. diff --git a/setup.py b/setup.py index b70c0d1..659c519 100644 --- a/setup.py +++ b/setup.py @@ -108,14 +108,20 @@ most mature on the danish market, and does support KuCoin. ## TODO -- [ ] Present an overview of what the script will be doing - * Sell what for what? How much, how often? - * Give an estimate of how long it will take. - * Wait 20 seconds before starting, to allow the user to review. -- [ ] Ensure that a failure during selling results in a safe winding down of the system. - * Catch runtime errors when selling - * Show errors to log. - * Stop loop and exit with results, and error indicator. +- [X] Allow multiple secrets configs +- [X] Allow multiple output directories +- [X] Fix `TimeoutError` issue occuring from slow Kucoin endpoint. Might + require implementing own kucoin backend in `fin_depo`. +- [X] Ensure that a failure during selling results in a safe winding down of the system. + * Catch runtime errors when selling + * Show status + * Show errors to log. + * Stop loop and exit with results, and error indicator. +- [X] Present an overview of what the script will be doing + * Sell what for what? How much, how often? + * Give an estimate of how long it will take. + * Wait 20 seconds before starting, to allow the user to review. +- [X] Document command-line arguments - [X] Document configuration - [X] Document code auditing - [X] Parse configuration from json. @@ -146,7 +152,9 @@ REQUIREMENTS_MAIN = [ 'fin_defs @ git+https://gitfub.space/Jmaa/fin-defs.git', 'fin_depo @ git+https://gitfub.space/Jmaa/fin-depo.git', ] -REQUIREMENTS_TEST = [] +REQUIREMENTS_TEST = [ + 'pytest', +] setup(