Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add info, investing_info, and solve timezone issue #43

Merged
merged 13 commits into from
Oct 16, 2022
Merged

Conversation

alvarobartt
Copy link
Owner

✨ Features

  • Add both /quotes and /symbols https://tvc4.investing.com endpoints under info and investing_info, respectively.
  • Add pytz dependency to handle timezones, as it's more complete than datetime.timezone
  • Update documentation accordingly

🐛 Bug Fixes

  • Fix bug on historical_data's output dates, as with investing_info we can retrieve the operating timezone of each asset and use pytz to properly convert the timestamps

🔗 Linked Issue

#40

🧪 Tests

  • Did you implement unit tests if required?

If the above checkbox is checked, describe how you unit-tested it.

investiny.info has been unit tested with the different input types available, and investiny.investing_info has not been tested yet, as it's just used internally and everything is already handled.

@alvarobartt alvarobartt added bug Something isn't working enhancement New feature or request labels Oct 16, 2022
@alvarobartt alvarobartt self-assigned this Oct 16, 2022
@alvarobartt alvarobartt merged commit b41c711 into main Oct 16, 2022
@alvarobartt alvarobartt deleted the info branch October 16, 2022 10:44
@alvarobartt alvarobartt linked an issue Oct 16, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with Date and Price mapping
1 participant