Back in 2012, it seems that something like Manipulate[InteractiveTradingChart[ticker], {ticker, {"AMZN", "GOOGL"}}] worked fine. Mathematica 12.2 however is not able to handle this anymore and seems to get stuck in some kind of initialization loop.

It would be great if this functionality could be restored by Wolfram. In the meantime, I am curious whether there exists a workaround.

Is it for example possible to instruct Manipulate to trigger computation only when a parameter value changes and avoid precomputing results, i.e., is there a way to make Manipulate "lazy"?

  • $\begingroup$ For the last question, look at TrackedSymbols. $\endgroup$
    – MarcoB
    Jan 3, 2021 at 23:42
  • $\begingroup$ Thank you for the hint but could you be more explicit on how this could solve the problem with InteractiveTradingChart? For example, Manipulate[InteractiveTradingChart[ticker], {ticker, {"AMZN", "GOOGL"}}, {u, {1, 2}}, TrackedSymbols :> {u}] does not work, i.e., clicking on values for u does not result in a working plot. $\endgroup$ Jan 3, 2021 at 23:56
  • $\begingroup$ It look like s the approach using Manipulate is broken in V12, but I have found that TabView works well. See my answer. $\endgroup$
    – m_goldberg
    Jan 4, 2021 at 1:27

1 Answer 1


This seems to work:

Module[{amzn, googl},
  amzn = InteractiveTradingChart[{"AMZN", {{2009, 1, 1}, {2009, 12, 31}}}];
  googl = InteractiveTradingChart[{"GOOGL", {{2009, 1, 1}, {2009, 12, 31}}}];
  TabView[{"AMZN" -> amzn, "GOOGL" -> googl}]]



  • $\begingroup$ Great, thank you. $\endgroup$ Jan 4, 2021 at 1:28
  • $\begingroup$ By the way, replacing TabView by MenuView works as well. $\endgroup$ Jan 4, 2021 at 2:08
  • $\begingroup$ @MathGaudium. Indeed. $\endgroup$
    – m_goldberg
    Jan 4, 2021 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.