Market Clearing and Derivative Pricing