freqtrade_origin/freqtrade/enums/marginmode.py

13 lines
242 B
Python
Raw Normal View History

2021-08-06 05:23:02 +00:00
from enum import Enum
2023-06-04 11:25:39 +00:00
class MarginMode(str, Enum):
2021-08-06 05:23:02 +00:00
"""
2021-11-09 18:22:29 +00:00
Enum to distinguish between
cross margin/futures margin_mode and
isolated margin/futures margin_mode
2021-08-06 05:23:02 +00:00
"""
CROSS = "cross"
ISOLATED = "isolated"
NONE = ''