Skip to content

Commit

Permalink
fix: add activity types (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiohiohio authored Aug 26, 2024
1 parent 10dbe05 commit b5e13cd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions alpaca/trading/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class ActivityType(str, Enum):
FILL = "FILL"
ACATC = "ACATC"
ACATS = "ACATS"
CFEE = "CFEE"
CIL = "CIL"
CSD = "CSD"
CSW = "CSW"
Expand All @@ -21,15 +22,30 @@ class ActivityType(str, Enum):
DIVNRA = "DIVNRA"
DIVROC = "DIVROC"
DIVTXEX = "DIVTXEX"
DIVWH = "DIVWH"
EXTRD = "EXTRD"
FEE = "FEE"
FXTRD = "FXTRD"
INT = "INT"
INTPNL = "INTPNL"
JNLC = "JNLC"
JNLS = "JNLS"
MA = "MA"
MEM = "MEM"
NC = "NC"
OCT = "OCT"
OPASN = "OPASN"
OPCSH = "OPCSH"
OPEXC = "OPEXC"
OPEXP = "OPEXP"
OPTRD = "OPTRD"
PTC = "PTC"
REORG = "REORG"
SPIN = "SPIN"
SPLIT = "SPLIT"
SWP = "SWP"
VOF = "VOF"
WH = "WH"

def is_trade_activity(self) -> bool:
"""
Expand Down

0 comments on commit b5e13cd

Please sign in to comment.