<?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>Midas Oracle .ORG &#187; Chris Hibbert</title>
	<atom:link href="http://www.midasoracle.org/author/chris-hibbert/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.midasoracle.org</link>
	<description>Prediction Markets, etc.</description>
	<lastBuildDate>Mon, 13 Feb 2012 22:24:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://www.midasoracle.org/?pushpress=hub'/>
		<item>
		<title>Zocalo in use at MIT&#8217;s Center for Collective Intelligence</title>
		<link>http://www.midasoracle.org/2008/08/29/zocalo-in-use-at-mits-center-for-collective-intelligence/</link>
		<comments>http://www.midasoracle.org/2008/08/29/zocalo-in-use-at-mits-center-for-collective-intelligence/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 01:44:56 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Best Posts Ever]]></category>
		<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Cases]]></category>
		<category><![CDATA[Collective Intelligence - Wisdom Of Crowds]]></category>
		<category><![CDATA[Consulting]]></category>
		<category><![CDATA[Exchanges & Markets]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[bet exchanges]]></category>
		<category><![CDATA[betting exchanges]]></category>
		<category><![CDATA[betting markets]]></category>
		<category><![CDATA[Collective Intelligence]]></category>
		<category><![CDATA[corporate prediction exchanges]]></category>
		<category><![CDATA[corporate prediction markets]]></category>
		<category><![CDATA[enterprise prediction exchanges]]></category>
		<category><![CDATA[enterprise prediction markets]]></category>
		<category><![CDATA[event derivative markets]]></category>
		<category><![CDATA[event derivatives]]></category>
		<category><![CDATA[internal prediction exchanges]]></category>
		<category><![CDATA[internal prediction markets]]></category>
		<category><![CDATA[MIT CCI]]></category>
		<category><![CDATA[MIT Center for Collective Intelligence]]></category>
		<category><![CDATA[MIT's Center for Collective Intelligence]]></category>
		<category><![CDATA[prediction exchanges]]></category>
		<category><![CDATA[prediction markets]]></category>
		<category><![CDATA[private prediction exchanges]]></category>
		<category><![CDATA[private prediction markets]]></category>
		<category><![CDATA[Tom Malone]]></category>
		<category><![CDATA[wisdom of crowds]]></category>
		<category><![CDATA[Zocalo]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/?p=8723</guid>
		<description><![CDATA[A few months ago I announced that my work on the Zocalo open source Prediction Market project is being supported by consulting contracts with two universities, but was unable to name the second one. I&#8217;m pleased to publicly announce that &#8230; <a href="http://www.midasoracle.org/2008/08/29/zocalo-in-use-at-mits-center-for-collective-intelligence/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A few months ago <a href="http://www.midasoracle.org/2008/05/02/zocalo-news/">I announced</a> that my work on the <a href="http://zocalo.sourceforge.net">Zocalo open source Prediction Market</a> project  is being supported by consulting contracts with two universities, but was unable to name the second one.  I&#8217;m pleased to publicly announce that I&#8217;ve been working with Tom Malone of MIT&#8217;s <a href="http://cci.mit.edu/">Center for Collective Intelligence</a>.  Tom has been working in market-based systems for <a href="http://ccs.mit.edu/malone/publications.html">quite some time</a>, going back to an agoric task-scheduling system called Enterprise that he described in Bernardo Huberman&#8217;s &#8220;Ecology of Computation&#8221;.  He&#8217;s been promoting prediction markets for several years as well, including in his book <a href="http://books.google.com/books?hl=en&amp;id=WZL9LuUZgYUC">The Future of Work</a>.</p>
<p><strong><a href="http://zocalo.sourceforge.net">Zocalo</a> is playing a key role at MIT&#8217;s <a href="http://cci.mit.edu/">Center for Collective Intelligence</a>, where they are investigating a variety of approaches to connect people and computers so thatâ€”collectivelyâ€”they act more intelligently.</strong> We&#8217;re integrating <a href="http://zocalo.svn.sourceforge.net/viewvc/zocalo/trunk/devel/src/net/commerce/zocalo/rpc/">independent agents</a> into prediction markets with human participants to see what subject areas and what market mechanisms lead to markets in which both people and autonomous software contribute to improved predictions.  The project involves <a href="http://cci.mit.edu/people/index.html">several professors from the Sloan School, the Media lab, Cognitive Science, CSAIL</a>, and a knowledgable and capable group of grad students and undergrads.  The local Boston press got wind of some of <a href="http://thephoenix.com/Boston/RecRoom/64241-Collective-effort/">the experiments</a> and wrote it up.</p>
<p>The project is <a href="http://cci.mit.edu/about/sponsors.html">sponsored</a> by <a href="http://mit.edu">MIT</a> with funding from <a href="http://www.ll.mit.edu/">Lincoln Laboratory</a> and the Air Force.  No official endorsement from those organizations should be inferred.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2008/08/29/zocalo-in-use-at-mits-center-for-collective-intelligence/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>CFTC Oversight May Not be a Boon.</title>
		<link>http://www.midasoracle.org/2008/05/03/6803/</link>
		<comments>http://www.midasoracle.org/2008/05/03/6803/#comments</comments>
		<pubDate>Sat, 03 May 2008 19:06:06 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Best Posts Ever]]></category>
		<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Analysis (Industry)]]></category>
		<category><![CDATA[Exchanges & Markets]]></category>
		<category><![CDATA[Regulations]]></category>
		<category><![CDATA[BetFair]]></category>
		<category><![CDATA[CFTC]]></category>
		<category><![CDATA[Chris Hibbert]]></category>
		<category><![CDATA[DAVE PENNOCK]]></category>
		<category><![CDATA[David Pennock]]></category>
		<category><![CDATA[event derivative markets]]></category>
		<category><![CDATA[event derivatives]]></category>
		<category><![CDATA[event futures markets]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[laws]]></category>
		<category><![CDATA[prediction markets]]></category>
		<category><![CDATA[public prediction markets]]></category>
		<category><![CDATA[public relations problems]]></category>
		<category><![CDATA[socially valuable prediction markets]]></category>
		<category><![CDATA[TradeSports]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/?p=6803</guid>
		<description><![CDATA[I want to quibble with one of Dave Pennock&#8217;s comments on the CFTC request. Pennock wrote &#8220;It&#8217;s not often that an industry in its infancy cries out for more government oversight.&#8221; It&#8217;s actually quite common. The term in the economics &#8230; <a href="http://www.midasoracle.org/2008/05/03/6803/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I want to quibble with one of Dave Pennock&#8217;s <a href="http://blog.oddhead.com/2008/05/02/a-historic-mayday-the-us-governments-call-for-help-on-regulating-prediction-markets/">comments</a> on the CFTC request.  <strong>Pennock wrote &#8220;It&#8217;s not often that an industry in its infancy cries out for more government oversight.&#8221;</strong></p>
<p>It&#8217;s actually quite common.  The term in the economics literature that includes this is <a href="http://en.wikipedia.org/wiki/Regulatory_capture">regulatory capture</a>.  When there&#8217;s a regulatory body specific to a particular industry, it&#8217;s very common for industry to be the major source of expertise in the area, and so for the regulators to be reasonably friendly with the businesses.  The businesses can work for regulation that limits entry, and cuts down on competition that reduces profits, and they can work together to ensure that public relations problems are addressed in a cohesive way.  But cutting down on competition often means fewer choices for consumers by way of tighter controls on what products are offered.</p>
<p>In our case, <strong>the thing I worry about is a narrow ruling that only &#8220;socially valuable&#8221; questions can be asked, and an expensive process for deciding what innovative questions can be posed.</strong> It seems likely that some interests will work to ensure that sports and entertainment questions be declared off-limits. The companies that have the strongest interest in fighting that faction are mostly persona non grata in the CFTC&#8217;s eyes, since they currently operate outside the law (<a href="http://tradesports.com">TradeSports</a>) or outside the country (<a href="http://betfair.com/">BetFair</a>).</p>
<p>The narrower the set of approved questions, or the more expensive the process of getting approval, the less chance that markets will be commercially successful.  I think the experiments within companies have indicated (though not proven) that a mix of valuable and popular claims is necessary in order to attract continuing participation.</p>
<p>My biggest worry about fighting for CFTC regulation at this point is that they&#8217;ll approve something narrow, and this won&#8217;t produce enough successes to demonstrate that loosening the restrictions over time would be beneficial.  <strong>The alternative is to continue to find ways to introduce markets under the radar and demonstrate their value to the academic audience, which could lead to a friendlier hearing in a more distant future after prediction markets have demonstrated social value and little risk of harm.</strong></p>
<p>Of course the other likely outcome is that the novel experiments don&#8217;t happen because of the threat of litigation or regulation.  But that seems unlikely given the growth in internal markets within companies.  <strong>I think there&#8217;s more likelihood of long-term success without regulation than with it, and we&#8217;re better off waiting until the chances that the regulations will provide a broad approval are significantly higher.</strong></p>
<p>(Cross-posted from <a href="http://pancrit.org/2008/05/cftc-requests-input-on-regulating.html">pancrit.org</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2008/05/03/6803/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Zocalo News</title>
		<link>http://www.midasoracle.org/2008/05/02/zocalo-news/</link>
		<comments>http://www.midasoracle.org/2008/05/02/zocalo-news/#comments</comments>
		<pubDate>Fri, 02 May 2008 19:36:49 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Consulting]]></category>
		<category><![CDATA[Exchanges & Markets]]></category>
		<category><![CDATA[Jobs - Careers - Hiring]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[California]]></category>
		<category><![CDATA[Chapman University]]></category>
		<category><![CDATA[Chris Hibbert]]></category>
		<category><![CDATA[Chris Masse]]></category>
		<category><![CDATA[corporate prediction markets]]></category>
		<category><![CDATA[Dave Porter]]></category>
		<category><![CDATA[enterprise prediction markets]]></category>
		<category><![CDATA[event derivative markets]]></category>
		<category><![CDATA[event derivatives]]></category>
		<category><![CDATA[George Mason University]]></category>
		<category><![CDATA[internal prediction markets]]></category>
		<category><![CDATA[market-related software systems]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[open-source software]]></category>
		<category><![CDATA[Orange County]]></category>
		<category><![CDATA[Prediction Market Software]]></category>
		<category><![CDATA[prediction markets]]></category>
		<category><![CDATA[private prediction markets]]></category>
		<category><![CDATA[Professor]]></category>
		<category><![CDATA[software for prediction markets]]></category>
		<category><![CDATA[Zocalo]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/?p=6793</guid>
		<description><![CDATA[Chris Masse has asked me a few times about what I&#8217;m working on, and what my plans are for Zocalo. I have been working on development of Zocalo since 2004, including a period of 18 months as a Research Fellow &#8230; <a href="http://www.midasoracle.org/2008/05/02/zocalo-news/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Chris Masse has asked me a few times about what I&#8217;m working on, and what my plans are for Zocalo.  I have been working on development of <a href="http://zocalo.sourceforge.net/">Zocalo</a> since 2004, including a period of 18 months as a Research Fellow at <a href="http://commerce.net/">CommerceNet</a>.  I&#8217;ve been busy with personal matters for much of the last 8 months (a major home remodel), so I wasn&#8217;t able to put in as much time as I&#8217;d have liked recently, but I&#8217;ve been  working on the code again full-time for about two months.</p>
<p>I&#8217;m pleased to be able to say that I have two consulting contracts at this point.  I&#8217;m working with a group at <a href="http://www.chapman.edu/">Chapman University</a> and another university I&#8217;m not allowed to mention in public announcements.  The Chapman team is led by <a href="http://search.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=332057">Dave Porter</a>, who I worked with while he was <a href="http://www.ices-gmu.org/porter.htm">at George Mason University</a>.  Most of the Experimentalists from the GMU Economics department have moved (or are in the process of moving) to <a href="http://www.chapman.edu/ESI/">Chapman</a> in Orange County, California.  Dave has been using Zocalo for economics experiments since 2005, while I was at CommerceNet.  He has plans (and budget) to expand Zocalo to support a variety of experiments that he&#8217;d like to do.  The software continues to be used at George Mason as well.</p>
<p>The other group is probably familiar to most of you, though my contract says I can&#8217;t use their name for publicity without approval (which they didn&#8217;t give).  Suffice it to say, I&#8217;m happy to be working with this group; the professor in charge has been working on market-related software systems for almost 20 years.</p>
<p>These consulting contracts support my continued development of Zocalo, and both groups are fully supportive of the open source approach.  Having these groups actively working with the software, requesting changes, and reviewing progress will contribute substantially to the usefulness and usability of the code.  The fact that one group is working with the experiment configuration and the other with the prediction markets ensures that both will continue to be enhanced and get more robust as they are being used.</p>
<p>This announcement is being cross-posted to my blog: <a href="http://pancrit.blogspot.com/2008/05/zocalo-news.html">pancrit.org</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2008/05/02/zocalo-news/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pennock &amp; Sami on &#8220;Computational aspects of prediction markets&#8221;</title>
		<link>http://www.midasoracle.org/2007/09/19/computationalaspects/</link>
		<comments>http://www.midasoracle.org/2007/09/19/computationalaspects/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 23:26:57 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Best Posts Ever]]></category>
		<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Analysis (Industry)]]></category>
		<category><![CDATA[Analysis (Meta)]]></category>
		<category><![CDATA[Inventions & Innovations]]></category>
		<category><![CDATA[Market Makers (Automated)]]></category>
		<category><![CDATA[Mechanism Designs]]></category>
		<category><![CDATA[auctioneer]]></category>
		<category><![CDATA[DAVE PENNOCK]]></category>
		<category><![CDATA[polynomial matching algorithms]]></category>
		<category><![CDATA[Rahul Sami]]></category>
		<category><![CDATA[San Diego]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/2007/09/19/computationalaspects/</guid>
		<description><![CDATA[Dave Pennock and Rahul Sami have written a book chapter on Computational Aspects of Prediction Markets. It focuses on computability and complexity issues in markets that handle combination, conditional and compound orders. The article talks about the costs for the &#8230; <a href="http://www.midasoracle.org/2007/09/19/computationalaspects/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dave Pennock and Rahul Sami have written a book chapter on <a href="http://blog.oddhead.com/2007/09/17/computational-aspects-of-prediction-markets-book-chapter-and-extended-bibliography/" title=" Computational aspects of prediction markets: Book chapter and extended bibliography">Computational Aspects of Prediction Markets</a>.  It focuses on computability and complexity issues in markets that handle combination, conditional and compound orders.  The article talks about the costs for the auctioneer, and presents the Logarithmic Market Scoring Rule and the Dynamic Parimutuel Auction as two feasible approaches to offering combination or compound markets.</p>
<p>The article is written for (and probably only accessible to) people who understand the language of computability and complexity theory.  It does review the economic principles underlying prediction market mechanisms beyond call auctions and the double auction, but only sufficiently to introduce them to Computer Science people who are new to this application area.</p>
<p>The chapter closes with a list of open questions, and I&#8217;d like to highlight a couple of them:</p>
<ol>
<li>&#8220;Are there less expressive bidding languages that admit polynomial matching algorithms yet are still practically useful and interesting?&#8221;  <strong>If someone can find a feasible mechanism that supports an interesting subset of a complete combinatorial or conditional claims, we could run markets that provide answers to much more interesting questions.</strong></li>
<li>The idea of <a href="http://dpennock.com/papers/chen-ec-2007-betting-on-permutations.pdf">betting on outcome permutations</a> is intriguing. (Apparently I missed this paper <a href="http://www.midasoracle.org/2007/06/30/the-second-workshop-on-prediction-markets/" title="The Second Workshop on Prediction Markets">at the recent conference in San Diego</a>.)</li>
<li>&#8220;What is the complexity of finding a match between a single new order and a set of old orders known to have no matches among them?&#8221;  I&#8217;m more interested in finding cheap solutions or new ways to pose the problem that are more tractable, but determining the complexity is the first step in the crowd Sami and Pennock are talking to.</li>
<li>&#8220;The model in Section 1.5 directly assumes that agents bid truthfully. Is there a tractable model that assumes only rationality and solves for the resulting game-theoretic solution strategy?&#8221;  <strong>Wouldn&#8217;t  proving incentive compatibility be sufficient to establish that rational agents would bid truthfully?</strong>  I expect LMSR to be incentive compatible, though I don&#8217;t know how hard the proof is.  I have a vaguer feeling that the Dynamic Parimutuel might also be incentive compatible, though I think the fact that the price isn&#8217;t directly a probability makes the link more tenuous.</li>
</ol>
<p>I hope the inclusion of this chapter in what appears to be a broad work on computability, efficiency, and algorithm design in games, negotiations, markets, and networks will lead to new ideas that will expand the set of alternative market designs we can make use of.  (I have linked to the chapter above; if you want to download the whole book, <a href="http://blog.oddhead.com/2007/09/17/computational-aspects-of-prediction-markets-book-chapter-and-extended-bibliography/" title="Computational Aspects of Prediction Markets">Pennock&#8217;s blog</a> contains the password that you&#8217;ll need.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2007/09/19/computationalaspects/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Market Makers for Multi-Outcome Markets</title>
		<link>http://www.midasoracle.org/2007/09/10/market-makers-for-multi-outcome-markets/</link>
		<comments>http://www.midasoracle.org/2007/09/10/market-makers-for-multi-outcome-markets/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 23:35:08 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Best Posts Ever]]></category>
		<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Analysis (Meta)]]></category>
		<category><![CDATA[Explainers]]></category>
		<category><![CDATA[Market Makers (Automated)]]></category>
		<category><![CDATA[Mechanism Designs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[laboratory tool]]></category>
		<category><![CDATA[market makers]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[order systems]]></category>
		<category><![CDATA[prediction markets]]></category>
		<category><![CDATA[Prime Minister]]></category>
		<category><![CDATA[Robin Hanson]]></category>
		<category><![CDATA[short sales model]]></category>
		<category><![CDATA[the trader]]></category>
		<category><![CDATA[Trader]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/2007/09/10/market-makers-for-multi-outcome-markets/</guid>
		<description><![CDATA[Previous articles in this series have discussed market makers and how they differ from book order markets, how to improve Liquidity in multi-Outcome claims, and how to integrate a Market Maker into Book order systems. But none of those talked &#8230; <a href="http://www.midasoracle.org/2007/09/10/market-makers-for-multi-outcome-markets/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Previous articles in this series have discussed <a href="http://blog.commerce.net/?p=251">market makers</a> and how they differ from book order markets, how to improve <a href="http://blog.commerce.net/?p=261">Liquidity in multi-Outcome claims</a>, and <a href="http://pancrit.org/2007/01/integrating-book-orders-and-market.html"> how to integrate a Market Maker</a> into Book order systems.  But none of those talked in any detail about how a multi-outcome market maker coordinates prices and probabilities.  Those details turn out to be important for an upcoming article on Combinatorial Markets, so I&#8217;ll go through them carefully here.</p>
<p>Researchers use scoring rules as a laboratory tool to convince people to reveal their true expectations about some set of outcomes.  Participants are asked to give estimates of the likelihood for a set of outcomes, their scores are some function of the value they gave for the actual outcome.  Scoring Rules are called &#8220;Proper&#8221; if they are designed so the participant&#8217;s best strategy is to honestly reveal the probabilities that seem most likely.  The Logarithmic Scoring Rule (one of the Proper rules) provides a reward that equals the logarithm of whichever estimate turns out to correspond to the actual value. Since the total of all the estimates must be 1, the participant can only increase some probabilities by decreasing others.</p>
<p>Robin Hanson described how an Automated Market Maker (AMM) that <a href="http://hanson.gmu.edu/mktscore.pdf">adjusts its prices based on a scoring rule</a> can support unlimited liquidity in a prediction market.  If each successive participant in the market pays the difference between the payoff for her probability estimate and that due to the previous participant, the AMM effectively only pays the final participant.  If the AMM&#8217;s scoring rule is logarithmic, participants who only update some probabilities don&#8217;t effect the relative probabilities of others they haven&#8217;t modified. (This last effect is only valuable for Combinatorial Markets, which I&#8217;ll talk about in a later post.)</p>
<p>The change in the user&#8217;s payoff is <code>log(newP) - log(oldP)</code> (or equivalently <code>log(newP/oldP)</code>) for each state.  For a binary question, the possible gain will be <code>log(newP/oldP)</code>, and the cost will be <code>log((1-oldP) / (1-newP))</code>.  For the rest of this article, I&#8217;ll use gain and cost rather than the <code>log(...)</code> expressions, since there are only these two, and I&#8217;ll be using them a lot.In multi-outcome markets, the most common approach is to let the user specify a single outcome to be increased or decreased, and to adjust all the other outcomes equally, but this isn&#8217;t the only possibility. This design choice has the useful property that the probabilities of other outcomes will be unchanged relative to one another. Since the other outcomes are treated uniformly, they can be lumped together, which results in the same arithmetic as a binary market.  Since those other cases sum to <code>1-P</code>, the price is cost. It is also reasonable to allow the user to specify either a complete set of probabilities, or particular cases to increase and decrease and how much to change them.  Whatever the case, the LMSR adjusts the reward for each outcome to be <code>log(newP<sub>i</sub>/oldP<sub>i</sub>)</code>.  I&#8217;ll describe more possibilities in this vein when I cover the Combinatorial Market.</p>
<p>I hope you found all this interesting in an intellectual sort of way, but you may have noticed that <strong>this description isn&#8217;t applicable to markets in which the traders hold cash and securities</strong>.  The whole thing is couched in terms of participants who will receive a variable payoff, but they don&#8217;t pay for the assets, they merely rearrange their predictions in order to improve their reward.</p>
<p><strong>In order to turn this into an AMM that accepts cash for conditional securities, we have to pay careful attention to the effects of the MSR on people&#8217;s wealth.</strong>  The effects are easiest to describe in the binary case, and every other case is directly analogous, so I&#8217;ll start there.  <strong>In a binary market, the participant raises one probability estimate (call it A) from oldP to newP and lowers the probability of the opposite outcome (not A) from <code>1-oldP</code> to <code>1-newP</code>. </strong> If the trader had no prior investment in this market, the reward will increase by gain.</p>
<p>In order to reproduce that effect in cash and securities, <strong>the AMM charges cost in exchange for gain + loss in conditional securities.</strong>  Why does the trader get securities equal to the cost plus the potential gain?  The effect of this is that if A occurs, the participant has paid cost, and received gain + cost, for a net increase of gain over the original position. If A is judged false, the participant has paid cost with no return, which is the effect we hoped to match.</p>
<p>When an AMM supports a multi-outcome market using the approach I described above, one outcome is singled out to increase (or decrease), while all other outcomes move a uniform distance in the opposite direction.  If the single outcome is increasing, the exchange is trivial to describe: we charge the trader cost for gain + cost in securities.  The effect looks just like the binary case.  The user has spent some money and owns a security that will pay off in a situation the trader thought was more likely than its price indicated.</p>
<p>If the trader singles out one outcome to sell (and thus reduce its probability), the difference among the alternatives I described in the first article in this series on <a href="http://blog.commerce.net/?p=238">Basic Prediction Markets Formats</a> becomes evident. The trader is betting against something, and the market can represent this using short selling, complementary assets, or baskets of goods.  The market might allow short selling (like <a href="https://intrade.com/">InTrade</a>), a complementary asset (like <a href="http://us.newsfutures.com">NewsFutures</a> and <a href="http://ideosphere.com/">Foresight Exchange</a>), or a basket of securities representing all the other outcomes (like <a href="http://www.biz.uiowa.edu/iem/">IEM</a>). Since there are distinctly different points of view on this question, different markets will make different choices.</p>
<p>In order to support the short sales model, the trader needs to receive the payment first along with a conditional liability. In our model, the trader would receive gain in cash immediately, and securities that required repayment of gain + cost if the outcome (which the trader bet against) occurs. The platform would presumably require the trader to hold reserves to ensure the repayment.</p>
<p>With baskets of goods, the trader would get the appropriate number of shares of each of the other outcomes.  The charge would be cost, and that would purchase gain + cost of conditional assets in all other outcomes.</p>
<p>The complementary assets model would charge cost in currency, and provide gain + cost of an asset that paid off if the identified outcome didn&#8217;t occur.  The complicated part of this representation is that traders can hold both positive and negative assets. In a 4 outcome market, a trader holding 3 units of A and 2 units of B who sold 4 units of C could be shown equivalent portfolios of either A: 3, B: 2, C: -4 or A: 7, B: 6, D: 4.  I think either choice is defensible.  The first resembles the transactions the user has made, and so is probably more recognizable; the second provides a more consistent view of possible outcomes.  (And looks the same as baskets.)  If both positive and negative numbers are shown, the trader has to realize that the negative holdings pay off in <strong>all</strong> other cases.  On the other hand, displaying a portfolio in a 7-outcome market as A: 3, B: 3, C: 3, E: 5, F: 3, G: 3 doesn&#8217;t seem as clear as D: -3, E: 2.</p>
<p>I doubt this detail will be of much interest to most users of Prediction Markets.  Luckily for them, the trade-off the logarithmic rule makes between cost and reward just happens to produce prices that match probabilities. But if you are implementing Hanson&#8217;s LMSR, you should understand the alternatives well enough to verify that your market maker correctly implements the design. <a href="http://zocalo.sourceforge.net">Zocalo Prediction Markets</a> support binary and multi-outcome markets with a Market Maker based on the Logarithmic Market Scoring Rule.  The design takes advantage of the parallels between the different markets by only <a href="http://zocalo.svn.sourceforge.net/viewvc/zocalo/trunk/src/net/commerce/zocalo/market/MarketMaker.java?view=markup&amp;pathrev=404">implementing the logarithmic rule in one place</a>.</p>
<p>This article is cross-posted from <a href="http://pancrit.org/2007/09/market-makers-for-multi-outcome-markets.html">pancrit.org</a>.</p>
<h3> Other Articles in this series</h3>
<ul>
<li><a href="http://blog.commerce.net/?p=238">PM intro: basic formats</a> (2005-12-30)</li>
<li><a href="http://blog.commerce.net/?p=239">PMs with Open-ended Prices</a> (2006-01-05)</li>
<li><a href="http://blog.commerce.net/?p=249">Looking at Both Sides</a> (2006-04-17)</li>
<li><a href="http://blog.commerce.net/?p=251">Book and Market Maker</a> (2006-04-28)</li>
<li><a href="http://blog.commerce.net/?p=261">Liquidity in N-Way claims</a> (2006-07-19)</li>
<li><a href="http://pancrit.blogspot.com/2006/09/continuous-outcomes-bands-ladders-and.html">Continuous Outcomes using Bands and Ladders</a> (2006-09-20)</li>
<li><a href="http://pancrit.blogspot.com/2007/01/integrating-book-orders-and-market.html"> Integrating Book Orders and Market Makers</a> (2007-01-10)</li>
<li><a href="http://pancrit.org/2007/03/conditional-and-combinatorial-betting.html"> Conditional and Combinatorial Betting</a> (2007-03-06)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2007/09/10/market-makers-for-multi-outcome-markets/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Safe Harbor Letter too Timid</title>
		<link>http://www.midasoracle.org/2007/05/10/i-can-see-why-they-limited-their-goals-as-they-did-and-i-agree-that-everything-they-advocated-should-be-legal-but-i-think-they-may-have-limited-their-objectives-just-enough-to-prevent-any-big-wins/</link>
		<comments>http://www.midasoracle.org/2007/05/10/i-can-see-why-they-limited-their-goals-as-they-did-and-i-agree-that-everything-they-advocated-should-be-legal-but-i-think-they-may-have-limited-their-objectives-just-enough-to-prevent-any-big-wins/#comments</comments>
		<pubDate>Thu, 10 May 2007 18:45:49 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Best Posts Ever]]></category>
		<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Internet Marketing - Internet Commerce]]></category>
		<category><![CDATA[Regulations]]></category>
		<category><![CDATA[Chris Masse]]></category>
		<category><![CDATA[Congress]]></category>
		<category><![CDATA[Iowa]]></category>
		<category><![CDATA[sports betting]]></category>
		<category><![CDATA[The University of Iowa]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/2007/05/10/i-can-see-why-they-limited-their-goals-as-they-did-and-i-agree-that-everything-they-advocated-should-be-legal-but-i-think-they-may-have-limited-their-objectives-just-enough-to-prevent-any-big-wins/</guid>
		<description><![CDATA[This is an edited version of a post on pancrit.org commenting on the public letter advocating safe harbor for small-scale academic prediction markets. I can see why they limited their goals as they did, and I agree that everything they &#8230; <a href="http://www.midasoracle.org/2007/05/10/i-can-see-why-they-limited-their-goals-as-they-did-and-i-agree-that-everything-they-advocated-should-be-legal-but-i-think-they-may-have-limited-their-objectives-just-enough-to-prevent-any-big-wins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is an edited version of <a href="http://pancrit.blogspot.com/2007/05/safe-harbor-for-prediction-markets.html">a post on pancrit.org</a> commenting on the  <a href="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=984584">public letter</a> advocating safe harbor for small-scale academic prediction markets.  I can see why they limited their goals as they did, and I agree that everything they advocated should be legal, but <strong>I think they may have limited their objectives just enough to prevent any big wins</strong>.</p>
<p>One thing that Chris Masse seems to constantly argue is that <em>Prediction Markets on dry subjects need to be accompanied by entertaining questions in order to to keep the audience&#8217;s attention</em>.  The economists had good reasons for shying away from recommending that sports betting should be included, but there are many other topics that diverse markets could include that give traders a reason to check back in.  The range from the obvious entertainment questions (movie earnings and oscar winners) to legislative outcomes (bills passing and control of particular legislative bodies) and introduction and market success of new technologies.  While these kinds of questions might be out of place on some single-topic markets modeled after the University of Iowa&#8217;s markets on elections, the internal corporate markets that they also mentioned often use them to help maintain interest.  <strong>The letter&#8217;s recommendations that the CFTC &#8220;allow contracts that price an economically meaningful risk or uncertainty&#8221; unnecessarily limits the kinds of contracts that would be allowed.</strong></p>
<p>Back on the side of supporting the letter&#8217;s authors again, I&#8217;d have to admit that <strong>if the CFTC or Congress acts to implement anything resembling the recommendation it would very likely increase Prediction Market activity greatly</strong>, and eventually lead to a broader acceptance.  <strong>If the initial definition is too narrow, however, questions that don&#8217;t have clear economic implications (in the view of Congress and the regulators) might be stuck offshore for a long time to come.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2007/05/10/i-can-see-why-they-limited-their-goals-as-they-did-and-i-agree-that-everything-they-advocated-should-be-legal-but-i-think-they-may-have-limited-their-objectives-just-enough-to-prevent-any-big-wins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Conditional and Combinatorial Betting</title>
		<link>http://www.midasoracle.org/2007/03/06/conditional-and-combinatorial-betting/</link>
		<comments>http://www.midasoracle.org/2007/03/06/conditional-and-combinatorial-betting/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 02:22:41 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Best Posts Ever]]></category>
		<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Exchanges & Markets]]></category>
		<category><![CDATA[Explainers]]></category>
		<category><![CDATA[Market Makers (Automated)]]></category>
		<category><![CDATA[Mechanism Designs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Clinton]]></category>
		<category><![CDATA[cross-product]]></category>
		<category><![CDATA[DAVE PENNOCK]]></category>
		<category><![CDATA[Eric Zitzewitz]]></category>
		<category><![CDATA[International Bank for Reconstruction and Development]]></category>
		<category><![CDATA[Justin Wolfers]]></category>
		<category><![CDATA[Osama bin Laden]]></category>
		<category><![CDATA[Peter McCluskey]]></category>
		<category><![CDATA[prediction markets]]></category>
		<category><![CDATA[Prime Minister]]></category>
		<category><![CDATA[Robin Hanson]]></category>
		<category><![CDATA[Todd Proebsting]]></category>
		<category><![CDATA[USD]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/2007/03/06/conditional-and-combinatorial-betting/</guid>
		<description><![CDATA[After people have used Prediction Markets for a while and have gotten used to their ability to provide forecasts, they start thinking about different scenarios. Who would be the best Republican to face Clinton? How are the prospects for a market boom or crash effected by the winner of the election? How will poverty be affected by a proposed World Bank program? These kinds of questions can be posed in a number of ways using Prediction Markets. Markets can allow betting on conditional (if) or conjunctive (and) questions. Either one can be used to answer the what if questions, but they provide different choices to the bettors, and some make it easier for observers to decode the answers. <a href="http://www.midasoracle.org/2007/03/06/conditional-and-combinatorial-betting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After people have used Prediction Markets for a while and have gotten used to their ability to provide forecasts, they start thinking about different scenarios. Who would be the best Republican to face Clinton?  How are the prospects for a market boom or crash effected by the winner of the election?  How will poverty be affected by a proposed World Bank program?  These kinds of questions can be posed in a number of ways using Prediction Markets.  Markets can allow betting on <strong>conditional</strong> (if) or <strong>conjunctive</strong> (and) questions.  Either one can be used to answer the <strong>what if</strong> questions, but they provide different choices to the bettors, and some make it easier for observers to decode the answers.</p>
<p>The easiest compound question to pose is a simple conjunction of two others.  <a href="http://intrade.com/" title="prediction exchange">InTrade</a> had separate markets in whether Bush would be reelected in 2004 (&#8220;BUSH&#8221;), and whether Osama bin Laden (&#8220;OSAMA&#8221;) would be captured before the election.  Justin Wolfers and Eric Zitzewitz asked InTrade to add a single combined contract that would pay off if both came true.  Their paper, <a href="http://bpp.wharton.upenn.edu/jwolfers/Press/EconomistsVoice.pdf" title="Wolfers &amp; Zitzewitz paper">Experimental Political Betting Markets and the 2004 Election</a> shows how the prices on these three contracts can be combined to show how one event would be likely to effect the other.</p>
<p>InTrade created three separate claims to cover combinations of the two base questions.  They were &#8220;Bush wins election&#8221; (BUSH), &#8220;Osama is captured before the election&#8221; (OSAMA), and the combination: BUSH&amp;OSAMA which would have paid out if both the others came true.  Wolfers and Zitzewitz estimated the market&#8217;s conditional probability by comparing the price of OSAMA with the price of BUSH&amp;OSAMA.  If the price levels were rational, the difference between the two prices had to equal the chance that Osama would be captured and Bush would not be reelected.  Since the market price of BUSH&amp;OSAMA was 91% as high as the price of Osama, they concluded that that represented the conditional probability.  A weakness of this conclusion is that while investors and arbitrageurs have an incentive to ensure that the  price of BUSH is correct relative to	~BUSH, (and OSAMA with respect to ~OSAMA), there&#8217;s no bet that lets an arbitrageur exploit superior knowledge of the conditional probabilities.</p>
<p>Sometimes investors believe they know how one outcome will effect another, and want to bet directly on that linkage.  If you were confident before the election that Osama&#8217;s capture would raise the probability of Bush&#8217;s reelection to 95% (above the level the the market prices implied), having the conjunctive bets didn&#8217;t provide a bet that would have looked beneficial to you.  You might think you could buy Bush&amp;Osama (because you believe Bush&#8217;s chances are improved if Osama is captured) and sell ~Bush&amp;Osama (because this is the outcome your view says is least likely), but you&#8217;d lose both bets if Osama wasn&#8217;t captured (which is an outcome your prediction doesn&#8217;t specify.)</p>
<p>Conjunctive claims allow <strong>observers</strong> to deduce connections between claims, but since the <strong>investors</strong> aren&#8217;t directly rewarded based on the conditional probabilities, they have little incentive to ensure that the implicit conditional probabilities reflect their understanding of the connections between the outcomes.  In order to evaluate different proposals we have to look at what investors would spend up-front, and then compare the possible outcomes and how the investor&#8217;s earnings change in each situation.</p>
<p>If Bush is a 60% favorite to be re-elected, and the market thinks there&#8217;s only a 10% chance Osama will be captured before the election, the odds on the conjunctions might be:</p>
<table border="1" cellpadding="3" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td>Bush reelected</td>
<td>Bush defeated</td>
</tr>
<tr>
<td>Osama captured</td>
<td>.09</td>
<td>.009</td>
</tr>
<tr>
<td>Osama free</td>
<td>.5</td>
<td>.4</td>
</tr>
</table>
<p>If you think Osama&#8217;s capture would improve Bush&#8217;s prospects to 95%, what should you buy or sell?  Your prediction says that the ratio of Bush&amp;Osama to ~Bush&amp;Osama should be 19:1, but doesn&#8217;t have anything to say about Bush&amp;~Osama or ~Bush&amp;~Osama.  If you buy Bush&amp;Osama and sell ~Bush&amp;Osama, you can make the prices match your beliefs better, but you&#8217;ll lose money if Osama isn&#8217;t captured.  In order to support conditional bets directly, market operators have to find ways to allow traders to buy positions without exposing themselves to risks due to the independent cases.</p>
<p>A contract that acts like a conditional bet directly (written as  BUSH|OSAMA, pronounced  as &#8220;Bush given Osama&#8221; or &#8220;Bush conditional on Osama&#8221;)  would pay off if Bush is elected, and return your investment if Osama bin Laden isn&#8217;t captured.  That gives investors the right incentive.</p>
<table border="1" cellpadding="3" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td>Bush reelected</td>
<td>Bush defeated</td>
</tr>
<tr>
<td>Osama captured</td>
<td>Gain $1</td>
<td>Lose investment</td>
</tr>
<tr>
<td>Osama free</td>
<td>Return investment</td>
<td>Return investment</td>
</tr>
</table>
<p>In order to support betting on conditional probabilities, the bets have to be able to return the investors&#8217; money in particular cases.  I know of three detailed proposals that have this property. They are: betting on arbitrary boolean expressions, representing the complete cross-product of possible outcomes (providing a complete set of <a href="http://en.wikipedia.org/wiki/Arrow_Debreu" title="Wikipedia explanation">Arrow-Debreu securities</a>), and using the independent claim as currency for purchasing the dependent claim.  There are two additional suggestions that might work, but haven&#8217;t been written down in sufficient detail to be sure.</p>
<p>Robin described and implemented <a href="http://hanson.gmu.edu/combobet.pdf" title="Hanson's paper">Combinatorial Information Markets</a> which represent probabilities and traders assets explicitly for all possible combinations of outcomes.  Fortnow, Kilian, Pennock, and Wellman described how you might try to support <a href="http://www.cs.rutgers.edu/%7Ejkilian/collected-papers/FoKiPeWe03.pdf" title="technical paper">bets on arbitrary boolean combinations</a> of conditions.  Their conclusion seemed to be that solving the general problem would be computationally infeasible.  They didn&#8217;t describe how to address the problems they found, but I think it&#8217;s possible that a market that supported only binary combinations could be designed. And finally, Peter McCluskey built (and released as open source) <a href="http://usifex.com/" title="defunct web site">USIFEX</a> in 1999.  It allows the user to <a href="http://usifex.com/cgi-bin/ifpublic/faqw.py?req=all#3.7" title="how do conditional claims work?">use the coupons of the independent event as the currency</a>.  This combination allows traders to express conditionals directly. Unfortunately, that system didn&#8217;t attract a user base quickly enough, and Peter stopped development soon after the initial release.</p>
<p>For an article on <a href="http://hanson.gmu.edu/decisionmarkets.pdf" title="Hanson (non-technical) article">Decision Markets</a> written in 1999, Robin Hanson suggested creating markets using assets that pay off in &#8220;units of A if B passes&#8221; (and &#8220;&#8230; if B doesn&#8217;t pass.&#8221;), and allow traders to trade the assets for each other.  The price of A|B in terms of B (which can be built from component assets) expresses the conditional bet.  Robin didn&#8217;t explain how to set up a market in which people trade assets for assets and didn&#8217;t describe how to let the users see how various combination bets would express the conditional claims they might have been interested in.  (This is the first of the two incomplete suggestions.)</p>
<p>Robin&#8217;s Combinatorial Information Market design uses a complex internal representation and can support arbitrary conditional bets. He built a <a href="http://hanson.gmu.edu/mktscore-prototype.html" title="LISP code">prototype implementation</a> that allows the user to explore these conditionals by choosing assumptions, and then adjusting probabilities in the resulting hypothetical situations.  I wrote a <a href="http://mydruthers.com/IF-code/index.html" title="Overview and E code">prototype</a> of my own in E.  Neither prototype is more than a proof-of-concept that the institution works, and neither has been operated for any general market.  The strength of this approach is that users can express conditional connections between arbitrary claims; this aspect has been shown to be <a href="http://hanson.gmu.edu/testcomb.pdf" title="Hanson paper">effective in a laboratory experiment</a>.  Robin ran tests of this market after he proposed its use for  <a href="http://en.wikipedia.org/wiki/Policy_Analysis_Market" title="Wikipedia article">PAM</a>, and there were apparently no problems in running it with 6 traders estimating all outcome combinations for 8 events.  The glaring weakness is that it doesn&#8217;t scale well.  It&#8217;s not clear how to build a version that would work even with a market with dozens of questions and hundreds of users.  I&#8217;ll describe this market in more detail in a future post in this series.</p>
<p>Peter McCluskey built USIFEX in 1999.  It works quite differently and doesn&#8217;t seem to have the performance problems of the other proposals.  The primary idea for supporting conditional trading is that you <strong>buy units of A|B using units of B as currency</strong> when betting on a conditional question.  The effect is that when buying A|B, you end up with coupons of ~B as part of the purchase, and that&#8217;s what ensures you&#8217;ll be repaid if the independent event doesn&#8217;t occur. USIFEX is open source, but it hasn&#8217;t been maintained since it was released in 2000.  The code was resurrected for use in the Swiss <a href="http://marmix.unil.ch/" title="private Swiss exchange">MarMix</a> exchange, (<abbr title="As far as I can tell">AFAICT</abbr> without making any use of the conditional betting features).  The biggest weakness of Peter&#8217;s approach, as I recall, was that it would have taken a lot of users to ensure that the conditional markets weren&#8217;t extremely thin.  A longer description of USIFEX is also in the works.</p>
<p>Todd Proebsting built an implementation of the Hanson design that works without conditionals. Dave Pennock wrote up a <a href="http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/" title="blog post">description of Todd&#8217;s approach</a>, focused on the Market maker.  I intend to describe the implications of Todd&#8217;s approach for betting on conditionals in a future post.  (This is the second incomplete suggestion.) I think it might be straightforward to extend Todd&#8217;s approach to support conditional betting without running into the exponential growth of Robin&#8217;s solution.  The drawback is that the market operator has to separately capitalize and enable every conditional question that you want the system to support, while Robin&#8217;s approach enables all of them by default.  It&#8217;s also possible that <a href="http://zocalo.sourceforge.net/" title="Zocalo site at SourceForge">Zocalo Open Source Prediction Market software</a> would be compatible with this approach, where it&#8217;s clear that Zocalo would require substantial modification to support the Hanson proposal.</p>
<h3>Other Articles in this series</h3>
<ul>
<li><a href="http://blog.commerce.net/?p=238">PM intro: basic formats</a> (2005-12-30)</li>
<li><a href="http://blog.commerce.net/?p=239">PMs with Open-ended Prices</a> (2006-01-05)</li>
<li><a href="http://blog.commerce.net/?p=249">Looking at Both Sides</a> (2006-04-17)</li>
<li><a href="http://blog.commerce.net/?p=251">Book and Market Maker</a> (2006-04-28)</li>
<li><a href="http://blog.commerce.net/?p=261">Liquidity in N-Way claims</a> (2006-07-19)</li>
<li><a href="http://pancrit.blogspot.com/2006/09/continuous-outcomes-bands-ladders-and.html">Continuous Outcomes using Bands and Ladders</a> (2006-09-20)</li>
<li><a href="http://pancrit.blogspot.com/2007/01/integrating-book-orders-and-market.html"> Integrating Book Orders and Market Makers</a> (2007-01-10)</li>
</ul>
<p>Cross-posted from <a href="http://pancrit.blogspot.com/2007/03/conditional-and-combinatorial-betting.html" title="original article">pancrit.org.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2007/03/06/conditional-and-combinatorial-betting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating Book Orders and Market Makers</title>
		<link>http://www.midasoracle.org/2007/01/11/integrating-book-orders-and-market-makers/</link>
		<comments>http://www.midasoracle.org/2007/01/11/integrating-book-orders-and-market-makers/#comments</comments>
		<pubDate>Thu, 11 Jan 2007 18:24:22 +0000</pubDate>
		<dc:creator>Chris Hibbert</dc:creator>
				<category><![CDATA[All Best Posts Ever]]></category>
		<category><![CDATA[All Guest Authors's Posts]]></category>
		<category><![CDATA[Explainers]]></category>
		<category><![CDATA[Market Makers (Automated)]]></category>
		<category><![CDATA[Mechanism Designs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[DAVE PENNOCK]]></category>
		<category><![CDATA[In book order systems]]></category>
		<category><![CDATA[Lisp]]></category>
		<category><![CDATA[prediction markets]]></category>
		<category><![CDATA[Prime Minister]]></category>
		<category><![CDATA[Robin Hanson]]></category>

		<guid isPermaLink="false">http://www.midasoracle.org/2007/01/11/integrating-book-orders-and-market-makers/</guid>
		<description><![CDATA[Dave Pennock gave a gentle introduction on his blog to the Market Scoring Rule invented by Robin Hanson.  In the comments, Sid asked for an explanation of how to integrate the MSR with an order book. Dave asked me privately if I'd be willing to tackle that, and this post is the result. <a href="http://www.midasoracle.org/2007/01/11/integrating-book-orders-and-market-makers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>[Cross-posted from <a href="http://pancrit.blogspot.com/2007/01/integrating-book-orders-and-market.html" title="Chris Hibbert's Blog">Pancrit.org</a>.]</p>
<p>Dave Pennock gave a <a href="http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker">gentle introduction to the Market Scoring Rule</a> invented by Robin Hanson.  In the comments, <a href="http://blog.oddhead.com/2006/10/30/implementing-hansons-market-maker/#comment-324">Sid asked</a> for an explanation of how to integrate the MSR with an order book.  Dave asked me privately if I&#8217;d be willing to tackle that, and this post is the result. Robin&#8217;s <a href="http://hanson.gmu.edu/msrbook.pdf">short note</a> on integrating an order book and a market maker covers a lot of territory very quickly.  In Robin&#8217;s defense, it was written to clarify some ideas in the midst of a conversation we were having at the time, and hasn&#8217;t been cleaned up for publication.  I&#8217;ll expand on it here so it has a chance of making sense to others.  The paper couches things in terms of the MSR, a particular AMM, but none of the implementation depends on which AMM is used.</p>
<p>There&#8217;s a working example of the integration we&#8217;re talking about in the code for Zocalo.  The code that does this is currently in transition since I&#8217;m adding support for multi-outcome markets.  For the moment, I recommend reading the code for version 375, since the current code is more complex and possibly incomplete.  You can either <a href="http://downloads.sourceforge.net/zocalo/zocalo-2006.5-src.tar.gz">download the complete source code</a> for release 2006.5 of the <a href="http://zocalo.sourceforge.net">Zocalo Prediction Market</a>, or <a href="http://zocalo.svn.sourceforge.net/viewvc/zocalo/?pathrev=375">browse the code directly</a> using the SVN interface.</p>
<p>The paper starts by giving a very compressed introduction to the idea of a prediction market and market maker (hereafter AMM for Automated Market Maker).  Unless you&#8217;re very familiar with the details and the formalisms that Robin uses to describe them, you&#8217;d be better off reading the original papers (<a href="http://hanson.gmu.edu/mktscore.pdf">Logarithmic Market Scoring Rules</a>, <a href="http://hanson.gmu.edu/combobet.pdf">Combinatorial Information Market Design</a>) than trying to pick anything up from the first four paragraphs of the note.</p>
<p>The fourth paragraph slips into the idea of integrating an order book with the AMM he&#8217;s talked about to that point.   (&#8220;If instead [the AMM price resulting from buying the entire quantity is higher than the user's max marginal price], a portion [...] could be traded with the market maker, leaving a book order for the remaining quantity&#8221;).  From that point, he talks about how to integrate the two markets.</p>
<blockquote><p>If new orders get the advantage of any order price overlap</p></blockquote>
<p>In book order systems, if orders arrive asynchronously, you  will often see orders that &#8220;overlap&#8221;, <em>i.e.</em> orders to buy at a higher price than the best offer to sell, or orders to sell lower than the best offer to buy.  The system has to have policy about what price to transact at in these cases.  The system could tell each party that they got the price they requested, and pocket the difference; it could use the book order&#8217;s price or the new offer&#8217;s price; or it could split the difference in the interest of <a href="http://www.yootles.com/yootles.pdf">fairness</a>.  If any choice is made other than using the stated price of the order in the book, investors have an incentive to carefully submit bids a little at a time (aka &#8220;structure&#8221; their bids) so they won&#8217;t pay more than they have to if new orders should arrive.  Robin argued elsewhere (I can&#8217;t find the reference at the moment) that you should just transact at the book order price so that people submitting market price orders don&#8217;t waste their resources and yours on this optimization.</p>
<p>That choice also simplifies the calculation for accepting new offers.  As Robin says,  &#8220;each book order [...] imposes a constraint on the market maker price&#8221;.  The AMM should fulfill orders up to that limit, then let trade continue with the book order.  This requires a loop, in which you buy from the AMM until you reach the limit imposed by the best order(s), then trade up to the book order&#8217;s available quantity, then go back to the AMM until you reach the next book order.  You can see the approach in Zocalo&#8217;s method <a href="http://svn.sourceforge.net/viewvc/zocalo/trunk/src/net/commerce/zocalo/market/Market.java?revision=372&amp;view=markup">Market.buyFromBothBookAndMaker(&#8230;)</a>.  (The method starts at line 237.)</p>
<p>At every step,</p>
<ul>
<li>find the remaining quantity <em>q</em> of the new order</li>
<li>find the price <em>p</em> available from the best existing order</li>
<li>if the AMM&#8217;s price is no better than the book order, trade up to <em>q</em> with the book</li>
<li>otherwise trade with the AMM to the lesser of <em>p</em> or <em>q</em></li>
</ul>
<p>The loop stops either when the new order is fulfilled or the price limit specified by the new order is reached.</p>
<p>That&#8217;s the simple version for a one-dimensional AMM.  The multi-dimensional version arises if you implement the AMM as described in &#8220;Combinatorial Information Market Design&#8221;.   There are two open source implementations of this approach available for reading by hard-core hackers.  Robin built <a href="http://hanson.gmu.edu/mktscore-prototype.html">an implementation</a> in Lisp, and I wrote <a href="http://mydruthers.com/IF-code/index.html">a version</a> in E.  Neither is more than a demonstration of how the market engine works, since no serious user interface was written for either one.</p>
<p>Rather than attempt to explain how the approach translates to the multi-dimensional case now, I&#8217;d prefer to wait until after I write an explanation of the n-dimensional combination market, and that depends on a gentle introduction to conditional and combinatorial betting which I haven&#8217;t written yet.  Having someone ask about Robin&#8217;s note raises my priority for writing these prerequisites.</p>
<h3>Other Articles in this series</h3>
<ul><a href="http://blog.commerce.net/?p=238">PM intro: basic formats</a> (2005-12-30)</p>
<li><a href="http://blog.commerce.net/?p=239">PMs with Open-ended Prices</a> (2006-01-05)</li>
<li><a href="http://blog.commerce.net/?p=249">Looking at Both Sides</a> (2006-04-17)</li>
<li><a href="http://blog.commerce.net/?p=251">Book and Market Maker</a> (2006-04-28)</li>
<li><a href="http://blog.commerce.net/?p=261">Liquidity in N-Way claims</a> (2006-07-19)</li>
<li><a href="http://pancrit.blogspot.com/2006/09/continuous-outcomes-bands-ladders-and.html">Continuous Outcomes using Bands and Ladders</a> (2006-09-20)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.midasoracle.org/2007/01/11/integrating-book-orders-and-market-makers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

