Skip to content

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