2021-08-06 05:23:02 +00:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
2022-02-01 18:53:38 +00:00
|
|
|
class MarginMode(Enum):
|
2021-08-06 05:23:02 +00:00
|
|
|
"""
|
2021-11-09 18:22:29 +00:00
|
|
|
Enum to distinguish between
|
2022-02-01 18:53:38 +00:00
|
|
|
cross margin/futures margin_mode and
|
|
|
|
isolated margin/futures margin_mode
|
2021-08-06 05:23:02 +00:00
|
|
|
"""
|
|
|
|
CROSS = "cross"
|
|
|
|
ISOLATED = "isolated"
|