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})]
Metadata
Release files for NepseData 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| NepseData-1.2.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| NepseData-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.8 kB
Release files / NepseData-1.2.tar.gz
| Download URL | NepseData-1.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9378e350a96e5f63b5c4876306a57ade9c6da3ac0e79ddec485352cd8365c4e
|
|
BLAKE2b-256 checksum How to use checksums |
d58287718f913c1ae2a62285c8ca7a9da70fe3b6e402e867e076f73e4ca0419b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.4
|
Release files / NepseData-1.2-py3-none-any.whl
| Download URL | NepseData-1.2-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27eb48543dea46f2d39f268b4dd3b98f4f160e58bfe4233d9a94050aa1ba8ce8
|
|
BLAKE2b-256 checksum How to use checksums |
9c2f0c235c4863815c028821f8dc4206e46ad6cde9c248d1c2ecac52fe1bf6df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.4
|