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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cnbcfinance-0.0.4.tar.gz.
File metadata
- Download URL: cnbcfinance-0.0.4.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8161491cf6429bbfe3af202b10e8abb715b8b0218a3a1d2c4ecf7fb1a365018b
|
|
| MD5 |
e7615ada79e829779659b8926819cfa8
|
|
| BLAKE2b-256 |
65a0000946c0d1e5f27452bfbf860c7de9285f8ce46f15bc95a754abdd4a4e44
|
File details
Details for the file cnbcfinance-0.0.4-py3-none-any.whl.
File metadata
- Download URL: cnbcfinance-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba0a9bd87a4356d229c5239b8e521d53c8db2d54788799206ffcd7c86e7fc21b
|
|
| MD5 |
19630b784e64b3aa2bed66a4d488da9e
|
|
| BLAKE2b-256 |
3a80d8331e08e0a204723000de7a6bd7cb97d5cdf5a45b525cbbeaa90e5a1d5c
|