alphav_client_python
A simple API client for the AlphaVantage API: https://www.alphavantage.co/documentation/
Desenvolvido durante o curso > InovAção Afro - CESAR / SHARE RH
by @blogdomarcio (Claudio Marcio)
Time Series Stock APIs
Funções:
- intraday_series
- daily_series
- daily_adjusted_series
- weekly_series
- weekly_adjusted_series
- monthly_series
- monthly_adjusted_series
- quote_series
from alphav_client_python import stock_series
stock = stock_series.StockTimeSeries()
d1 = astock.intraday_series('TIME_SERIES_WEEKLY', 'IBM', 60min', slice='year1month1')
print('intraday_series', d1)
d2 = stock.daily_series('TIME_SERIES_WEEKLY', 'IBM',)
print('daily_series', d2)
d3 = stock.daily_adjusted_series('TIME_SERIES_WEEKLY', 'IBM',)
print('daily_adjusted_series', d3)
d4 = stock.weekly_series('TIME_SERIES_WEEKLY', 'IBM')
print('weekly_series', d4)
d5 = stock.weekly_adjusted_series('TIME_SERIES_WEEKLY', 'IBM',)
print('daily_series', d5)
d6 = stock.monthly_series('TIME_SERIES_WEEKLY', 'IBM',)
print('daily_adjusted_series', d6)
d7 = stock.weekly_adjusted_series('TIME_SERIES_WEEKLY', 'IBM',)
print('daily_series', d7)
d8 = stock.monthly_series('TIME_SERIES_WEEKLY', 'IBM',)
print('daily_adjusted_series', d8)
Crypto Currencies
Função:
currency_exchange_rate
from alphav_client_python import cryptocurrencies
crypto = cryptocurrencies.CryptoCurrencies()
d1 = crypto.currency_exchange_rate('CURRENCY_EXCHANGE_RATE', 'BTC', 'CNY',)
print('Realtime Currency Exchange Rate', d1['Realtime Currency Exchange Rate'])
Technical Indicators
Funções:
- sma
- ema
from alphav_client_python import tecnical_indicators
tech = tecnical_indicators.TechnicalIndicators()
d1 = tech.sma('SMA', 'IBM', 'weekly', '10', 'open')
print('sma', d1['Technical Analysis: SMA'])
d2 = tech.ema('EMA', 'IBM', 'weekly', '10', 'open')
print('ema', d2['Technical Analysis: EMA'])
Metadata
Release files for blogdomarcio-alphav-client-python 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blogdomarcio-alphav_client_python-0.0.1.tar.gz | 16.0 kB | Without provenance | Details for blogdomarcio-alphav_client_python-0.0.1.tar.gz |
Release files / blogdomarcio-alphav_client_python-0.0.1.tar.gz
| Download URL | blogdomarcio-alphav_client_python-0.0.1.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6eddae986abea5dce69149eb508dc58569cced4df50c4aae8ac35dd75ad8746c
|
|
BLAKE2b-256 checksum How to use checksums |
3d5c66aa3ca784ac9e94966c67a109168d3b1ebfe89f5ae548dcae6a393a5946
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for blogdomarcio-alphav-client-python 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.