Message Boards Message Boards

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

Percentage difference plots across symbols?

Posted 5 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 3 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