markets menu function