Questions tagged [alpha-vantage]

For programming questions about the Alpha Vantage APIs, which provide real-time and historical data on stocks, foreign exchange markets, and digital and crypto currencies. Use with a language tag like [python].

Alpha Vantage provides APIs for real-time and historical data on stocks, foreign exchange markets, and digital and cryptocurrencies. The APIs for JSON and CSV formats are free. The community provides over 100 libraries on GitHub.

Documentation

Example Node Project:

$ npm i alphavantage

---- 

import {AlphaVantage} from '../models/AlphaVantage'

async function() {
    const data =  await alpha.data.weekly('msft', 'compact', 'json')
}
231 questions
0
votes
1 answer

Fetch API information for stocks with ^ in the ticker name

I need some help calling the AlphaVantage stock market API. For the most part, it works nicely but when it comes to requesting data from stocks that have an ^ symbol in their ticker, something goes wrong. I get the API response with this code: var…
user8603220
0
votes
1 answer

Alpha Vantage stockinfo only collects 4 dfs properly formatted, not 6

I can get 4 tickers of stockinfo from Alpha Vantage before the rest of the DataFrames are not getting the stockinfo I ask for. So my resulting concatenated df gets interpreted as Nonetype (because the 4 first dfs are formatted differently than the…
Excaliburst
  • 143
  • 1
  • 4
  • 15
0
votes
2 answers

Reasonable stock price information for commerical site (not alpha vantage or quandl)?

The previous threads about stock price information seems to be very old on SO and the answers there mainly seems to be alpha vantage which i cant use for my situation (I have tried it and communicated with them but they dont provide the data the way…
exceed
  • 459
  • 7
  • 19
0
votes
1 answer

Want to view json metadata

I am trying to build an app that displays Currency exchange rates using the Alpha Vantage API for iOS. I have built the functions but can't figure out how to access the exact json value which is "5. Exchange Rate". Here is some of the code and the…
devdchaudhary
  • 467
  • 2
  • 13
0
votes
1 answer

Alpha Vantage API Define Proxy Python

I am using Alpha Vantage API and python. I was able to successfully install alpha vantage on my machine. Unfortunately I am working in a corporate environment where I have to define a proxy. So this line of code works perfectly fine for me: from…
clex
  • 465
  • 2
  • 7
  • 19
0
votes
3 answers

Error Parsing JSON Data Android Studio with Alpha Vantage

Hello I am having issues getting Alpha Vantage api to work how I want. All I want to get is the last days close price. I am not exactly sure what I am doing wrong. A the moment my only goal is to simply change to TextView "tvStockClose" the last…
Stephan
  • 1
  • 3
0
votes
1 answer

Getting data from JSON for further use

I am very new to this. But what I am trying to achieve eventually is the plotting of a real time graph of stock data onto a webpage. I have the following code that takes the data from the Alpha Vantage API and returns in JSON. var apiKey =…
user4190704
0
votes
1 answer

Alpha vantage Multiple stockprices, few requests

I'm currently working on a stockdashboard for myself using the alpha vantage REST API. My problem is that I want to get many stockprices from a list of tickers that I have, without using many requests to get all the prices from all the stocks. And…
-1
votes
0 answers

alpha vantage not working ('Error getting data from the api, no return was given.')

i have a problem with alpha vantage, since 2 hours ago this code worked but now it doesn't it gives me this error: 'Error getting data from the api, no return was given.' i don' t know what happened import pandas as pd from datetime import…
hiro
  • 1
  • 1
-1
votes
1 answer

Use Multiple API Keys To Get Around Rate Limiting In APIs for NodeJS

My client has two API keys for Alpha Vantage with a limit of 5 requests per minute. If the limit on one is reached, then I want to use the other. I am using MongoDB as a database. I was thinking that we can store a variable in MongoDB, but I'm…
Akash
  • 762
  • 7
  • 25
-1
votes
1 answer

alphavantage: how to get NSE nifty 50 and nifty 100 stock symbols

trying to get historical data of NSE stocks in below intervals: 5Min,1Hour and day. So how to get Nifty 50 and nifty 100 stock symbols to access data through Alphavantage API.
enayath
  • 11
  • 4
-1
votes
1 answer

Google sheet and Script editor under debug returns different resut

I am using Google Sheet to retrieve information from Alpha Vantage. If I run the below code under debug and inspect variable v, v has the data that I want. If I call the function in a sheet, it return "Thank you for using Alpha Vantage! Our…
Leon
  • 33
  • 1
  • 1
  • 6
-1
votes
1 answer

How do I get just the current price with Alpha Vantage API

I've been using the python Alpha Vantage API to get data about Bitcoin but now I need to get just the price. My code gives me this output, {"Realtime Currency Exchange Rate": {"1. From_Currency Code": "BTC", "2. From_Currency Name": "Bitcoin", "3.…
Random Studios
  • 385
  • 1
  • 2
  • 7
-1
votes
1 answer

Error using Alpha Vantage while following tutorial, - Pylint error

I'm learning about the alpha vantage package, and I've have been following this tutorial https://www.youtube.com/watch?v=JJO9fKj3_u4 by Derrick Sherrill, but I have run into some problems. Here is my code: import pandas as pd from…
Lars Kvist
  • 59
  • 6
-1
votes
1 answer

Can i pull data of multiple companies using the Alphavantage API?

For example, if I want to list out all the stocks on NSE/BSE and their closing price, is there a way to do this without using the API for each individual stock? Can you pull data of more than one company from the API without using the URL…
1 2 3
15
16