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)
Built Distribution
Close
Hashes for cnbcfinance-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba0a9bd87a4356d229c5239b8e521d53c8db2d54788799206ffcd7c86e7fc21b |
|
MD5 | 19630b784e64b3aa2bed66a4d488da9e |
|
BLAKE2b-256 | 3a80d8331e08e0a204723000de7a6bd7cb97d5cdf5a45b525cbbeaa90e5a1d5c |