select buy_date,avg(earn_percent),count(*) from bs_7287298140871 group
by buy_date;