|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
BinaryBook | holds book orders received for later execution in a market with only paired goods. |
BinaryMarket | a Market in a claim; always supports book orders, sometimes supports a marketMaker. |
BinaryMarketMaker | Automated Market Maker for Binary Claims. |
BinaryMarketReserveVerifier | a callback object for use in experiments requiring reserves for short holdings. |
Book | A Book holds orders entered by Users to buy and sell positions on a particular Claim. |
Market | a Market in a claim; always supports book orders, sometimes supports a marketMaker. |
MarketCallback | |
MarketMaker | A MarketMaker offers to buy and sell coupons for a particular claim. |
MultiMarket | a Market in a multi-position claim; doesn't currently support book orders, always has a marketMaker. |
MultiMarketMaker | MultiMarketMaker is a MarketMaker for a Multi-position claim. |
Outcome | Outcome for a market. |
ReserveVerifier | In Experiments in which holders of short shares must pay dividends, this callback interface allows Markets to defer to Sessions for enforcement of the proper balance of reserves. |
UnaryBook | holds book orders received for later execution in a market with only one good. |
UnaryMarket | a Market in a claim with only one position; only supports book orders. |
UnaryMarketReserveVerifier | a callback object for use in experiments with Unary Markets requiring reserves for short holdings. |
Exception Summary | |
---|---|
DuplicateOrderException | An Exception that is generated when someone tries to enter an order that would be indistinguishable from an existing order based on (owner, price, claim). |
IncompatibleOrderException | An Exception that is generated when we try to create an order that should be immediately accepted because it would cause the total offer for all positions to exceed their par value. |
These classes implement the market and process orders. Market
accepts orders entered by a User
and processes them, either
against other orders stored in a
Book
, or against the MarketMaker
.
Separate subclasses represent BinaryMarkets
and
MultiMarkets
. In parallel, the MarketMakers are
subdivided into BinaryMarketMaker
and
MultiMarketMaker
.
© Copyright 2007 Chris Hibbert. All rights reserved. © 2006 CommerceNet Consortium, LLC.
This software is published under the terms of the MIT license, a copy |
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |