freqtrade_origin/freqtrade/enums/marginmode.py

13 lines
237 B
Python
Raw Normal View History

2021-08-06 05:23:02 +00:00
from enum import Enum
class MarginMode(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 = ''