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
-1
votes
1 answer

How do I isolate a .json file?

I was trying to split some parts of a .json, to completely isolate parts of a .json file from an API I found. This is trying to isolate the open share price of any stocks on the internet. I've consulted with Stack Overflow, but I think I may have…
ali syed
  • 3
  • 3
-2
votes
1 answer

Why am I getting an empty struct from JSON Decoder?

I'm trying to make an API call to AlphaVantage's Income Statement endpoint and then unmarshal the response into my IncomeStmt struct. It's not throwing any kind of error but when I try to print the result, I'm getting &{ [] []} as the value of…
Zac
  • 59
  • 1
  • 2
  • 11
-2
votes
1 answer

Adding a new "column" to and existing dictionary in Python

How do I add data to the "second depth" of a dictionary. I am pulling data from the Alphavantage API and the data comes out in a dictionary format like this: {'2021-01-28 20:00:00': {'1. open': '68.6200', '2. high': '68.8000', '3. low': '68.5500',…
-2
votes
1 answer

alphavantage bist100 api does not respond

I'm trying to retrieve bist100 values using api, but it returns empty. https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=XU100.IS&interval=5min&apikey=MYKEY
-2
votes
1 answer

How to fetch only a part of JSON data using swift?

I'm seeking to fetch data from an API JSON format using swift. The API data have the following structure: { "Meta Data": { "1. Information": "Intraday (5min) open, high, low, close prices and volume", "2. Symbol": "IBM", …
Khashayar
  • 357
  • 3
  • 12
-2
votes
2 answers

Alpha Vantage client too slow

I have this very simple PHP call to Alpha Vantage API to fill a table (or list) with NASDAQ stock prices:
chancar
  • 59
  • 1
  • 11
1 2 3
15
16