Replace specification of portfolio history period with string
An API change allows for arbitrary specification of period histories. This contradicts what was released in the last version - this updates the parameters of the portfolio history method to accept a string as a parameter rather than the typed value.