Skip to main content

Get the stock price of banks and Organization of Nepal.

Project description

Introduction
----------
- Python module to get Nepse Price and other info.
- Easy to install and Simple to use.
- Thanks to nepalstock.com for the data.
- Works on python 2.7+ and python 3
- All the date are in AD

To install
$ python setup.py install


Dependencies
----------

* BeautifulSoup4
* requests


Usage
----------

>>> from nepserate import ScrapeRate
>>> rs = ScrapeRate()

>>> rs.getRate("ADBL") # 'ADBL' is the symbol of the orgranization for more reger to docs/SymbolList.rst
{'high': u'Rs. 514', 'previous_close': u'Rs. 506', 'percent_change': u'-0.20', 'net_change': u'Rs.-1', 'last_traded_date': '2014-10-22', 'ADBL': 'Agricultural Development Bank Ltd', 'last_traded_price': '505', 'low': u'Rs. 495'}

Also you can request to the data of previous date

>>> rs.getRate("ADBL", "2013-12-10")
{'previous_close': u'396', 'amount': u'11,496,761', 'min_price': u'391', 'total_share': u'28,690', 'date': '2013-12-10', 'number_of_transaction': u'192', 'closing_price': u'400', 'difference_rs': u'4', 'ADBL': 'Agricultural Development Bank Ltd', 'max_price': u'405'}


Reference
----------
- Symbol list of the Banks and Organization (https://github.com/acsudeep/nepserate/blob/master/docs/SymbolList.rst)


Problem
---------
Tweet me [@acsudeep](http://twitter.com/acsudeep)

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

nepserate-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file nepserate-0.1.0.tar.gz.

File metadata

  • Download URL: nepserate-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nepserate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bed5a7968b07f5e1332ab21d20c1af43124da8c7d545597d11067ebf85a1204e
MD5 f15d53f56485bcffc838d50ad5ed69e1
BLAKE2b-256 9553790b579bbc875919f3d5c53d8a097dd1c83d2b956afb93dba0b78e3cbd79

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