add pyramid position check and time limit, only add position when have profit