generated_at
This commit is contained in:
parent
ad759fe60a
commit
254c1469e6
|
|
@ -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:
|
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
|
. 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
|
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
|
||||||
|
|
|
||||||
3
main.py
3
main.py
|
|
@ -180,7 +180,8 @@ def generate_config_file(base: str, quote: str) -> dict:
|
||||||
"attempt_restart": True,
|
"attempt_restart": True,
|
||||||
"dynamic_so_deviance": True,
|
"dynamic_so_deviance": True,
|
||||||
"dsd_range": 1,
|
"dsd_range": 1,
|
||||||
"slippage_default_threshold": .02
|
"slippage_default_threshold": .02,
|
||||||
|
"generated_at": int(time.time()),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue