Skip to main content

stock price index wrapper.

Project description

Installation

$ python setup.py install

or can use pip

$ pip install pyprice

Quick start

Terminal

$ pyprice kospi
KOREA SE KOSPI IDX / KOSPI
Current Price: 2,087.89 (14.98, 0.72%)
Market: Korea Stock Exchange (Koscom)

$ pyprice search face
Name: Frost Growth Equity Fund Investor Class Shares
Keyword: FACEX
Market: NASDAQ

Name: Facebook
Keyword: FB
Market: NASDAQ

Python

>>> from pyprice.index import search
>>> search('samsung')
[[{'c': 'US', 'd': 'SSNLF', 'it': 'CS', 's': 'SSNLF', 'cnn': 'SSNLF', 'n': 'Samsung Electronics Co Ltd', 'lt': 'IssueNameFast.5.0', 'e': 'Grey Market', 'w': '260239'}]]

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

pyprice-0.1.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page