unofficial_tabdeal_api.enums ============================ .. py:module:: unofficial_tabdeal_api.enums .. autoapi-nested-parse:: This module holds the enums. Classes ------- .. autoapisummary:: unofficial_tabdeal_api.enums.OrderState unofficial_tabdeal_api.enums.OrderSide unofficial_tabdeal_api.enums.MathOperation Module Contents --------------- .. py:class:: OrderState(*args, **kwds) Bases: :py:obj:`enum.Enum` Enum class to indicate the state of order. .. py:attribute:: PENDING :value: 1 .. py:attribute:: UNKNOWN_TWO :value: 2 .. py:attribute:: UNKNOWN_THREE :value: 3 .. py:attribute:: FILLED :value: 4 .. py:attribute:: CANCELED :value: 5 .. py:class:: OrderSide(*args, **kwds) Bases: :py:obj:`enum.Enum` Enum class to indicate the side of order. .. py:attribute:: BUY :value: 1 Buy order .. py:attribute:: SELL :value: 2 Sell order .. py:class:: MathOperation(*args, **kwds) Bases: :py:obj:`enum.Enum` Enum class to indicate the math operation. .. py:attribute:: ADD :value: 1 Addition .. py:attribute:: SUBTRACT :value: 2 Subtraction .. py:attribute:: MULTIPLY :value: 3 Multiplication .. py:attribute:: DIVIDE :value: 4 Division