Add missing parameters to get_spot_price_history method.

Fixes #1957.