Top Performers - finflux.top()#

The top() class does not require any input.

Note

Currently, the stock outputs of top() are limited to equities listed on the NYSE and NASDAQ exchanges. To minimize noise, the gainer() , loser() , and active() functions apply default equity filters, requiring a minimum intraday market capitalization of $300 million and a trading volume of at least 500,000 shares.

Functions#

gainer(display='json', sector='all')#
Parameters:
  • display – Specifies the output format; VALID VALUES: 'json' , 'table'

  • sector – Sector of interest; VALID VALUES: 'all' , 'basic materials' , 'communication services' , 'consumer cyclical' , 'consumer defensive' , 'energy' , 'financial services' , 'healthcare' , 'industrials' , 'real estate' , 'technology' , 'utilities'

Returns:

A JSON-formatted output or pandas DataFrame listing the equities with the highest percentage price appreciation from the last trading day.

Source:

Yahoo Finance (yfinance)

loser(display='json', sector='all')#
Parameters:
  • display – Specifies the output format; VALID VALUES: 'json' , 'table'

  • sector – Sector of interest; VALID VALUES: 'all' , 'basic materials' , 'communication services' , 'consumer cyclical' , 'consumer defensive' , 'energy' , 'financial services' , 'healthcare' , 'industrials' , 'real estate' , 'technology' , 'utilities'

Returns:

A JSON-formatted output or pandas DataFrame listing the equities with the highest percentage price depreciation from the last trading day.

Source:

Yahoo Finance (yfinance)

active(display='json', sector='all')#
Parameters:
  • display – Specifies the output format; VALID VALUES: 'json' , 'table'

  • sector – Sector of interest; VALID VALUES: 'all' , 'basic materials' , 'communication services' , 'consumer cyclical' , 'consumer defensive' , 'energy' , 'financial services' , 'healthcare' , 'industrials' , 'real estate' , 'technology' , 'utilities'

Returns:

A JSON-formatted output or pandas DataFrame listing the equities with the highest trading volume from the last trading day.

Source:

Yahoo Finance (yfinance)

cap(display='json', sector='all')#
Parameters:
  • display – Specifies the output format; VALID VALUES: 'json' , 'table'

  • sector – Sector of interest; VALID VALUES: 'all' , 'basic materials' , 'communication services' , 'consumer cyclical' , 'consumer defensive' , 'energy' , 'financial services' , 'healthcare' , 'industrials' , 'real estate' , 'technology' , 'utilities'

Returns:

A JSON-formatted output or pandas DataFrame listing the equities with the highest market capitalizations from the last trading day.

Source:

Yahoo Finance (yfinance)