Skip to content
Discussion options

You must be logged in to vote

This is an awesome tool you built! I'm wondering why how the first step involving importing the transactions work.

The function def InsertHistTransactions(start_date=datetime.datetime(2020,12,1)): seems like it's reading from an excel sheet and putting that data in MDB, right? What does the format of that excel sheet look like?

Also, about calculating portfolio returns, I saw you use the IRR method instead of Modified Dietz Return. How do you account for withdraws / deposits?

Hey Steve, Happy CNY! Yes you're right, the golden source of transactions are stored on an Excel spreadsheet. They are then inserted (or cached) into MongoDB so that the processes (calculations, plotting of charts,…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@wilsonleong
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by wilsonleong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants