enums
Enums
Enum classes for the Bit24 API.
Enums
HTTPMethod
: HTTP methods.WithoutIrt
: Without IRT.WithoutZero
: Without zero.TransactionType
: Transaction type.CoinType
: Coin type.ReasonType
: Reason type.BalanceStatus
: Balance status.OrderType
: Order type.OrderCategoryType
: Order category type.OrderStatus
: Order status.IsTrade
: Is trade.
BalanceStatus
Bases: StrEnum
Balance status.
Attributes:
Name | Type | Description |
---|---|---|
IN_PROGRESS |
str
|
In progress. |
COMPLETED |
str
|
Completed. |
Examples:
Source code in src/bit24/enums.py
CoinType
Bases: StrEnum
Coin type.
Attributes:
Name | Type | Description |
---|---|---|
CRYPTO |
str
|
Crypto. |
FIAT |
str
|
Fiat. |
Examples:
Source code in src/bit24/enums.py
HTTPMethod
Bases: StrEnum
HTTP methods.
Attributes:
Name | Type | Description |
---|---|---|
GET |
str
|
GET. |
POST |
str
|
POST. |
PUT |
str
|
PUT. |
DELETE |
str
|
DELETE. |
PATCH |
str
|
PATCH. |
Examples:
Source code in src/bit24/enums.py
IsTrade
Bases: StrEnum
Is trade.
Attributes:
Name | Type | Description |
---|---|---|
ORDER |
str
|
Order. |
TRADE |
str
|
Trade. |
Examples:
Source code in src/bit24/enums.py
OrderCategoryType
Bases: StrEnum
Order category type.
Attributes:
Name | Type | Description |
---|---|---|
LIMIT |
str
|
Limit. |
MARKET |
str
|
Market. |
STOP_LIMIT_OR_STOP_MARKET |
str
|
Stop limit or stop market. |
OCO |
str
|
OCO. |
Examples:
Source code in src/bit24/enums.py
OrderStatus
Bases: StrEnum
Order status.
Attributes:
Name | Type | Description |
---|---|---|
OPEN |
str
|
Open. |
DONE_OR_CANCELLED |
str
|
Done or cancelled. |
Examples:
Source code in src/bit24/enums.py
OrderType
Bases: StrEnum
Order type.
Attributes:
Name | Type | Description |
---|---|---|
SELL |
Sell. |
|
BUY |
Buy. |
Examples:
Source code in src/bit24/enums.py
ReasonType
Bases: StrEnum
Reason type.
Attributes:
Name | Type | Description |
---|---|---|
DEPOSIT |
str
|
Deposit. |
WITHDRAWAL |
str
|
Withdrawal. |
PROFESSIONAL_TRADING |
str
|
Professional trading. |
PROFESSIONAL_TRADING_REFERRAL_COMMISSION |
str
|
Professional trading referral commission. |
INSTANT_TRADING |
str
|
Instant trading. |
SUPPORT |
str
|
Support. |
DEPOSIT_WITH_PAYMENT_ID |
str
|
Deposit with payment ID. |
GIFT_CODE |
str
|
Gift code. |
INSTANT_TRADING_REFERRAL_COMMISSION |
str
|
Instant trading referral commission. |
REFERRAL_COMMISSION |
str
|
Referral commission. |
SMALL_ASSET_TRADING |
str
|
Small asset trading. |
Examples:
Source code in src/bit24/enums.py
StrEnum
Bases: str
, Enum
Enum class for older Python versions
Source code in src/bit24/enums.py
__repr__()
TransactionType
Bases: StrEnum
Transaction type.
Attributes:
Name | Type | Description |
---|---|---|
DECREASING |
str
|
Decreasing. |
INCREASING |
str
|
Increasing. |
Examples:
Source code in src/bit24/enums.py
WithoutIrt
Bases: StrEnum
Without IRT.
Attributes:
Name | Type | Description |
---|---|---|
ALL |
str
|
All. |
WITHOUT_IRT |
str
|
Without IRT. |
Examples:
Source code in src/bit24/enums.py
WithoutZero
Bases: StrEnum
Without zero.
Attributes:
Name | Type | Description |
---|---|---|
ALL |
str
|
All. |
WITHOUT_ZERO |
str
|
Without zero. |
Examples: