default order size per broker
This commit is contained in:
parent
49a65ed685
commit
8f42aaaa9a
|
|
@ -1,5 +1,6 @@
|
||||||
2025.07.11:
|
2025.07.11:
|
||||||
. Default "check_slippage" value now False.
|
. Default "check_slippage" value now False.
|
||||||
|
. The default order size is now enforced per exchange.
|
||||||
|
|
||||||
2025.06.04:
|
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.
|
. Added "base_add_calculation" endpoint: Calculates how many safety orders can be added with the amount of base currency available on the exchange.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ class ConfigHandler:
|
||||||
self.default_config_dictionary = {
|
self.default_config_dictionary = {
|
||||||
"pair": pair,
|
"pair": pair,
|
||||||
"is_short": False,
|
"is_short": False,
|
||||||
"order_size": 12,
|
"order_size": self.broker.get_default_order_size(),
|
||||||
"no_of_safety_orders": 30,
|
"no_of_safety_orders": 30,
|
||||||
"max_short_safety_orders": 45,
|
"max_short_safety_orders": 45,
|
||||||
"safety_order_deviance": 2,
|
"safety_order_deviance": 2,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue