Financ...MStaruk(3pm)

πŸ“¦
version 1.54 Β· 2 versions
, in debian bookworm

πŸ’– Finance::Quote::mstaruk β€” the tea on UK Unit Trust quotes πŸŽ€

okay bestie, sit down, we're talking about Finance::Quote::mstaruk (manual page Financ...MStaruk(3pm), if you're being formal about it). She's a Perl module, she pulls quotes from morningstar.co.uk, and she's honestly kinda iconic for it. Let's get into it πŸ’…


✨ NAME ✨

Finance::Quote::mstaruk β€” grab UK Unit Trust quotes from morningstar.co.uk. that's the whole job description, no notes πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

$q = Finance::Quote->new;

%info = Finance::Quote->fetch("mstaruk","<isin> ...");  # Only query morningstar.co.uk using ISINs
%info = Finance::Quote->fetch("ukfunds","<isin> ...");  # Failover to other sources

look at that. two whole vibes. pick your fighter ⭐


🌸 DESCRIPTION 🌸

so this module goes and fetches info from the MorningStar Funds service, http://morningstar.com/uk/. and there are SO many UK Unit Trusts and OEICs quoted over there, plus a whole crowd of Offshore Funds and Exchange Traded Funds (ETFs) too. it's giving crowded. it's giving thriving.

here's the cute part: anything quoted in GBX (pence) gets converted to GBP, and she does it by dividing the price by 100 in the process. math but make it slay πŸ”₯

funds are identified by their ISIN code. that's the whole key. iykyk πŸ”‘

this module is loaded by default on a Finance::Quote object β€” she's a default girlie, she comes pre-installed in the vibe. but if you wanna load her explicitly, just drop "mstaruk" into the argument list you pass to Finance::Quote->new(). your call, both work 🫢

heads up bestie: information obtained by this module may be covered by funds.ft.com terms and conditions. check http://morningstar.co.uk for the deets. read the fine print, it's giving responsible πŸ’€

πŸ‘‘ Stocks And Indices πŸ‘‘

this module serves up both the "mstaruk" and "ukfunds" fetch methods, for pulling UK and Offshore Unit Trusts and OEICs prices plus other info from funds.ft.com.

so which one do you pick? listen:

  • use the "ukfunds" fetch method if you want failover with future sources for UK and Offshore Unit Trusts and OEICs. the author has plans to develop Finance::Quote modules for other sources providing unit trust prices β€” so this one's got ✨future✨ energy.
  • use the "mstaruk" method if you want a guarantee that your info comes only from the morningstar.co.uk website. no side quests, no surprises, just her.

periodt. pick based on how much loyalty you're feeling πŸ’…


πŸŽ€ LABELS RETURNED πŸŽ€

these are the labels Finance::Quote::mstaruk may hand you back, and yes, we're listing every single one because we don't do half-finished here:

name, currency, last, date, time, price, nav, source, method,
iso_date, net, p_change, success, errormsg.

fourteen little icons, all accounted for ⭐


🌈 SEE ALSO 🌈

Morning Star websites, http://morningstar.co.uk β€” go look, it's literally right there πŸ¦‹


πŸ’œ AUTHOR πŸ’œ

Martin Sadler, <martinsadler@users.sourceforge.net> β€” thank you for your service, king πŸ‘‘


Copyright (C) 2010 by Martin Sadler

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.

so yes, free software, same terms as Perl, your choice of 5.10.1 or later. slay and share alike πŸ’–


and that's the whole page bestie!! this one came from perl v5.36.0, dated 2023-05-14, filed under Financ...MStaruk(3pm) β€” mwah, go fetch some quotes πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from