Add recent_data as part of historical_data behavior if from_date and to_date params are not provided
Handle Investing.com API response's status code in case it's not 200
🧪 Tests
[X] Did you implement unit tests?
If the above checkbox is checked, describe how you unit tested it.
test_recent.py has been removed as recent_data is now part of historical_data, so a unit test has replaced it in test_historical.py just like the previously existing one, but without passing the from_date and to_date parameters so as to mimic recent_data behavior that is no longer there.
✨ Features
recent_data
as part ofhistorical_data
behavior iffrom_date
andto_date
params are not provided🧪 Tests
If the above checkbox is checked, describe how you unit tested it.
test_recent.py
has been removed asrecent_data
is now part ofhistorical_data
, so a unit test has replaced it intest_historical.py
just like the previously existing one, but without passing thefrom_date
andto_date
parameters so as to mimicrecent_data
behavior that is no longer there.