Skip to main content

A library that gather stock market historical OHLC data.

Project description

stock-market

A library that gather stock market historical OHLC data.

klsescreener

To get klsescreener dashboard

>>> from stock_market.screeners import klsescreener
>>> klsescreener.api.KlseScreener.stocks_screener()
             Name    Code                                    Category  ...  MCap.(M)       Indicators  Unnamed: 15
0       DIGI  [s]    6947     Telecommunications & Media, Main Market  ...  32421.75              NaN           >>
1       MGRC  [s]    0155                     Health Care, Ace Market  ...     64.69              YoY           >>
2         CARLSBG    2836   Consumer Products & Services, Main Market  ...   7117.81              NaN           >>
3    CHINAETF-USD  0829EB                             ETF-Equity, ETF  ...      0.62              NaN           >>
4    LAGENDA  [s]    7179                       Property, Main Market  ...    575.35          QoQ YoY           >>
..            ...     ...                                         ...  ...       ...              ...          ...
977    HUAAN  [s]    2739                         Energy, Main Market  ...    137.79              NaN           >>
978    SEERS  [s]   03009   Consumer Products & Services, Leap Market  ...     25.76             RQoQ           >>
979           M&G    5078     Transportation & Logistics, Main Market  ...     65.15  RQoQ RYoY RTopQ           >>
980  BRAHIMS  [s]    9474   Consumer Products & Services, Main Market  ...     69.70              YoY           >>
981  HHGROUP  [s]    0175  Industrial Products & Services, Ace Market  ...     13.45              NaN           >>

[982 rows x 16 columns]

To export klsescreener dashboard to Excel file

>>> from stock_market.screeners import klsescreener
>>> filepath = 'klsescreener.xlsx'
>>> klsescreener.api.export_stocks_screener_to_excel(filepath)

bursamalaysia

To export securities equities keyindicator PDF

>>> from stock_market.screeners import bursamalaysia
>>> bursamalaysia.api.export_securities_equities_keyindicators_pdf('2020-12-31')

To export securities equities PDF

>>> from stock_market.screeners import bursamalaysia
>>> bursamalaysia.api.export_securities_equities_pdf('2020-12-31')

To export indices

>>> from stock_market.screeners import bursamalaysia
>>> bursamalaysia.api.export_indices_data('0200I')

To export equities

>>> from stock_market.screeners import bursamalaysia
>>> bursamalaysia.api.export_equities_data('1818')

============= Release Notes

0.0.1 (2020-10-26)

  • New Features:

    • Initial release on PyPI
  • Changes to Existing Features:

    • Initial project
  • Bug Fixes:

    • None

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

stock_market-0.4.1.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

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

stock_market-0.4.1-py2.py3-none-any.whl (19.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file stock_market-0.4.1.tar.gz.

File metadata

  • Download URL: stock_market-0.4.1.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.3

File hashes

Hashes for stock_market-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4150701784395a895d9b91b1684e688a8db2f5e14ffc39c5a422df63f226a2a0
MD5 310aaedab437b76aea6fe357d76723b5
BLAKE2b-256 f1b71e0f317539ca495dde20e5646105b68f7c91581e64bd29e2c8d9f63f0a5b

See more details on using hashes here.

File details

Details for the file stock_market-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: stock_market-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.3

File hashes

Hashes for stock_market-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 45ca743b562939e043b89958d88b30727ce681a675afb38b016ba6a4b28e50db
MD5 84787a625b344bb9b36662d3a1eda6e8
BLAKE2b-256 f30ca9c3158c4527f7dc034fb9b1a672da6ba2f4742910b9302bf4e73e11a14b

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