1.1k likes | 1.12k Views
Exchanges for Complex Commodities: Search for Optimal Matches. Jianli Gong. Committee: Eugene Fink Dmitry B. Goldgof Sudeep Sarkar. Motivation. Build an automated exchange for trading goods and services. Motivation. Build an automated exchange for trading
E N D
Exchanges for Complex Commodities:Search for Optimal Matches Jianli Gong Committee: Eugene Fink Dmitry B. Goldgof Sudeep Sarkar
Motivation • Build an automated • exchange for trading • goods and services
Motivation • Build an automated • exchange for trading • goods and services • Combine the speed • and liquidity of the • stock exchange
Motivation • Build an automated • exchange for trading • goods and services • Combine the speed • and liquidity of the • stock exchange with • the flexibility of eBay +
Outline • Previous work
Outline • Previous work • Complex exchange • Data structures
Outline • Previous work • Complex exchange • Data structures Josh, Jenny
Outline • Previous work • Complex exchange • Data structures • Optimal matches • Performance Josh, Jenny
Outline • Previous work • Complex exchange • Data structures • Optimal matches • Performance Josh, Jenny Jianli
Outline • Previous work • Complex exchange • Data structures • Optimal matches • Performance
Previous Work • Combinatorial auctions • Standardized exchanges
Combinatorial Auctions • Complex commodities • Asymmetry between • buyers and sellers • Illiquid • Examples: • OptiBid, SBIDS, eMediator
Standardized Exchanges • Simple commodities • Symmetry between • buyers and sellers • Liquid • Examples: • Stocks, Futures
Outline • Previous work • Complex exchange • Data structures • Optimal matches • Performance
Complex Exchange • Market • Orders • Fills
Market All items that can be traded form amarket. Example: All conceivable vehicles compose a car market.
Orders An order is asubsetof the market along with aprice function.
Orders An order is asubsetof the market along with aprice function. Example: Any Mustang or Corvette.
Orders An order is asubsetof the market along with aprice function. Example: Any Mustang or Corvette; Mustang for $38,000 or Corvette for $40,000.
Orders An order is asubsetof the market along with aprice function. Example: Any Mustang or Corvette; Mustang for $38,000 or Corvette for $40,000, –$1 for every ten miles.
Price Sell order Buy and Sell Orders Price Buy order
Sell order Buy and Sell Orders Price Buy order
Fill: Red Mustang $34,000 Fills Buy order: Any Color Sports Car $36,000 Sell order: Silver Limo $50,000 or Red Mustang $32,000
Implemented Exchange Specific sell orders. Good: Sell a red Mustang, made in 1999. Bad: Sell any color Mustang, made before 1999.
Implemented Exchange Price Price Buy order Sell order
Sell order Implemented Exchange Price Buy order
Outline • Previous work • Complex exchange • Data structures • Optimal matches • Performance
Data Structures • Tree of sell orders • List of buy orders
Tree of Sell Orders Model Mustang Corvette
Tree of Sell Orders Model Mustang Corvette Year Year 1996 1997 1985 1986 1988
Tree of Sell Orders Model Mustang Corvette Year Year 1996 1997 1985 1986 1988 Mileage Mileage Mileage Mileage Mileage 50K 1996 Mustang, 50K miles, $7,000
Camry Year 1999 2000 1988 Mileage Mileage Mileage 10K 180K 20K 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Tree of Sell Orders Model Mustang Corvette Year Year 1996 1997 1986 Mileage Mileage Mileage 50K 1996 Mustang, 50K miles, $5,000
Trading Cycle Process all new orders Re-match all old orders Stop trading? No Yes
Processing Process Re-match Stop? For every new order: If it is a buy order, search for matches; if not filled, add it to the list. If it is a sell order, add it to the tree.
Re-Matching Process Re-match Stop? For every buy order: search for matches among the sell orders.
Outline • Previous work • Complex exchange • Data structures • Optimal matches • Performance
Optimal Matches The system searches for the best-price matches in the indexing structure.
Optimal Matches • The system searches for the best-price matches in the indexing structure. • Depth-first search (Josh)
Optimal Matches • The system searches for the best-price matches in the indexing structure. • Depth-first search (Josh) • Best-first search (Jianli)
Camry Year 1999 2000 1988 Mileage Mileage Mileage 10K 180K 20K 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Model Mustang Corvette Year Year 1996 Mileage 50K 1996 Mustang, 50K miles, $7,000
Camry Year 1999 2000 1988 Mileage Mileage Mileage 10K 180K 20K 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Corvette Year Year 1996 Mileage 50K 1996 Mustang, 50K miles, $7,000
Camry Year 1999 2000 1988 Mileage Mileage Mileage 10K 180K 20K 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Corvette Year Year 1996 Mileage 50K 1996 Mustang, 50K miles, $7,000
Camry Year 1999 2000 1988 Mileage Mileage Mileage 10K 180K 20K 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Corvette Year Year 1996 Mileage 50K 1996 Mustang, 50K miles, $7,000
Camry Year 1999 2000 1988 Mileage Mileage Mileage 10K 180K 20K 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Corvette Year Year 1996 Mileage 50K 1996 Mustang, 50K miles, $7,000
Camry Year 1999 2000 1988 Mileage Mileage Mileage 10K 180K 20K 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Corvette Year Year 1996 Mileage 50K 1996 Mustang, 50K miles, $7,000
2000 1988 Mileage Mileage 180K 20K 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Camry Corvette Year Year Year 1996 1999 Mileage Mileage 50K 10K 1996 Mustang, 50K miles, $7,000 1999 Camry, 10K miles, $18,000
2000 1988 Mileage Mileage 180K 20K 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Camry Corvette Year Year Year 1996 1999 Mileage Mileage 50K 10K 1996 Mustang, 50K miles, $7,000 1999 Camry, 10K miles, $18,000
2000 1988 Mileage Mileage 180K 20K 2000 Camry, 180K miles, $5,000 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Camry Corvette Year Year Year 1996 1999 Mileage Mileage 50K 10K 1996 Mustang, 50K miles, $7,000 1999 Camry, 10K miles, $18,000
1988 Mileage 20K 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Camry Corvette Year Year Year 1996 1999 2000 Mileage Mileage Mileage 50K 10K 180K 1996 Mustang, 50K miles, $7,000 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000
1988 Mileage 20K 1988 Corvette, 20K miles, $4,000 Depth-First Search Buy Order: Any car made after 1990 Model Mustang Camry Corvette Year Year Year 1996 1999 2000 Mileage Mileage Mileage 50K 10K 180K 1996 Mustang, 50K miles, $7,000 1999 Camry, 10K miles, $18,000 2000 Camry, 180K miles, $5,000