Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Read csv file from Yahoo Finance
#1
I am trying use of url as below with error. But I tried url manually ok. Please advise. Thanks

import pandas as pd
import numpy as np
url = f'https://query1.finance.yahoo.com/v7/finance/download/X.TO?period1=1410148800&period2=1567915200&interval=1d&events=history&crumb=.ZKRNIaomp4'
a = np.array(pd.read_csv(url,skiprows=7,header=None))
Quote

Top Page

Messages In This Thread
Read csv file from Yahoo Finance - by ian - Sep-09-2019, 02:30 AM
RE: Read csv file from Yahoo Finance - by scidam - Sep-09-2019, 05:43 AM
RE: Read csv file from Yahoo Finance - by ian - Sep-09-2019, 07:47 PM
RE: Read csv file from Yahoo Finance - by ndc85430 - Sep-22-2019, 06:47 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Read file Into array with just $0d as Newline lastyle 5 373 Feb-03-2020, 11:58 PM
Last Post: lastyle
  IDE for Finance TIME SERIES Data Trader2013 2 171 Jan-19-2020, 04:44 PM
Last Post: danielgoldfarb
  Can't read text file with pandas zinho 4 2,361 May-23-2019, 05:31 PM
Last Post: zinho
  read complex file with both pandas and not Diedro 1 669 Jan-29-2019, 05:26 PM
Last Post: Larz60+
  read from txt. file in certain manner SchroedingersLion 13 1,927 Aug-07-2018, 04:14 PM
Last Post: SchroedingersLion
  1 I cant read many stocks(list) with pandas-datareader from yahoo Davidii111 1 1,802 Dec-27-2017, 04:47 PM
Last Post: nilamo
  Downloading data from Yahoo finance Alberto 2 7,722 Jun-26-2017, 04:50 AM
Last Post: snippsat
  Need help in framing data read from wav file Vishweshkumar 1 1,619 Feb-10-2017, 01:45 PM
Last Post: sparkz_alot

Forum Jump:


Users browsing this thread: 1 Guest(s)