Skip to main content

The package fetch stock data from cnbc.

Project description

Information

This package to fetch data from cnbc

Get History by interval

  • Get data by interval and period

Get Quote

  • Get quote data realtime

Installation

0. Prerequisites

Make sure you have the following software installed on your system:

  • Python 3.3+

1. Install CNBCFinance

1.1 Install cnbcfinance

cd cnbcfinance

# Create an isolated Python virtual environment
pip install virtualenv
virtualenv ./virtualenv --python=$(which python3)

# Activate the virtualenv
# IMPORTANT: it needs to be activated every time before you run
#            a manage.py or cointrol-* command.
. virtualenv/bin/activate

# Get the code
git clone https://github.com/dearvn/cnbcfinance

# Install Python requirements
pip install -r requirements.txt

# Initialize the database
cointrol/manage.py migrate

# Install cnbcfinance-*
pip install -e .

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.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

cnbcfinance-0.0.1-py3-none-any.whl (4.4 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