Skip to main content

No project description provided

Project description

QuickStockData

A python module that returns stock price data and stock symbols.

Installation

Install quickstockdata using pip:

$ pip install quickstockdata

Description of functions

get_prices :

  • Input:

    symbol : Symbol of stock (string)

    intv : Interval of time (string, optional, default=1d)

    rng : Range of time (string, optional, default=1wk)

    intv and rng both takes values from 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo and 3mo.

    ohlc : Specify High, Low, Open and Close prices (string, optional, default='high')

    stock_exc : specify stock exchange to get data from (string, optional, default='nse')

  • Output: list: A list of lists containing the timestamp and corresponding price for each data point.

get_nse_symbols :

  • Input: None

  • Output: A list of dictionaries containing the stock names and symbols of nse.

get_nasdaq_symbols :

  • Input: None

  • Output: A list of dictionaries containing the stock names and symbols of nasdaq.

find_nse_stock :

  • Input:

    search_term : search term to search for stock symbol in nse (string)

  • Output: A list of dictionaries containing the stock names and symbols of nse.

find_nasdaq_stock :

  • Input:

    search_term : search term to search for stock symbol in nse (string)

  • Output: A list of dictionaries containing the stock names and symbols of nasdaq.

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

quickstockdata-0.1.6.tar.gz (126.4 kB view details)

Uploaded Source

Built Distribution

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

quickstockdata-0.1.6-py3-none-any.whl (130.1 kB view details)

Uploaded Python 3

File details

Details for the file quickstockdata-0.1.6.tar.gz.

File metadata

  • Download URL: quickstockdata-0.1.6.tar.gz
  • Upload date:
  • Size: 126.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.0 Windows/10

File hashes

Hashes for quickstockdata-0.1.6.tar.gz
Algorithm Hash digest
SHA256 872c17a28c8244d8a178c660e68130e2cfd975b6a3ba4d1087d4cb0b1ddcaa2d
MD5 b98a00b7a39ea57f14719018d808ded9
BLAKE2b-256 6c4e085355bfc3d67184d363b2f35251e2eac29b5214a341651df7ee927e4f6f

See more details on using hashes here.

File details

Details for the file quickstockdata-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: quickstockdata-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 130.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.0 Windows/10

File hashes

Hashes for quickstockdata-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 38906a34214604bb9c6459bf649c69ba0f89e0c015f9f530f6b86f3a899e53c3
MD5 da107e8ed69aedcd65e9027e911ddf71
BLAKE2b-256 74f8c3d196519607f82aa865227a452902d4a873ed0ffdc87d193862e0e87284

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