Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

214
Views
How to display data to Trading view chart using Alpha Vantage API?
fetch('https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=IBM&apikey=demo')
.then(res => res.json())
.then(data => {
const cdata = data.map(d => {
{time:d[0],open:[1],high[2],low[3],close[4]} 
});
candleSeries.setData(cdata);
})
.catch(err => log(err))

This My API DATA

When I run this code, there have an error like data.map is not function

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Maybe you should Add Return before {time:d[0],open:[1],high[2],low[3],close[4]}

It's Like this return {time:d[0],open:[1],high[2],low[3],close[4]}

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!