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

added isETF in finvizfinance class #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liante0904
Copy link

Description

In this PR, I added the isETF attribute in the finvizfinance class to identify if the asset is an Exchange Traded Fund (ETF). The method _checketf() is used to check if the "Industry" field in the fundamental information contains the term 'Exchange Traded Fund'. If true, it sets the isETF attribute to True.

Type of change

  • New feature (non-breaking change which adds functionality)

What you did

  • Added the isETF attribute in the finvizfinance class.
  • Implemented the _checketf method to determine whether the asset is an ETF by checking the "Industry" field.

@lit26
Copy link
Owner

lit26 commented Oct 3, 2024

The fundamental information can be retrieved from ticker_fundament. This PR might not be very useful.

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