Git Product home page Git Product logo

av_example's Issues

Can market be crypto too?

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

No get_batch_stock_quotes ?

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.