You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bschuck@valhalla:~$ gnc-fq-dump yahoo_json M
Finance::Quote fields Gnucash uses:
symbol: M <=== required
date: 03/04/2022 <=== recommended
currency: USD <=== required
last: 24.8 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
bschuck@valhalla:~$ gnc-fq-dump yahoo_json 'M&M.NS'
Finance::Quote fields Gnucash uses:
symbol: M&M.NS <=== required
date: 03/04/2022 <=== recommended
currency: USD <=== required
last: 24.8 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
bschuck@valhalla:~$ gnc-fq-dump yahoo_json 'M%26M.NS'
Finance::Quote fields Gnucash uses:
symbol: M%26M.NS <=== required
date: 03/04/2022 <=== recommended
currency: INR <=== required
last: 732.3 <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
FYI - Attempts to use Alphavantage method did not work.
bschuck@valhalla:~$ gnc-fq-dump alphavantage 'M\&M.NS'
Finance::Quote fields Gnucash uses:
symbol: M\&M.NS (deduced) <=== required
date: ** missing ** <=== recommended
currency: ** missing ** <=== required
last: <=\
nav: <=== one of these
price: <=/
timezone: <=== optional
** This stock quote cannot be used by GnuCash!
bschuck@valhalla:~$ gnc-fq-dump alphavantage 'M%26M.NS'
Can't use an undefined value as a HASH reference at /home/bschuck/PerlLibs/Finance/Quote/AlphaVantage.pm line 228.
The text was updated successfully, but these errors were encountered:
I just realized the initial reporter on rt.cpan.org did not specify which source was being utilized. While the quote is available using the YahooJSON module, it is not a security offered in data from AlphaVantage and other sources.
From https://rt.cpan.org/Ticket/Display.html?id=133159:
Finance:: Quote retrieves quote for ‘M’ corresponding to Macy’s instead of ‘M&M.NS’. The stock symbol stands for Mahindra & Mahindra, an Indian auto company (https://www.nseindia.com/get-quotes/equity?symbol=M%26M).
FYI - Attempts to use Alphavantage method did not work.
The text was updated successfully, but these errors were encountered: