Skip to content

Commit

Permalink
Merge pull request #81 from pstinner/enhancements
Browse files Browse the repository at this point in the history
TBILLMATURIOTY Type to enums.Reorg, netCashInBase to AssetSummary
  • Loading branch information
csingley authored Aug 12, 2024
2 parents 2a745b7 + d54f824 commit 1e299db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ibflex/Types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,7 @@ class AssetSummary(FlexElement):
ibCommission: Optional[decimal.Decimal] = None
ibCommissionCurrency: Optional[str] = None
netCash: Optional[decimal.Decimal] = None
netCashInBase: Optional[decimal.Decimal] = None
buySell: Optional[enums.BuySell] = None
quantity: Optional[decimal.Decimal] = None
price: Optional[decimal.Decimal] = None
Expand Down
2 changes: 2 additions & 0 deletions ibflex/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"DeliveredReceived",
"ENUMS",
"EnumType",
"PutCall"
]

import enum
Expand Down Expand Up @@ -203,6 +204,7 @@ class Reorg(str, enum.Enum):
MERGER = "TC"
TENDERISSUE = "TI"
TENDER = "TO"
TBILLMATURITY = "TM"


@enum.unique
Expand Down

0 comments on commit 1e299db

Please sign in to comment.