Comparing Prediction Market Structures, With an Application to Market Making