Every information and data in Nepal Share Market are available
Project description
What is this Package For???
This Package provides live data of Nepal Share Index. Including last Transaction Price, It provides Close Price, Open, High, Low and Volume .
- For Single Stock Detail:
- Import this Package
import NepseData as nd
- Now call a method named get_data as below:
nd.get_data(“NABIL”)
- OUTPUT:
({‘ticker’: ‘NABIL’}, {‘last_transaction_price’: 804.0}, {‘Change in Points’: -4.0}, {‘Percentage_Change’: -0.5}, {‘Opening Price’: 815.0}, {‘High’: 815.0}, {‘Low’: 803.5}, {‘Volume’: 58542.0})
- For Multiple Stock Data:
- Import this Package
import NepseData as nd
- -Create a list of stocks and empty list for appending data
StockList = [“ADBL”,”JBBL”,”SHINE”] StockData = []
- Going through stocks and appending each data in empty list:
- for stock in StockList:
StockData.append(nd.get_data(stock))
- Printing Collected data
print(StockData)
- OUTPUT:
- [({‘ticker’: ‘ADBL’}, {‘last_transaction_price’: 310.0}, {‘Change in Points’: -1.1}, {‘Percentage_Change’: -0.35}, {‘Opening Price’: 312.0}, {‘High’: 313.0}, {‘Low’: 309.0}, {‘Volume’: 14709.0}),
({‘ticker’: ‘JBBL’}, {‘last_transaction_price’: 274.0}, {‘Change in Points’: -1.0}, {‘Percentage_Change’: -0.36}, {‘Opening Price’: 270.0}, {‘High’: 276.5}, {‘Low’: 270.0}, {‘Volume’: 4740.0}), ({‘ticker’: ‘SHINE’}, {‘last_transaction_price’: 325.3}, {‘Change in Points’: -3.7}, {‘Percentage_Change’: -1.12}, {‘Opening Price’: 333.8}, {‘High’: 333.8}, {‘Low’: 325.0}, {‘Volume’: 30419.0})]
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 NepseData-1.2.tar.gz.
File metadata
- Download URL: NepseData-1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9378e350a96e5f63b5c4876306a57ade9c6da3ac0e79ddec485352cd8365c4e
|
|
| MD5 |
57da02f1fd549bba513fa25ba6558df5
|
|
| BLAKE2b-256 |
d58287718f913c1ae2a62285c8ca7a9da70fe3b6e402e867e076f73e4ca0419b
|
File details
Details for the file NepseData-1.2-py3-none-any.whl.
File metadata
- Download URL: NepseData-1.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27eb48543dea46f2d39f268b4dd3b98f4f160e58bfe4233d9a94050aa1ba8ce8
|
|
| MD5 |
55e3237de9a67f405041541c4f871536
|
|
| BLAKE2b-256 |
9c2f0c235c4863815c028821f8dc4206e46ad6cde9c248d1c2ecac52fe1bf6df
|