Essays on Optimal Behavior in Centralized Markets