From da28279d67fe1472e56ff4ba2314acd02dd738fc Mon Sep 17 00:00:00 2001 From: takunomi-build-bot Date: Mon, 22 Jul 2024 23:39:10 +0200 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/python-omni --- README.md | 6 +++++- ruff.toml | 4 +++- setup.py | 6 +++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 99e7bff..0407640 100644 --- a/README.md +++ b/README.md @@ -69,13 +69,17 @@ most mature on the danish market, and does support KuCoin. ## TODO -- [ ] Parse configuration from json. +- [ ] 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. - [ ] Document configuration - [ ] Document code auditing +- [X] Parse configuration from json. - [X] Ensure sell time is included in order details - [X] Log all trades to CSV file. - [X] Collect information during the run and output after run diff --git a/ruff.toml b/ruff.toml index 4f533b8..77e8b76 100644 --- a/ruff.toml +++ b/ruff.toml @@ -8,6 +8,8 @@ lint.ignore = [ 'TCH', # Microoptimization at the cost of readability + 'D407', 'D413', # Weird documentation stuff + 'D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D106', 'D107', 'D300', 'D401', # Missing docstrings (lots of work) 'TD002', 'TD003', 'TD004', 'FIX', # Who cares about TODO standards? "E501", 'PLR0912', 'PTH123', 'F405', 'E402', 'PLW0603', @@ -19,7 +21,7 @@ lint.ignore = [ # Autofix lint.fixable = [ - 'SIM', 'C', 'Q', 'D', + 'SIM', 'C', 'Q', 'UP035', 'UP004', 'UP032', 'UP006', 'UP007', 'I001', 'F401', 'COM812', 'B011', 'PLR1722', 'PLR0402', 'S101', ] diff --git a/setup.py b/setup.py index 557b57c..a050088 100644 --- a/setup.py +++ b/setup.py @@ -78,13 +78,17 @@ most mature on the danish market, and does support KuCoin. ## TODO -- [ ] Parse configuration from json. +- [ ] 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. - [ ] Document configuration - [ ] Document code auditing +- [X] Parse configuration from json. - [X] Ensure sell time is included in order details - [X] Log all trades to CSV file. - [X] Collect information during the run and output after run