Historical API returns error 400!!!! - Python