added getPrice and getIndex to Market