From 8f42aaaa9ad59ebd3e5f3e86f3a66ad88cd34ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20S=C3=A1nchez?= Date: Fri, 11 Jul 2025 13:13:23 -0300 Subject: [PATCH] default order size per broker --- changelog.txt | 1 + config_handler.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 19afb5b..83c98cb 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,6 @@ 2025.07.11: . Default "check_slippage" value now False. +. The default order size is now enforced per exchange. 2025.06.04: . Added "base_add_calculation" endpoint: Calculates how many safety orders can be added with the amount of base currency available on the exchange. diff --git a/config_handler.py b/config_handler.py index ff755a1..dcc979d 100644 --- a/config_handler.py +++ b/config_handler.py @@ -11,7 +11,7 @@ class ConfigHandler: self.default_config_dictionary = { "pair": pair, "is_short": False, - "order_size": 12, + "order_size": self.broker.get_default_order_size(), "no_of_safety_orders": 30, "max_short_safety_orders": 45, "safety_order_deviance": 2,