Support » Plugin: Custom Stock Widget » Replace Index Symbol

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Relevad

    (@relevad)

    Hi Dongo. We’ve had several other users ask for this as well.
    No ETA yet but this feature request is definitely high in our queue.

    Thanks.

    Plugin Author Relevad

    (@relevad)

    I don’t think I ever let you know that this issue is now resolved on the latest versions of the stock widget. It will now automatically change ^GSPC into S&P500, and ^IXIC into NASDAQ.

    After updating the stock widget, if there are any other index symbols you would like to switch out, it can be done by adding more cases on line 303-304 in stock_widget_display.php

    Something like this:

    elseif($data_item == "^NYA") {$data_item = "NYSE";}
    elseif($data_item == "^ABCD") {$data_item = "Alphabet";}

    would convert ^NYA or ^ABCD into NYSE or Alphabet, respectively.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replace Index Symbol’ is closed to new replies.