Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/models/portfolio_csv_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,10 +987,13 @@ def cumulative_split_factor(ticker, from_date, to_date):

sec = self.securities.get(ticker)

first_purchase = first_purchase_dates.get(ticker)

results.append({
'ticker': ticker,
'shares': qty,
'currency': currency,
'first_purchase_date': pd.Timestamp(first_purchase).date() if first_purchase else None,

# REPORTING COLUMNS (Native)
'current_price': current_price,
Expand Down