freqtrade_origin/freqtrade/enums/marginmode.py

11 lines
229 B
Python

from enum import Enum
class MarginMode(Enum):
"""
Enum to distinguish between
one-way mode or hedge mode in Futures (Cross and Isolated) or Margin Trading
"""
ONE_WAY = "one-way"
HEDGE = "hedge"