You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a small enhancement to the package that computes a historical 52-week high.
The definition of a historical 52-week high I used is as follows:
The highest 'High' of all prices of a given symbol in a 1-year range than ends at a specified date.
The function returns a dict of dicts (just like original get_historical_prices) which usually contains a single element with the date as a key and a full data dictionary of that dates data as a value.
In a rare case of more than one occasions of the same highest 'High' value within the period all those occasions are included in the result.
I will create a pull request with my enhancement shortly.
The text was updated successfully, but these errors were encountered:
I have a small enhancement to the package that computes a historical 52-week high.
The definition of a historical 52-week high I used is as follows:
The highest 'High' of all prices of a given symbol in a 1-year range than ends at a specified date.
The function returns a dict of dicts (just like original get_historical_prices) which usually contains a single element with the date as a key and a full data dictionary of that dates data as a value.
In a rare case of more than one occasions of the same highest 'High' value within the period all those occasions are included in the result.
I will create a pull request with my enhancement shortly.
The text was updated successfully, but these errors were encountered: