"""
Binance Derivatives Trading Portfolio Margin REST API

OpenAPI Specification for the Binance Derivatives Trading Portfolio Margin REST API
The version of the OpenAPI document: 1.0.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""

from enum import Enum


class MarginAccountNewOcoSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class MarginAccountNewOcoStopLimitTimeInForceEnum(Enum):
    GTC = "GTC"
    IOC = "IOC"
    FOK = "FOK"


class MarginAccountNewOcoNewOrderRespTypeEnum(Enum):
    ACK = "ACK"
    RESULT = "RESULT"


class MarginAccountNewOcoSideEffectTypeEnum(Enum):
    NO_SIDE_EFFECT = "NO_SIDE_EFFECT"
    MARGIN_BUY = "MARGIN_BUY"
    AUTO_REPAY = "AUTO_REPAY"


class ModifyCmOrderSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class ModifyCmOrderPriceMatchEnum(Enum):
    NONE = "NONE"
    OPPONENT = "OPPONENT"
    OPPONENT_5 = "OPPONENT_5"
    OPPONENT_10 = "OPPONENT_10"
    OPPONENT_20 = "OPPONENT_20"
    QUEUE = "QUEUE"
    QUEUE_5 = "QUEUE_5"
    QUEUE_10 = "QUEUE_10"
    QUEUE_20 = "QUEUE_20"


class ModifyUmOrderSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class ModifyUmOrderPriceMatchEnum(Enum):
    NONE = "NONE"
    OPPONENT = "OPPONENT"
    OPPONENT_5 = "OPPONENT_5"
    OPPONENT_10 = "OPPONENT_10"
    OPPONENT_20 = "OPPONENT_20"
    QUEUE = "QUEUE"
    QUEUE_5 = "QUEUE_5"
    QUEUE_10 = "QUEUE_10"
    QUEUE_20 = "QUEUE_20"


class NewCmConditionalOrderSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class NewCmConditionalOrderStrategyTypeEnum(Enum):
    STOP = "STOP"
    STOP_MARKET = "STOP_MARKET"
    TAKE_PROFIT = "TAKE_PROFIT"
    TAKE_PROFIT_MARKET = "TAKE_PROFIT_MARKET"
    TRAILING_STOP_MARKET = "TRAILING_STOP_MARKET"


class NewCmConditionalOrderPositionSideEnum(Enum):
    BOTH = "BOTH"
    LONG = "LONG"
    SHORT = "SHORT"


class NewCmConditionalOrderTimeInForceEnum(Enum):
    GTC = "GTC"
    IOC = "IOC"
    FOK = "FOK"
    GTX = "GTX"


class NewCmConditionalOrderWorkingTypeEnum(Enum):
    MARK_PRICE = "MARK_PRICE"


class NewCmOrderSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class NewCmOrderTypeEnum(Enum):
    LIMIT = "LIMIT"
    MARKET = "MARKET"


class NewCmOrderPositionSideEnum(Enum):
    BOTH = "BOTH"
    LONG = "LONG"
    SHORT = "SHORT"


class NewCmOrderTimeInForceEnum(Enum):
    GTC = "GTC"
    IOC = "IOC"
    FOK = "FOK"
    GTX = "GTX"


class NewCmOrderPriceMatchEnum(Enum):
    NONE = "NONE"
    OPPONENT = "OPPONENT"
    OPPONENT_5 = "OPPONENT_5"
    OPPONENT_10 = "OPPONENT_10"
    OPPONENT_20 = "OPPONENT_20"
    QUEUE = "QUEUE"
    QUEUE_5 = "QUEUE_5"
    QUEUE_10 = "QUEUE_10"
    QUEUE_20 = "QUEUE_20"


class NewCmOrderNewOrderRespTypeEnum(Enum):
    ACK = "ACK"
    RESULT = "RESULT"


class NewMarginOrderSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class NewMarginOrderTypeEnum(Enum):
    LIMIT = "LIMIT"
    MARKET = "MARKET"


class NewMarginOrderNewOrderRespTypeEnum(Enum):
    ACK = "ACK"
    RESULT = "RESULT"


class NewMarginOrderSideEffectTypeEnum(Enum):
    NO_SIDE_EFFECT = "NO_SIDE_EFFECT"
    MARGIN_BUY = "MARGIN_BUY"
    AUTO_REPAY = "AUTO_REPAY"


class NewMarginOrderTimeInForceEnum(Enum):
    GTC = "GTC"
    IOC = "IOC"
    FOK = "FOK"
    GTX = "GTX"


class NewMarginOrderSelfTradePreventionModeEnum(Enum):
    NONE = "NONE"
    EXPIRE_TAKER = "EXPIRE_TAKER"
    EXPIRE_BOTH = "EXPIRE_BOTH"
    EXPIRE_MAKER = "EXPIRE_MAKER"


class NewUmConditionalOrderSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class NewUmConditionalOrderStrategyTypeEnum(Enum):
    STOP = "STOP"
    STOP_MARKET = "STOP_MARKET"
    TAKE_PROFIT = "TAKE_PROFIT"
    TAKE_PROFIT_MARKET = "TAKE_PROFIT_MARKET"
    TRAILING_STOP_MARKET = "TRAILING_STOP_MARKET"


class NewUmConditionalOrderPositionSideEnum(Enum):
    BOTH = "BOTH"
    LONG = "LONG"
    SHORT = "SHORT"


class NewUmConditionalOrderTimeInForceEnum(Enum):
    GTC = "GTC"
    IOC = "IOC"
    FOK = "FOK"
    GTX = "GTX"


class NewUmConditionalOrderWorkingTypeEnum(Enum):
    MARK_PRICE = "MARK_PRICE"


class NewUmConditionalOrderPriceMatchEnum(Enum):
    NONE = "NONE"
    OPPONENT = "OPPONENT"
    OPPONENT_5 = "OPPONENT_5"
    OPPONENT_10 = "OPPONENT_10"
    OPPONENT_20 = "OPPONENT_20"
    QUEUE = "QUEUE"
    QUEUE_5 = "QUEUE_5"
    QUEUE_10 = "QUEUE_10"
    QUEUE_20 = "QUEUE_20"


class NewUmConditionalOrderSelfTradePreventionModeEnum(Enum):
    NONE = "NONE"
    EXPIRE_TAKER = "EXPIRE_TAKER"
    EXPIRE_BOTH = "EXPIRE_BOTH"
    EXPIRE_MAKER = "EXPIRE_MAKER"


class NewUmOrderSideEnum(Enum):
    BUY = "BUY"
    SELL = "SELL"


class NewUmOrderTypeEnum(Enum):
    LIMIT = "LIMIT"
    MARKET = "MARKET"


class NewUmOrderPositionSideEnum(Enum):
    BOTH = "BOTH"
    LONG = "LONG"
    SHORT = "SHORT"


class NewUmOrderTimeInForceEnum(Enum):
    GTC = "GTC"
    IOC = "IOC"
    FOK = "FOK"
    GTX = "GTX"


class NewUmOrderNewOrderRespTypeEnum(Enum):
    ACK = "ACK"
    RESULT = "RESULT"


class NewUmOrderPriceMatchEnum(Enum):
    NONE = "NONE"
    OPPONENT = "OPPONENT"
    OPPONENT_5 = "OPPONENT_5"
    OPPONENT_10 = "OPPONENT_10"
    OPPONENT_20 = "OPPONENT_20"
    QUEUE = "QUEUE"
    QUEUE_5 = "QUEUE_5"
    QUEUE_10 = "QUEUE_10"
    QUEUE_20 = "QUEUE_20"


class NewUmOrderSelfTradePreventionModeEnum(Enum):
    NONE = "NONE"
    EXPIRE_TAKER = "EXPIRE_TAKER"
    EXPIRE_BOTH = "EXPIRE_BOTH"
    EXPIRE_MAKER = "EXPIRE_MAKER"


class QueryUsersCmForceOrdersAutoCloseTypeEnum(Enum):
    LIQUIDATION = "LIQUIDATION"
    ADL = "ADL"


class QueryUsersUmForceOrdersAutoCloseTypeEnum(Enum):
    LIQUIDATION = "LIQUIDATION"
    ADL = "ADL"
