romeltorres / av_example Goto Github PK
View Code? Open in Web Editor NEWExamples on how to use the alpha vantage library
License: MIT License
Examples on how to use the alpha vantage library
License: MIT License
There is not function 'get_batch_stock_quotes' in the TimeSeries:
When I call data, meta_data = ts.get_batch_stock_quotes(symbols=('MSFT', 'FB', 'AAPL'))
I receive the error message: 'TimeSeries' object has no attribute 'get_batch_stock_quotes'
Please add the "Quote Endpoint" function
https://www.alphavantage.co/documentation/#latestprice
#A lightweight alternative to the time series APIs, this service returns the latest price and volume information for a security of your choice.#
The alpha vantage documentation says that for currency exchanges both can be a crypto. However, I get an error when market is crypto:
data, meta_data = cc.get_digital_currency_daily(symbol='BTC', market='ETH')
/usr/local/lib/python3.6/dist-packages/alpha_vantage/alphavantage.py in _handle_api_call(self, url)
335 'Error getting data from the api, no return was given.')
336 elif "Error Message" in json_response:
--> 337 raise ValueError(json_response["Error Message"])
338 elif "Information" in json_response and self.treat_info_as_error:
339 raise ValueError(json_response["Information"])
ValueError: Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for DIGITAL_CURRENCY_DAILY.
Documentation from https://www.alphavantage.co/documentation/:
โ Required: function
The function of your choice. In this case, function=CURRENCY_EXCHANGE_RATE
โ Required: from_currency
The currency you would like to get the exchange rate for. It can either be a physical currency or digital/crypto currency. For example: from_currency=USD or from_currency=BTC
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.