Added leverage enums

This commit is contained in:
Sam Germain
2021-08-05 23:23:02 -06:00
parent 797d7e5ce6
commit 241bfc409f
5 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from enum import Enum
class TradingMode(Enum):
"""
Enum to distinguish between
spot, margin, futures or any other trading method
"""
SPOT = "spot"
MARGIN = "margin"
FUTURES = "futures"