https://github.com/tariqdaouda/pyalphavantage
Accurate Free Stock Market, Forex and Crypto, ... data from the AlphaVantage API
https://github.com/tariqdaouda/pyalphavantage
api buisness crypto cryptocoins cryptocurrencies cryptocurrency cryptocurrency-exchanges finance financial-analysis financial-data financial-markets forex-market forex-trading stock-market trading
Last synced: about 1 year ago
JSON representation
Accurate Free Stock Market, Forex and Crypto, ... data from the AlphaVantage API
- Host: GitHub
- URL: https://github.com/tariqdaouda/pyalphavantage
- Owner: tariqdaouda
- License: apache-2.0
- Created: 2019-03-19T16:43:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-19T23:40:20.000Z (about 7 years ago)
- Last Synced: 2025-03-26T06:41:44.800Z (about 1 year ago)
- Topics: api, buisness, crypto, cryptocoins, cryptocurrencies, cryptocurrency, cryptocurrency-exchanges, finance, financial-analysis, financial-data, financial-markets, forex-market, forex-trading, stock-market, trading
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 9
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyAlphaVantage
A mighty small (thanks to a bit of **Black_Magic**) python package for all AlphaVantage financial API. Retrieve both historical and current financial data for stocks, forex and crypto, ...
plus some nice metrics.
## Step 1
Install it however you want (git clone / pip)
## Step 2 use it
```python
import pyAlphaVantageAPI.AlphaVantageAPI as AVA
api = AVA.AlphaVantage(api_key=)
#make a call with arguments as definied in AlphaVantage documentation
data = api.TIME_SERIES_DAILY_ADJUSTED(symbol=SYMBOL, datatype="csv", outputsize="full")
```
*TIME_SERIES_DAILY_ADJUSTED* can be replaced by any function in the documentation as long as it is part of the API and defined in *api.functions_defs*.
## Adding a function to definitions can be done using
```python
api.add_function_definitions(function_name, argument_list)
```
## To know all functions available
```python
api.get_available_functions()
```
## To know the arguments of an available function
```python
api.get_function_arguments(function_name)
```
# That's it
Cheers,
T.