use last price instead of average
Merge pull request #10 from Bjorn248/master

use last price instead of average