Comments (3)
The MorningstarAU.pm module is no longer working. The URL currently used in the module, https://www.morningstar.com.au/Ausearch/SecurityCodeAutoLookup?q=$symbol, returns a 404.
Module needs to be fixed, or removed from F::Q.
Looking at the request through Firefox developer console, the JSON for the fund IML0004AU
comes from https://api-global.morningstar.com/sal-service/v1/fund/quote/v4/F0AUS05HDB/data?fundServCode=&showAnalystRatingChinaFund=false&showAnalystRating=undefined&languageId=en&locale=en&clientId=mca.public&benchmarkId=mstarorcat&component=sal-mip-quote&version=4.18.0&access_token=AA0WgHTG32bN2ECGtSWT6saI8op1.
Need to find where the symbol IML0004AU
maps to security ID F0AUS05HDB
and access token AA0WgHTG32bN2ECGtSWT6saI8op1
get retrieved.
from finance-quote.
Need to find where the symbol
IML0004AU
maps to security IDF0AUS05HDB
and access tokenAA0WgHTG32bN2ECGtSWT6saI8op1
get retrieved.
In the HTML returned from https://www.morningstar.com.au/investments/security/fund/IML0004AU, near the end is JSON in the <script>
tag beginning <script>window.__NUXT__=(function(...
. There is getSecurity({\"id\":\"F0AUS05HDB\"}
from finance-quote.
The Security will also show for normal securities (aka "ordinaries"). Also in this output are two other fields. "realtimeKey" needed for getting quotes for ordinaries, and the api token "accessToken".
URL for securities:
https://api-global.morningstar.com/sal-service/v1/cef/quote/realTime/$securityID/data?secExchangeList=&random=0.6039569052526274&languageId=en&locale=en&clientId=mca.public&benchmarkId=mstarorcat&component=sal-mip-quote&version=4.18.0&access_token=$accessToken
Header:
X-API-REALTIME-E: eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.1E4oJB3HCtJ2PdjKIIZICy5ezgGD2CykvEXGcogbPOlg_A41fdjqwbj9a8wSutGt14Cyvts7e5n9MgtHb4KFQ7D6ou1jJu7O12M-O35vJSHWJqW4Co7pPqIf6U7-V3_hMcuu1RNRwrtFL9ic47obcJcZdVWx1TxrQjl0ouYnAIc.Hl4r5ODE4AWxcugW.-st5MrpSB660aH9VrqiGow1UHcGGfGMOFRHbMCU3mw1VGwox5JZQkI-_-Bv-8wxrxLxJbRt8QUjI1TcHD-pfAQ7XKlRjh8Q1WxM9PRMEU7mSQ4x5R8LShijyErCFTIUMMGSuz8caAk18JowkpGOcBaSCvqEO8ZlzJs1qjmH9VtrRiFiQItaQvzdSUcEYFYiEEIEMn4Ay9d9Fz69zKqwVZqUqyQWZBBVDM2MOzZI.v3Du6IgztOU7b3FlWHdpyA
from finance-quote.
Related Issues (20)
- YahooJSON Disabled for EU IP Addresses HOT 41
- YahooWeb failing with "Header line too long" error HOT 2
- YahooJSON.pm is giving invalid cookie/crumb again HOT 5
- Restore Fool.pm Module HOT 1
- Unable to use SIX module from GnuCash HOT 3
- update fails on Windows
- MarketWatch Module Not Working HOT 1
- Add Error Handling to YahooJSON.pm
- NZX Website Update - NZX Quotes no longer working HOT 6
- ASX Cleanup HOT 1
- BVB Module Not Working HOT 1
- NSE stock prices not updating since July 8 2024 HOT 4
- deleted HOT 2
- Finance::Quote->fetch( dont work on me HOT 1
- Comdirect Module Not Working
- OnVista Module not working HOT 3
- Price retrieval failed HOT 1
- The comma/dot is missing in bourso HOT 6
- Finance::Quote 1.61 errors with 401 Unauthorised using yahoo_json on non-US stocks. 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.