Live charts

Are live charts not working? The page comes up but no charts are shown for the last few days ... any idea why that is and if live charts will be restored soon?
Tagged:
The Goldmoney Community is a great place to securely share and connect with other people that are passionate about the same things you are! Get your questions answered, share your ideas and feedback, start a discussion, and give back by helping others! Create your Goldmoney Community handle now to join the conversation.
Don’t worry! Your personal information is never shared with anyone.
Existing Goldmoney Personal or Business User? Claim your Community Name today!
By signing up you agree to follow our community guidelines
Answers
Maybe @Melanie or @Chris can ask their IT team.
@GoldIsCurrency - what do you make of my brief review here?
Let's hope we get word soon what's wrong with it and when operation will be back to normal!
The Live Gold Prices I find to be more impacting to the average Joe. Everyone understand percentages and it is easy to see how gold performs over longer periods of time. https://www.goldmoney.com/live-prices
What does +1.23% today and -0.98 the day before tell you, or any one who may like to see a trend, a correction, a reversal ... or just a good point to buy or sell?
@Jacinto_747 - Hard to understand why there was no official comment posted by now explaining the issue to the user community ...
@Melanie Once more TLM is on the case!
Is greater functionality being added, or what? So far we had line charts and candle sticks which didn't actually work too well ... moving averages would be a very good indicator to add to OHLC bar charts! Is that being worked on now?
I may an answer, I don't know precisely but here's what I found... With the Chrome developer tools I observed this error on xau.js:
'observe' on 'MutationObserver': parameter 1 is not of type 'Node'
That means that some element on the page (a node) is not fully loaded when the xau.js script executes.
The site that I host is https://www.goldnroll.com/
I observed that on the http://community.goldmoney.com site, the script tag is placed right before the div containing the chart:
script src="//liveprices.goldmoney.com/xau.js" /script
div id="goldmoney-live-prices" data-currencies="USD,GBP,CAD,EUR,AUD,JPY" data-display-ounce="true"
iframe src="//liveprices.goldmoney.com/widget.html#/au/?an=null&aw=null&c=USD,GBP,CAD,EUR,AUD,JPY&d=null&m=null&o=true&r=null" frameborder="0" scrolling="no" style="width: 100%; min-width: 200px; min-height:348px;" id="live-price-container"
/iframe
/div
(I removed the tags otherwise the script is removed from the comment)
In my case, the script was up on top of the page in the header. Supposing some recent latency in the Goldmoney servers (lately meaning that the xau.js is received slower than before from the server to our browsers ), I moved the script just before the div in my page... and that worked, the chart appears on Gold'N'Roll !
But the root problem must be some small latency in the Goldmoney network somewhere...
By the way, I'm unemployed at the moment and actively looking for a job
Cheers,
Alex
Also, anyone who likes macro charts should check out macrotrends.net/charts/precious-metals
I have no affiliation with the site, but I use it frequently.
@GoldNroll - You have a very nice site there, congratulations! Did you write the program code from scratch or is it a customized script? Do you run your own server? I would use your program to load it up with marketing and traffic scripts for sale and provide add-on services, like installation and set-up, etc.
How much would you ask for a copy? I may be interested in buying it. I provide low cost traffic ...
The site is coded from scratch by me. ASP.NET forms for authentication and SQL queries and AJAX on front-end. It's fully functional but I still have some work to make it optimal.
I host it on a physical server at home, secured by pfSense firewall. Domain and email provided by Namecheap. I also think of Namecheap for a potential cloud hosting. They're more expensive than GoDaddy but they have an excellent support and they are very honest on internet privacy.
There's also a Facebook page I just started, that should be worked out: https://www.facebook.com/goldnroll/
Until now I didn't seriously think of selling a copy and a price for that... please give me this Monday to come up with an answer.
In case you assign a developer to take over the hosting and the coding, we'll have to work together through the code and the migration until the site is passed to you. Though I would like to keep a collaboration.
Thanks again, Alex
It looks like Goldmoney changed a lot about everything and for good reasons
But the changes are not the source of the problem.
I reproduced the problem in the last days. I compared the network traces when the xau.js script link is placed in head or in the body of the page, they are similar.
The problem is that when placed in the head section of the page, because javascript is asyncronous, not always the document.body object is present when the function in xau.js is executed. And this is random.
In my case, document.body === null when the following executes:
var i=["goldmoney-live-prices","bitgold-live-prices"],n=new MutationObserver(e);
n.observe(document.body,{
childList:!0,subtree:!0}
),t()}
Form here the error that the "parameter 1 of object observer is not of type Node".
I would suggest two solutions:
1) I don't know the implications, but maybe naming the main anonymous function in xar.js and adding at the end of the file something like the following will work:
window.addEventListener("load", name-of-the-function);
2) Modify the how-to page for the installation of the widget with a code that puts the script right above the gldmoney-live-prices div in the body of our pages.
Cheers,
Alex