freqtrade_origin/freqtrade/enums/tradingmode.py

12 lines
220 B
Python
Raw Normal View History

2021-08-06 05:23:02 +00:00
from enum import Enum
2022-02-21 18:19:12 +00:00
class TradingMode(str, Enum):
2021-08-06 05:23:02 +00:00
"""
2021-11-09 18:22:29 +00:00
Enum to distinguish between
spot, margin, futures or any other trading method
2021-08-06 05:23:02 +00:00
"""
SPOT = "spot"
MARGIN = "margin"
FUTURES = "futures"