A python module that gives stock price data and stock symbols.
Project description
EasyStocksData
A python module that gives stock price data and stock symbols.
Installation
Install easystocksdata using pip:
$ pip install easystockdata
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)intvandrngboth takes values from1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1moand3mo.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easystockdata-0.1.10.tar.gz.
File metadata
- Download URL: easystockdata-0.1.10.tar.gz
- Upload date:
- Size: 127.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb207413befb642a7d0d31daabb4277f3fc7535f49a66e0901e4c5fa1b53f91e
|
|
| MD5 |
53bf019859ebd5eb30cfdfd7b14dd11c
|
|
| BLAKE2b-256 |
033f24a580256c91bab1417652ec3f975028abc2d12365c8c24ab5ede266476e
|
File details
Details for the file easystockdata-0.1.10-py3-none-any.whl.
File metadata
- Download URL: easystockdata-0.1.10-py3-none-any.whl
- Upload date:
- Size: 130.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b693e7ee9d061675437c0f7a22a2d6fcd5913d7d05d8efd08d0b59e483969d93
|
|
| MD5 |
6d4fe4667ac24475fc3f821e57e98242
|
|
| BLAKE2b-256 |
970b89db054f0043ac199c59968ae0746c9be204791dfe7e1b3fee386416e1b2
|