<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Implementing Hanson&#039;s Market Maker</title>
	<atom:link href="http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/</link>
	<description>Musings of a computer scientist and Yahoo on prediction markets, gambling, and estimating the odds of everything</description>
	<lastBuildDate>Fri, 12 Mar 2010 02:39:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Pennock</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-646</link>
		<dc:creator>David Pennock</dc:creator>
		<pubDate>Thu, 06 Aug 2009 15:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-646</guid>
		<description>Jackie, choosing b is more art than science, especially if it&#039;s play money. Too high b and the price doesn&#039;t change enough as people bet. Too low b and the liquidity is too low. It does depend on the number of players and the amount of play money they have. &lt;a href=&quot;http://blog.commerce.net/?p=251&quot; rel=&quot;nofollow&quot;&gt;Chris Hibbert suggests&lt;/a&gt; having a fairly small b and then integrating an order book together with the market maker. That may complicate the user interface though.</description>
		<content:encoded><![CDATA[<p>Jackie, choosing b is more art than science, especially if it&#8217;s play money. Too high b and the price doesn&#8217;t change enough as people bet. Too low b and the liquidity is too low. It does depend on the number of players and the amount of play money they have. <a href="http://blog.commerce.net/?p=251" rel="nofollow">Chris Hibbert suggests</a> having a fairly small b and then integrating an order book together with the market maker. That may complicate the user interface though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackie</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-639</link>
		<dc:creator>Jackie</dc:creator>
		<pubDate>Wed, 05 Aug 2009 02:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-639</guid>
		<description>Hello David,

Very good explanation of Hanson&#039;s scoring rule. Have couple of questions: 1) How do you chosse a value for b for a given market. Does it depend on the market size (i.e number of participants?). I understand your explanation that it controls the maximum money that the market maker can loose (for a 2 outcome case it is b* ln2). So, for example, if I set b = 100, then the max loss = $69, if I choose b = 50, the max loss = $34.5; How do i know which value is correct, because &quot;b&quot; also impacts the price functions? Does it depend on the initial play money?     2) How to choose the correct initial play money for a market?

Thank you.</description>
		<content:encoded><![CDATA[<p>Hello David,</p>
<p>Very good explanation of Hanson&#8217;s scoring rule. Have couple of questions: 1) How do you chosse a value for b for a given market. Does it depend on the market size (i.e number of participants?). I understand your explanation that it controls the maximum money that the market maker can loose (for a 2 outcome case it is b* ln2). So, for example, if I set b = 100, then the max loss = $69, if I choose b = 50, the max loss = $34.5; How do i know which value is correct, because &#8220;b&#8221; also impacts the price functions? Does it depend on the initial play money?     2) How to choose the correct initial play money for a market?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunwoo</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-584</link>
		<dc:creator>Sunwoo</dc:creator>
		<pubDate>Thu, 23 Jul 2009 10:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-584</guid>
		<description>Thanks David, it was very helpful.

I am writing a research paper on www.Hubdub.com, and I&#039;m still confused on how they calculate their Payments, outcome Percentage etc. for Hubdub $$.

I was wondering if you could spare a few minutes and check out Hubdub, and briefly explain to how their system works.

Again, thank you.</description>
		<content:encoded><![CDATA[<p>Thanks David, it was very helpful.</p>
<p>I am writing a research paper on <a href="http://www.Hubdub.com" rel="nofollow">http://www.Hubdub.com</a>, and I&#8217;m still confused on how they calculate their Payments, outcome Percentage etc. for Hubdub $$.</p>
<p>I was wondering if you could spare a few minutes and check out Hubdub, and briefly explain to how their system works.</p>
<p>Again, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Pennock</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-572</link>
		<dc:creator>David Pennock</dc:creator>
		<pubDate>Mon, 20 Jul 2009 16:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-572</guid>
		<description>Sunwoo: thanks glad it was useful. You might benefit from this exchange I had over email:

Frederic wrote:

&gt; I recently stumbled upon your article &quot;Implementing Hanson&#039;s Market
&gt; Maker &quot; which was really interesting (I had read both Hanson&#039;s
&gt; articles and couldn&#039;t really figure out everything it contained, nor
&gt; extract the &#039;implementation guides&#039; I would have wanted).
&gt; 
&gt; I have a few questions, though, and would be glad if you could spare a
&gt; few minutes to answer me (I know that the article is already almost 3
&gt; years old).
&gt; 
&gt; Basically, the cost function is C = b * ln(exp(q1)/b+exp(q2)/b)
&gt; 
&gt; - Would this generalize, for n outcomes to C = b *
&gt; ln(exp(q1)/b+exp(q2)/b+exp(q3)/b+...+exp(qn)/b)?
&gt; - If a trader sells short some shares for q1, does this mean that, in
&gt; fact, the amount of q2 will increase? (or q2,q3, ... in the
&gt; generalized case?) Because I don&#039;t see negative values in your example
&gt; (and negative values will just make the exp(q1) close to 0). Or is the
&gt; short selling forbidden by this model?

I answered:

* Yes, it generalizes easily and I believe that&#039;s the correct formula (didn&#039;t check completely). See this book chapter for the exact formula: http://blog.oddhead.com/2007/09/17/computational-aspects-of-prediction-markets-book-chapter-and-extended-bibliography/

* &quot;short&quot; selling is a poor concept for a standard type of prediction market where each winning share pays $1 (or any fixed amount). It&#039;s much clearer to think of &quot;buy not q1&quot; rather than &quot;short sell q1&quot;. It&#039;s perfectly fine to &quot;buy not q1&quot; which is equivalent to &quot;buy q2, q3, q4, etc.&quot; for all securities. See: http://blog.oddhead.com/2009/03/17/kiss-prediction-market-lingo-goodbye/</description>
		<content:encoded><![CDATA[<p>Sunwoo: thanks glad it was useful. You might benefit from this exchange I had over email:</p>
<p>Frederic wrote:</p>
<p>> I recently stumbled upon your article &#8220;Implementing Hanson&#8217;s Market<br />
> Maker &#8221; which was really interesting (I had read both Hanson&#8217;s<br />
> articles and couldn&#8217;t really figure out everything it contained, nor<br />
> extract the &#8216;implementation guides&#8217; I would have wanted).<br />
><br />
> I have a few questions, though, and would be glad if you could spare a<br />
> few minutes to answer me (I know that the article is already almost 3<br />
> years old).<br />
><br />
> Basically, the cost function is C = b * ln(exp(q1)/b+exp(q2)/b)<br />
><br />
> &#8211; Would this generalize, for n outcomes to C = b *<br />
> ln(exp(q1)/b+exp(q2)/b+exp(q3)/b+&#8230;+exp(qn)/b)?<br />
> &#8211; If a trader sells short some shares for q1, does this mean that, in<br />
> fact, the amount of q2 will increase? (or q2,q3, &#8230; in the<br />
> generalized case?) Because I don&#8217;t see negative values in your example<br />
> (and negative values will just make the exp(q1) close to 0). Or is the<br />
> short selling forbidden by this model?</p>
<p>I answered:</p>
<p>* Yes, it generalizes easily and I believe that&#8217;s the correct formula (didn&#8217;t check completely). See this book chapter for the exact formula: <a href="http://blog.oddhead.com/2007/09/17/computational-aspects-of-prediction-markets-book-chapter-and-extended-bibliography/" rel="nofollow">http://blog.oddhead.com/2007/09/17/computational-aspects-of-prediction-markets-book-chapter-and-extended-bibliography/</a></p>
<p>* &#8220;short&#8221; selling is a poor concept for a standard type of prediction market where each winning share pays $1 (or any fixed amount). It&#8217;s much clearer to think of &#8220;buy not q1&#8243; rather than &#8220;short sell q1&#8243;. It&#8217;s perfectly fine to &#8220;buy not q1&#8243; which is equivalent to &#8220;buy q2, q3, q4, etc.&#8221; for all securities. See: <a href="http://blog.oddhead.com/2009/03/17/kiss-prediction-market-lingo-goodbye/" rel="nofollow">http://blog.oddhead.com/2009/03/17/kiss-prediction-market-lingo-goodbye/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunwoo</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-563</link>
		<dc:creator>Sunwoo</dc:creator>
		<pubDate>Sun, 19 Jul 2009 17:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-563</guid>
		<description>Thanks David, this post helped me a lot.
However, I cannot implement your solution to Cost for multiple outcomes. For example, what would the Cost function be for a question like the following: &quot;Who will win the election, A B or C?&quot;

What will be the Cost function for three possible outcomes?</description>
		<content:encoded><![CDATA[<p>Thanks David, this post helped me a lot.<br />
However, I cannot implement your solution to Cost for multiple outcomes. For example, what would the Cost function be for a question like the following: &#8220;Who will win the election, A B or C?&#8221;</p>
<p>What will be the Cost function for three possible outcomes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleks Clark</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-62</link>
		<dc:creator>Aleks Clark</dc:creator>
		<pubDate>Mon, 04 May 2009 16:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-62</guid>
		<description>I don&#039;t think so, as it&#039;s not a mathematical change to the scoring rule, but a way to reduce the ranged problem into a form the scoring rule can understand.

Honestly I don&#039;t see much point in having market makers and order books, in the tests I&#039;ve written, everything is just &quot;the system&quot; and it takes buy and sell orders....I&#039;ve found that usually automated market makers end up taking nearly 100% of the orders, so having a book is pointless, and when playing with fake money, market liquidity is more important than &quot;loss&quot; by the market maker. If the market maker fills all orders according to a single mathematical rule, then it can never lose money (as far as I have been able to test, anyways...)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think so, as it&#8217;s not a mathematical change to the scoring rule, but a way to reduce the ranged problem into a form the scoring rule can understand.</p>
<p>Honestly I don&#8217;t see much point in having market makers and order books, in the tests I&#8217;ve written, everything is just &#8220;the system&#8221; and it takes buy and sell orders&#8230;.I&#8217;ve found that usually automated market makers end up taking nearly 100% of the orders, so having a book is pointless, and when playing with fake money, market liquidity is more important than &#8220;loss&#8221; by the market maker. If the market maker fills all orders according to a single mathematical rule, then it can never lose money (as far as I have been able to test, anyways&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Pennock</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-61</link>
		<dc:creator>David Pennock</dc:creator>
		<pubDate>Fri, 03 Apr 2009 19:54:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-61</guid>
		<description>Thanks Aleks. Fantastic. That is a great paper: extremely well written: clear and entertaining.

One question: will your procedure cause the market maker to have a risk of unbounded loss? This seems to be the trickiest part in moving toward a continuous version.

Thanks again: it&#039;s a great pleasure to have such things arrive on my doorstep.</description>
		<content:encoded><![CDATA[<p>Thanks Aleks. Fantastic. That is a great paper: extremely well written: clear and entertaining.</p>
<p>One question: will your procedure cause the market maker to have a risk of unbounded loss? This seems to be the trickiest part in moving toward a continuous version.</p>
<p>Thanks again: it&#8217;s a great pleasure to have such things arrive on my doorstep.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleks Clark</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-60</link>
		<dc:creator>Aleks Clark</dc:creator>
		<pubDate>Fri, 03 Apr 2009 13:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-60</guid>
		<description>I wrote a little paper about applying the LMSR to numerical outcomes, heavily based on this article&#039;s application of the LMSR:

http://built-it.net/srsr.pdf</description>
		<content:encoded><![CDATA[<p>I wrote a little paper about applying the LMSR to numerical outcomes, heavily based on this article&#8217;s application of the LMSR:</p>
<p><a href="http://built-it.net/srsr.pdf" rel="nofollow">http://built-it.net/srsr.pdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spread Betting King</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-59</link>
		<dc:creator>Spread Betting King</dc:creator>
		<pubDate>Wed, 25 Mar 2009 09:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-59</guid>
		<description>I have to admit, formulas scare me a little (ok, a LOT). But your examples make it a lot easier to get my head around this. Will have to bookmark and come back to another day! Thanks for the detailed explanation.</description>
		<content:encoded><![CDATA[<p>I have to admit, formulas scare me a little (ok, a LOT). But your examples make it a lot easier to get my head around this. Will have to bookmark and come back to another day! Thanks for the detailed explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Pennock</title>
		<link>http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/comment-page-1/#comment-58</link>
		<dc:creator>David Pennock</dc:creator>
		<pubDate>Wed, 30 Jul 2008 15:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-58</guid>
		<description>Thanks Mike. I believe that in practice discretization shouldn&#039;t be too much of a problem. You could for example discretize down to the nearest penny: I can&#039;t imagine wanting to place a bet at a finer grain than that. Then people can bet on whatever interval they think the Nokia price will fall into.</description>
		<content:encoded><![CDATA[<p>Thanks Mike. I believe that in practice discretization shouldn&#8217;t be too much of a problem. You could for example discretize down to the nearest penny: I can&#8217;t imagine wanting to place a bet at a finer grain than that. Then people can bet on whatever interval they think the Nokia price will fall into.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
