Thread Subject: fints rename fields

Subject: fints rename fields

From: Mike

Date: 14 Mar, 2010 03:33:06

Message: 1 of 2

Anyone know the easiest way to rename a fints fieldname? For example, I've got the following,

date1 = '11/01/2009';
date2 = '12/01/2009';
ibm_high = fetch(yahoo, 'IBM', {'high'}, date1, date2, 'd');
ibm_ts = fints(ibm_high(:,1), ibm_hlc(:,2), {'High'}, 1, 'IBM Data');

Which gives...

ibm_ts =
 
    desc: IBM Data
    freq: Daily (1)

    'dates: (21)' 'High: (21)'
    '02-Nov-2009' [ 121.9300]
    '03-Nov-2009' [ 121.1900]
    '04-Nov-2009' [ 122.5000]
    '05-Nov-2009' [ 123.5000]


Now all I want to do is rename 'High' to something else. Is there a direct way to access this? I'm guessing it's just a property of the fints class, but I'm unsure how to figure out what those properties are...hints?

Thanks.

Subject: fints rename fields

From: Mike

Date: 14 Mar, 2010 18:02:04

Message: 2 of 2

Ok, didn't see this guy the other day - but here's the answer to my question,

"chfield"

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
fints Mike 13 Mar, 2010 22:34:05
rssFeed for this Thread

Contact us at files@mathworks.com