Skip to content

Conversation

@qianyun210603
Copy link
Contributor

Due to the persistent failure of info property of Tickers due to decryption error of yahoo finance web pages, I added a failback to get some information from unofficial api https://query1.finance.yahoo.com/v7/finance/quote. which can get the ticker short/long name, listed date, exchange, timezone etc.

Also did some refactoring of base.py and data.py:

  • merge duplicate imports;
  • remove unused local variables
  • fix some (potential) reference before defined error
  • reformatting using black.

@ValueRaider
Copy link
Collaborator

ValueRaider commented Mar 22, 2023

This is hard to review because almost all the changes are formatting. Is that necessary right now? Formatting changes could go in a separate branch and target dev branch not main #1084.

@qianyun210603
Copy link
Contributor Author

@ValueRaider This makes sense. I removed all reformatting and created a new PR #1461 for easy review. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants