Stock Ticker
[resolved] Sorry, currently we can't get stock quotes (4 posts)

  1. godavid33
    Posted 1 year ago #

    Everything starts off fine but then the stock quotes go away and the text "Sorry, currently we can't get stock quotes" appears.


  2. Aleksandar Urošević
    Plugin Author

    Posted 1 year ago #

    Hi godavid33,

    Initial release does not cache quotes from Yahoo Finance and on every load leave to visitor's browser to retrieve quotes (AJAX), and then parse results to ticker. It's probably client timeout issue (any suggestion is welcome).

    Can you provide site URL where you experiencing issue?

  3. godavid33
    Posted 1 year ago #

    Here is the URL: http://themreport.com/ticka-testa/

    I haven't looked at your code so I can't figure out exactly what is going on but I can surmise a guess that every iteration you are making a new API call. The problem happens when the following script is trying to be called:


    and it 500's. I would suggest just making one API call per page load and storing the variables then re-using them.

  4. Aleksandar Urošević
    Plugin Author

    Posted 1 year ago #

    Can you please try with this development version http://urosevic.net/wordpress/?wpdmact=process&did=MTEuaG90bGluaw== (removed ajax setup, and moved calls to footer).

    Btw, I don't use API call for Yahoo Finance, but doing javascript load for quote JSON (like this), then JavaScript parse JSON and prepare ticker content.

    When YF have heavy load, drops can be experienced.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic