Skip to content

Commit 745e133

Browse files
authored
Merge pull request #131 from molnarg/molnarg-patch-1
Fix typing in transaction_history()
2 parents 8c9a307 + e6f271d commit 745e133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibind/client/ibkr_client_mixins/portfolio_mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def all_periods(self: 'IbkrClient', account_ids: OneOrMany[str]) -> Result:
227227
return self.post('pa/allperiods', {'acctIds': account_ids})
228228

229229
@ensure_list_arg('account_ids', 'conids')
230-
def transaction_history(self: 'IbkrClient', account_ids: OneOrMany[str], conids: OneOrMany[str], currency: str, days: str = None) -> Result:
230+
def transaction_history(self: 'IbkrClient', account_ids: OneOrMany[str], conids: OneOrMany[str], currency: str, days: int = None) -> Result:
231231
"""
232232
Transaction history for a given number of conids and accounts. Types of transactions include dividend payments, buy and sell transactions, transfers.
233233

0 commit comments

Comments
 (0)