freqtrade/freqtrade

View on GitHub
freqtrade/enums/tradingmode.py

Summary

Maintainability
A
0 mins
Test Coverage
from enum import Enum


class TradingMode(str, Enum):
    """
    Enum to distinguish between
    spot, margin, futures or any other trading method
    """

    SPOT = "spot"
    MARGIN = "margin"
    FUTURES = "futures"