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 Excel. The main goal for the library is compatibility…

12

Bayesian inference in F# – Part IIa – A simple example – modeling Maia

Other parts: Part I – Background Part IIb – Finding Maia underlying attitude  Let’s start with a simple example: inferring the underlying attitude of a small baby by observing her actions. Let’s call this particular small baby Maia. People always asks her father if she is a ‘good’ baby or not. Her father started to…

2

Expression tree serialization code posted on Code Gallery

Luke and I worked on this last year for one week doing pair programming. It is a good sample of how you can serialize LINQ expression trees to xml. The sample includes these components: An Expression Tree serialization API: A general purpose XML serialization of Expression Trees. This should work over any expression tree –…

2

Bayesian inference in F# – Part I – Background

Other posts: Part IIa – A simple example – modeling Maia Part IIb – Finding Maia underlying attitude My interest in Bayesian inference comes from my dissatisfaction with ‘classical’ statistics. Whenever I want to know something, for example the probability that an unknown parameter is between two values, ‘classical’ statistics seems to answer a different…

8

Luca presenting F# at PDC 2008

Next Thursday at 1.45pm I will present "An introduction to Microsoft F#" at PDC 2008. If you are there, please stop by or drop by the lounge area to chat. There are a bunch of other great sessions from my team. They are all good (I swear I tried to format John’s session correctly, but…

5

Downloading stock prices in F# – Part VI – Code posted

Other parts: Part I – Data modeling Part II – Html scraping Part III – Async loader for prices and divs Part IV – Async loader for splits Part V – Adjusting historical data An unnamed friend told me that I should stop posting small snippets of code and instead post entire solutions on CodeGallery….

3

Downloading stock prices in F# – Part V – Adjusting historical data

Other parts: Part I – Data modeling Part II – Html scraping Part III – Async loader for prices and divs Part IV – Async loader for splits Part VI – Code posted  Here is the problem. When you download prices/divs/splits from Yahoo you get a strange mix of historical numbers and adjusted numbers. To…

2

Downloading stock prices in F# – Part IV – Async loader for splits

Other parts: Part I – Data modeling Part II – Html scraping Part III – Async loader for prices and divs Part V – Adjusting historical data Part VI – Code posted Downloading splits is a messy affair. The problem is that Yahoo doesn’t give you  a nice comma-delimitated stream to work with. You have…

2

Downloading stock prices in F# – Part III – Async loader for prices and divs

Other parts: Part I – Data modeling Part II – Html scraping Part IV – Async loader for splits Part V – Adjusting historical data Part VI – Code posted It is now time to load our data. There is a bit of uninteresting code to start with, but things get interesting afterward. Let’s start…

10