Comments (8)
I see, the currency 'PLN' is hardcoded in the module. I believe the author used it only for local, Polish securities.
Unfortunately Stooq.pl doesn't provide currency in the response. Example:
"CDR,20220928,170433,103,106.5,100.7,105.76,833851,"
which is:
Name,Trade Date,Trade Time,Open,Max,Min,Price,Volume,Unknown
I asked Stooq.pl via e-mail about this aspect.
from finance-quote.
All other modules always provide the currency of a security on request? I mean, is it obligatory? Or is it possible to just request the numbers?
I'm only a hobby-programmer and I don't know Perl (but that's not the first unknown language I'm contributing to, so maybe I'll manage to). I'm in contact with stooq.pl, they've already answered me but requested more details before they give information.
from finance-quote.
The primary "user" of F::Q is GnuCash, and it requires that F::Q return a currency with the quote.
from finance-quote.
They answered that currently there's no API that gives back the currency
from finance-quote.
Nevertheless, I updated the module (as it was a dozen years old) and uploaded it to a newly created repo https://github.com/Kaligula0/Stooq-for-Finance-Quote – just in case someone would like to test it / use it / take care of it / get things done.
from finance-quote.
Actually data shown from a URI such as https://stooq.com/q/?s=ena does have the currency.
<a href=[t/?i=60](https://stooq.com/t/?i=60)>zł</a>
from finance-quote.
Yes. The website shows everything. But the price is not included in the API response.
That would require web-scraping. Is that efficient?
from finance-quote.
A number of the F::Q modules extract pricing data using web scraping.
from finance-quote.
Related Issues (20)
- HTTP Failure : 500 LWP:Protocol:https:socket HOT 1
- Does FQ_LOAD_QUOTELET no longer support `-defaults`? HOT 5
- perl didn't pass in enough information to figure out what went wrong HOT 9
- Wrong quote retrieved when syock symbol contains '&' HOT 3
- did not run HOT 8
- TSP URL Changed HOT 3
- XAU and XAG prices other than USD or EUR HOT 1
- Import Stock or Fund Transactions HOT 3
- Union.pm needs rework HOT 20
- Trustnet service not available HOT 3
- AlphaVantage.co function CURRENCY_EXCHANGE_RATE no longer accepts free API keys. HOT 3
- How to make the module from source? HOT 4
- Cannot import from AEX to Gnucash HOT 9
- Unable to install Version 1.53 Release Candidate 1 HOT 1
- New Module request - custom/localhost HOT 2
- Finance::Quote currency lookup for XAU/XAG failing HOT 1
- Add method to iterate over models with API keys HOT 5
- Some currency pairs are not available directly but could be obtained via a detour. HOT 6
- cannot get quotes in gnucash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finance-quote.