mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-10 08:10:34 +00:00
chore: use value instead of string to avoid "none" output in "marginmode"
This commit is contained in:
@@ -13,4 +13,4 @@ class MarginMode(str, Enum):
|
||||
NONE = ""
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.name.lower()}"
|
||||
return f"{self.value.lower()}"
|
||||
|
||||
Reference in New Issue
Block a user