Financ...Fundata(3pm)

πŸ“¦
version 1.59 Β· 3 versions
, in ubuntu noble

πŸ’– Financ...Fundata(3pm) β€” or like, Finance::Quote::Fundata bestie πŸ’–

okay so this is a page from the User Contributed Perl Documentation section of the manual, and it's all about getting Canadian mutual fund quotes from Fundata. pull up a chair, we're doing finance but make it cute. πŸŽ€


✨ NAME ✨

Finance::Quote::Fundata β€” Obtain Canadian mutual fund quotes from Fundata

that's literally it. that's the whole vibe. she fetches, she's Canadian, she's about mutual funds. πŸ‘‘


🌸 SYNOPSIS 🌸

like, here's how you'd actually call her:

use Finance::Quote;

$q = Finance::Quote->new;

%info = Finance::Quote->fetch("fundata","234263");

so you make your Finance::Quote object, and then you fetch with "fundata" as the source and the symbol as a string. in this example the symbol is "234263". yes bestie, as a string, we'll get to why. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the tea: this module fetches mutual fund information from Fundata. mutual fund info, from Fundata. that's the assignment and she ate. πŸ”₯

now here's the thing you actually need to know β€” the mutual fund symbols on the site are specified numerically. numbers. digits. not cute little ticker letters. 😭

so how do you figure out which number is your fund? the manual says the best way is to:

  1. navigate to the site 🌐
  2. search for the relevant mutual fund πŸ”
  3. note the "IID=#####" which appears in the URL πŸ‘€

that IID=##### is your girl. that's the number you feed in. iykyk. ✨

and then β€” and this is the part where she's being considerate, which we love β€” in order to not tax the provider with too many requests, by default the module limits requests to 3 every 10 seconds. three. per ten seconds. she's pacing herself. she's not gonna spam Fundata. she's respectful. we stan a polite module. 🫢

fr fr, if you're sitting there hammering it and wondering why things are slow β€” it's not broken, it's throttled, and it's throttled on purpose.

πŸŽ€ LABELS RETURNED πŸŽ€

the following labels may be returned by Finance::Quote::Fundata:

  • symbol
  • name
  • method
  • source
  • timezone
  • isodate
  • nav
  • currency

that's the whole roster bestie, all eight of them, no more no less. πŸ’œ


🌈 SEE ALSO 🌈

lowkey iconic behaviour: this section is just... here. sitting pretty. nothing listed under it. she showed up to the party with an empty guest list and honestly? respect. πŸ’€


okay that's the whole page, you're fully caught up, go get those mutual fund quotes 🧚

and for the record β€” this doc is from perl v5.36.0, dated 2024-01-01, brought to you by the User Contributed Perl Documentation crew. πŸ’– bye bestie, slay responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from