diff --git a/changelog.txt b/changelog.txt index abedde5..8222e8b 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,6 @@ +2024.12.01: +. Added "generated_at" entry: When generating a config file, the generated timestamp is saved in the config file. + 2024.11.30: . Added "forced_restart_if_retries_exhasted" option to the config file of a trader. If set to true, the trader will always restart if the first order of the deal does not fill. Default behavior is one restart only. It is recommended to set this to false, unless there is a specific combination of pair/exchange with too high diff --git a/main.py b/main.py index 6a283c8..3f85f86 100644 --- a/main.py +++ b/main.py @@ -180,7 +180,8 @@ def generate_config_file(base: str, quote: str) -> dict: "attempt_restart": True, "dynamic_so_deviance": True, "dsd_range": 1, - "slippage_default_threshold": .02 + "slippage_default_threshold": .02, + "generated_at": int(time.time()), }