<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flirting With Models &#187; financial numerical recipes</title>
	<atom:link href="http://coreyhoffstein.com/tag/financial-numerical-recipes/feed/" rel="self" type="application/rss+xml" />
	<link>http://coreyhoffstein.com</link>
	<description>musings on numerical computing and financial modeling</description>
	<lastBuildDate>Mon, 30 Aug 2010 21:53:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Numerical Financial Recipes in Objective Caml</title>
		<link>http://coreyhoffstein.com/2008/12/14/numerical-financial-recipes-in-objective-caml/</link>
		<comments>http://coreyhoffstein.com/2008/12/14/numerical-financial-recipes-in-objective-caml/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 16:49:33 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[financial numerical recipes]]></category>
		<category><![CDATA[ocaml]]></category>

		<guid isPermaLink="false">http://coreyhoffstein.com/?p=13</guid>
		<description><![CDATA[I wanted to work on a project using either Erlang or OCaml to get me back into the functional mindset.  I also wanted the project to be finance related, and preferably related to the strengths of the languages.  I tossed around the ideas of a order-matching system in Erlang, or a Monte-Carlo engine in OCaml, [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to work on a project using either Erlang or OCaml to get me back into the functional mindset.  I also wanted the project to be finance related, and preferably related to the strengths of the languages.  I tossed around the ideas of a order-matching system in Erlang, or a Monte-Carlo engine in OCaml, but ultimately time restraints have prevented me from tackling such (potentially) large scale projects.</p>
<p>Instead, I decided to translate <a href="http://finance.bi.no/~bernt/gcc_prog/recipes/recipes/recipes.html" target="_blank">Financial Numerical Recipes in C++</a> to Objective Caml.  My goal is to work through the examples in each chapter, and translate them to OCaml.  Hopefully, by the last chapter, I will have a better grasp of the &#8216;OCaml way.&#8217;</p>
<p>Without further adieu, here are the two chapters I have translated:</p>
<p><a href="http://coreyhoffstein.com/wp-content/uploads/2008/12/chapter_three_code.ml" target="_blank">Value of Time: Discrete Cash Flows</a><a href="http://coreyhoffstein.com/wp-content/uploads/2008/12/chapter_four_code.ml" target="_blank"><br />
Value of Time: Pricing Bonds with Discrete Cash Flows</a></p>
<p>Coding style comments are always welcome.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://coreyhoffstein.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://coreyhoffstein.com/2008/12/14/numerical-financial-recipes-in-objective-caml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
