The Trendy application is being retired in the new year. The new web application, ThingSpeak, offers similar functionality. We recommend that active Trendy users who are looking to create new trends use ThingSpeak. To begin collecting your data in ThingSpeak, please read the tutorial : ThingSpeak for Trendy users. Although Trendy no longer allows the creation of new trends, the application will still remain accessible until January 13, 2016. Until that date, you can view your current trends and download your data. After that date, your data will no longer be accessible. Thanks for using Trendy and we encourage you to check out ThingSpeak.

Close-button

Stock Tracker

1310

data points

Description:

This is a trend to track several stocks in which I invest.

Recently Collected Data (last 5 of 1310) Show All Data

Time Recorded (time1769) Data (data1769)
09 Feb 2016 11:15:09 [-1.53 -1.19 -2.85 -1.41 -1.556]
08 Feb 2016 11:15:09 [NaN]
07 Feb 2016 11:15:09 [NaN]
06 Feb 2016 11:15:09 [-0.86 -0.74 -4.54 -1.84 -1.081]
05 Feb 2016 11:15:10 [1.35 0.74 -0.34 0.17 1.1455]
busDay = weekday(now-1);
if(busDay > 1 && busDay < 7)
  stockSyms = {'ODVYX';'OAKBX';'MLAIX';'VINIX'};

  diff = zeros(4,2);

  for i = 1:length(stockSyms)
    url{i} = ['http://www.google.com/finance?q=',...
               stockSyms{i}];
    diff(i,:) = urlfilter(url{i},'id-price-change', 2);
  end

  WeightedAvg = sum(diff(:,2).*[0.8;0.1;0.05;0.05]);

  updatetrend([diff(:,2); WeightedAvg]);
else
  updatetrend(NaN);
end
Tags:

    Add Tags


    0 comments