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

AlphaVantage: Random data in downloaded adjusted time series

I download adjusted time series from AlphaVantage using the following call (you need to insert your own API key): https://www.alphavantage.co/query?function=TIME_SERIES_daily_adjusted&symbol=^GDAXI&outputsize=full&apikey=yourAPIkey Next, I look at…
diephy
  • 1
0
votes
1 answer

API error when requesting full size data from Alphavantage

I am working on analysing some historical stock market data for Australian shares. I am using Alphavantage as my API to get the actual data. My problem relates specifically to the TIME_SERIES_DAILY function with FULL outputsize. For some shares, I…
wgb22
  • 247
  • 1
  • 13
0
votes
1 answer

While iterating through a stdClass object in PHP I don't manage to get one Variable ( the Date )

Similar to this post: iterating through a stdClass object in PHP But I need to just get the Date [2020-03-20],[2020-02-28] variable of this stdClass Object: stdClass Object ( [2020-03-20] => stdClass Object // <- this is what I need ( …
sebseb
  • 93
  • 1
  • 1
  • 8
0
votes
1 answer

Using Handlebars to access Alpha Vantage API

I am trying to access the Meta Data object in the API using Handlebars.js but in the console I keep getting an error saying "Missing Helper: Meta". I am not sure what is causing this any help is appreciated.
Deep Patel
  • 33
  • 1
  • 6
0
votes
1 answer

JSON error while using Pandas output format

I am using alpha_vantage Timeseries API like below: -----------------------------------------code------------------------------------ import pandas as pd from alpha_vantage.timeseries import TimeSeries from alpha_vantage.techindicators…
Newbie
  • 21
  • 1
0
votes
2 answers

Pandas can't find columns, ValueError

import numpy as np import matplotlib.pyplot as plt import pandas as pd symbols = ["AAPL", "GLD", "TSLA", "GBL", "GOOGL"] def compare_security(symbols): start_date = "01-01-2019" end_date = "01-12-2020" dates = pd.date_range(start_date,…
VEQ
  • 5
  • 5
0
votes
1 answer

C# AlphaVantage.NET: How-to use Proxy

I want to use this library AlphaVantage.NET. I've tried the demo string apiKey = "1"; // enter your API key here var client = new AlphaVantageStocksClient(apiKey); // retrieve daily time series for stocks of Apple Inc.: StockTimeSeries timeSeries…
0
votes
1 answer

Alpha Vantage Daily Information Call Import Error

I have recently attempted to utilise Alpha Vantage, a financial API, to attain stock market information concerning a provided stock, Microsoft; in order to complete this, I have utilised the module information provided upon the official module…
Suren Grig
  • 75
  • 1
  • 1
  • 11
0
votes
0 answers

Python IDLE Alpha Vantage Module Import Error In Technical Analysis Program

I have recently attempted to retrieve financial information concerning the price of a particular stock within Python, with the integrated development environment IDLE; in order to complete this task, I am attempting to utilise a Python module known…
Suren Grig
  • 75
  • 1
  • 1
  • 11
0
votes
1 answer

How to get nifty and sensex data using Alpha Vantage api key

Is possible to get nifty 50 data using Alpha Vantage? Also the current price of gold?
0
votes
1 answer

Alpha Vantage error when symbol has digits

I'm trying to get quotes for an Australian stock with ticker A200.AX (aka A200.AUS) from Alpha Vantage. I have no issues getting other symbols from the AX market,…
Ant
  • 790
  • 7
  • 18
0
votes
0 answers

getting OHLCV data for multiple stocks with getSymbols.av function from quantmod R package from alpha vantage

Could you please anybody give a working example for the getting OHLCV data for multiple stocks with getSymbols.av function from quantmod R package from alpha vantage? This is what I've tried for example: getSymbols.av(c("JYNT","APPS"),env =…
0
votes
1 answer

Alphavantage.co : Historical data is unable to fetch with 5 min interval

I am trying to fetch the historical data using Alpha Vantage API. Whenever I try to get historical data with 5-minute intervals by using the URL in the browser, it only displays one month of data. I think it should display more than one month of…
enayath
  • 11
  • 4
0
votes
1 answer

Why am I getting partial data from Alpha Vantage API using R (Issue occurs only during market hours)?

I am using the Alpha Vantage API for getting real-time stock data. The issue I am facing with the Indian market stocks(NSE) is that I am only getting partial data during market hours. For Example: This is how the output is during market hours. The…
0
votes
0 answers

Creating Angular/Typescript Interface for parsing Alpha Vantage API JSON return values

I'm creating a project in Angular that uses the Alpha Vantage API to look up stock prices and display historical stock data in a graph, but I'm having trouble creating an interface to store the JSON string that I get back from the API call. I'm…