mirror of
https://github.com/wassname/options_backtester.git
synced 2026-09-12 12:40:22 +08:00
Moved Order enum to signal module. Created Signal (ENTRY | EXIT) enum.
This commit is contained in:
@@ -3,10 +3,3 @@ from enum import Enum
|
||||
|
||||
Type = Enum("Type", {"CALL": "call", "PUT": "put"})
|
||||
Direction = Enum("Direction", {"BUY": "ask", "SELL": "bid"})
|
||||
|
||||
# Orders:
|
||||
# BTO: Buy to Open
|
||||
# BTC: Buy to Close
|
||||
# STO: Sell to Open
|
||||
# STC: Sell to Close
|
||||
Order = Enum("Order", "BTO BTC STO STC")
|
||||
|
||||
Reference in New Issue
Block a user