Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » C# Programming » Financial   (RSS)

Financial Functions for .NET released !

Today I released the following library on CodeGallery. It is the result of three months of coding during my paternity leave in Italy. You can get it from here . What is it? This is a .NET library that provides the full set of financial functions from
Posted by lucabol | 12 Comments
Filed under: , ,

Bisection-based XIRR implementation in C#

Here is a quick implementation of XIRR (using Excel nomenclature) written in C#. Disclaimer : this is a super simple Bisection-based implementation. People tend to prefer the Newton method, but this is simpler and works for the app I'm writing. I decided
Posted by lucabol | 1 Comments

Parsing QIF Quicken files in C#

I'm slightly prouder of the structure of this code than the one in the previous blog post . You can simply inherit from QIFParserBase and override a couple of abstract methods to customize the behavior. Still, I just tested it on a couple of test QIF
Posted by lucabol | 1 Comments
Attachment(s): ParseQIF.zip

Retrieve prices, dividends and splits for a stock in C#

I wrote this code very quickly and I'm kind of ashamed of it, but it gets the job done (I think). You need the HTML Agility Pack for the stock splits retrieving code. You can download it from here or you can simply comment out the code. I wrote it against
Posted by lucabol | 0 Comments
Attachment(s): PriceRetriever.zip

A trading/portfolio management Excel Add-in based on the books by Ralph Vince

This one is an Excel add-in that adds functions to Excel to analyze your trading and manage your portfolio. Notice that I'm not a professional trader or statistician, so the whole thing could be wrong, buggy or conceptually absurd. Probably it is all of the above. I used the extremely good ExcelDna to write the add-in. You need to download it and follow the instructions in HowToInstall.txt on the attached zip file to use it. I based the formulas mainly on the work of Ralph Vince. Please buy and read his books on money management as they are wonderful.
Posted by lucabol | 3 Comments
Attachment(s): TradingLibrary.zip
 
Page view tracker