Remove int() from price variable
Added date statments and added pass argument function