Skip to content

Releases: Thomas-mcinally/stockprice

Release v1.1.2

14 Mar 03:03
b0e91f2
Compare
Choose a tag to compare
Refactor calculate percentage price change over n days (#25)

* replace for loop with while loop

* refactor variable names

* increment version

* change comment

Release v1.1.1

14 Mar 00:06
Compare
Choose a tag to compare
increment version

Release v1.1.0

13 Mar 23:52
56dc20e
Compare
Choose a tag to compare
Reduce dependencies - call yahoo finance api directly (#23)

* add notes

* use yfinance api directly - iterate through all timestamps

* remove unused code

* refactor variables

* test two tickers

* remove unused code in conftest

* remove unused dependencies

* remove notes.txt

* add type hint

* add return type for new_calculate_percentage_price_change_over_n_days

* rename function

* reformat

* make work for crypto - all days trading days

* reformat

* use datetime.utcnow to prevent timezone errors

* throw error if yahoo finance api returns non-utc timezone info

* remove comments

* refactor - only catch TimeZoneError

* refactor test name

Release v1.0.6

09 Mar 23:47
Compare
Choose a tag to compare
add tag github action