Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Current State of Financial Data Available to Perlby bliako (Monsignor) |
on Sep 26, 2022 at 12:43 UTC ( [id://11147131]=note: print w/replies, xml ) | Need Help?? |
I resent the pessimism and I resent the mention of that dreaded python for any use really. As if it is the standard technology (standard it may has become, but technology it isn't). Albeit, my resentment is in a friendly way :) So, in short, do not despair. What stops you from getting a yummy, juicy json chunk from this endpoint of Yahoo's finance services: https://query1.finance.yahoo.com/v10/finance/quoteSummary/API?modules=financialData ???? Why can't you scrape that with Perl (assuming you want to)? In absence of a better link (API is also a stockmarket symbol, LOLz) this will get you started (you can safely ignore their recommended tools and use wget or curl from the CLI to start, and then LWP::UserAgent and JSON for cooking a super-duper, Perl stock scrapper and all that without parsing ANY html whatsoever): https://syncwith.com/yahoo-finance/yahoo-finance-api I do not want to take the fun from your hands so I will not supply any working code, but if you need more help, let us know, bw bliako Edit: and here is an endpoint providing endless pessimism: https://query1.finance.yahoo.com/v7/finance/quote?symbols=GBPUSD=X&fields=regularMarketPrice
In Section
Seekers of Perl Wisdom
|
|