Skip to main content

Retrieve the list of most active stocks from major financial websites.

Project description

PyActiveStocks

Retrieve the list of most active stocks from major financial websites.

Currently Supported:

Languages:

class Language(Enum):
    EN = "www"
    CN = "cn"

Resources:

class Resource(Enum):
    YAHOO = 'yahoo'
    TRADINGVIEW = 'tradingview'

Markets:

class Market(Enum):
    US = "usa"
    CA = "canada"
    UK = "united-kingdom"
    DE = "germany"
    CN = "china"
    HK = "hong-kong"
    JP = "japan"
    AU = "australia"

Assets:

class Asset(Enum):
    STOCKS = "stocks"
    ETFS = "etfs"
    CRYPTO = "crypto"

Example:

from pyactivestock import MostActive

screener = Screener()
result = screener.download(language=Language.EN,
                           resource=Resource.YAHOO,
                           market=Market.US,
                           asset=Asset.STOCKS)
if result is not None:
    print(result.head())
else:
    print(f“download failed from Yahoo”)

Setting the parameter to None means that all options are included.

Result:

symbol name market asset
0 OPEN Opendoor Technologies Inc. us stocks
1 INTC Intel Corporation us stocks
2 WULF TeraWulf Inc. us stocks
3 NVDA NVIDIA Corporation us stocks
4 IQ iQIYI, Inc. us stocks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyactivestocks-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyactivestocks-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file pyactivestocks-0.1.0.tar.gz.

File metadata

  • Download URL: pyactivestocks-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyactivestocks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 41c2d7744ce4d082a230fa56fed5aec2478ba2715e506fe0602105df9a34b942
MD5 014012a39c4c517f7375d1353915099a
BLAKE2b-256 bd87e372b0f07db83595fba0039a39b1b1ccae06adfa69c226069c4762c22be9

See more details on using hashes here.

File details

Details for the file pyactivestocks-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyactivestocks-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pyactivestocks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb8536019779c3f40beb114a158ee13d654e0c9a57fbd015d25842704f463cfa
MD5 b696178a001fa6d96ac7b29daa18f149
BLAKE2b-256 e67e545041242b7c89b66be2e30ff51106f360ccb70aa136228253dfe75da142

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page