[R-SIG-Finance] Yahoo Finance Stock data (FTSEMIB.MI) Issue

Rasmus Liland jr@| @end|ng |rom po@teo@no
Fri Jun 19 17:48:08 CEST 2020


On 2020-06-18 21:08 +0200, Daniel Cegiełka wrote:
> On 18 Jun 2020, at 19:48, Rasmus Liland wrote:
> > 
> > Dear Daniel Cegiełka,
> 
> Daniel :)

Ok, Daniel it is then :)

> > Are you (or others) able to elaborate 
> > more on how you determined the headers to 
> > send?
> 
> Let's start that web scraping is probably 
> legal now (in US):
> 
> https://towardsdatascience.com/web-scraping-is-now-legal-6bf0e5730a78

So as long as you don't log in to Facebook 
through your bot, it seems to be legal at 
least :/

> Scraping requires some experience and 
> intuition. There is no other way than web 
> debugging - and each one is different.  
> However, current web browsers are very 
> powerful and have many useful add-ons.  
> Sometimes it takes a minute, and sometimes 
> it requires a lot of work. A good source 
> for learning is getSymbols:
> 
> https://github.com/joshuaulrich/quantmod/blob/master/R/getSymbols.R
> 
> And
> 
> https://stackoverflow.com/questions/44030983/yahoo-finance-url-not-working

Such a well balanced answer, every website 
being different, right, so it depends on 
whether you meet an interface like Angular 
like Yahoo changed to. 

Thanks for good pointers on this. 

Best,
Rasmus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20200619/2f8548dd/attachment.sig>


More information about the R-SIG-Finance mailing list