Skip to main content

The package fetch stock data from cnbc.

Project description

Information

This package to fetch data from cnbc

Installation

pip install cnbcfinance  --upgrade

Get History by interval

  • Get data by interval and period
from cnbcfinance.cnbc import Cnbc

cnbc = Cnbc('AAPL')
df = cnbc.get_history_df('5M', proxy='138.201.120.214:1080')

Get Quote

  • Get quote data realtime
from cnbcfinance.cnbc import Cnbc

cnbc = Cnbc('AAPL')
quote = cnbc.get_quote(proxy='184.180.90.226:8080')

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

cnbcfinance-0.0.4.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

cnbcfinance-0.0.4-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

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