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)
Built Distribution
Close
Hashes for cnbcfinance-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09fefb8095414f55b27154c719d766ed81b074f043b6d4843b46f54c6a2ca987 |
|
MD5 | 137d5229514c0442a7cef5a7bc64e089 |
|
BLAKE2b-256 | 6669b86eb16facb049d49a0155f076f827cdc3162d169c3280bbd7a8c51296be |