Message Boards Message Boards

0
|
4758 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Percentage difference plots across symbols?

Posted 4 years ago

Is there a way to recreate charts like this in Mathematica?

tradingview

It plots the percentage changes in multiple time series on the same chart. So for a timeseries t(x), this is plotting y(x) = (t(x)-t(0)/t(0)) * 100.

Ideally I want to plot these using a TradingChart so we get interactivity too.

POSTED BY: Ankit X
Posted 2 years ago

Hi Ankit -- This is what I could come up with

DateListPlot[
 FinancialData[{"SPY", "GE", "AAPL"}, "CumulativeReturn", {2020}], 
 PlotLegends -> {"SPY", "GE", "AAPL"}] 

enter image description here

POSTED BY: Raymond Low
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract