mirror of
https://github.com/wassname/options_backtester.git
synced 2026-07-12 07:29:02 +08:00
6 lines
156 B
Python
6 lines
156 B
Python
# Option Enum types
|
|
from enum import Enum
|
|
|
|
Type = Enum("Type", {"CALL": "call", "PUT": "put"})
|
|
Direction = Enum("Direction", {"BUY": "ask", "SELL": "bid"})
|