vfilimonov / pydatastream

Python interface to the Refinitiv Datastream (former Thomson Reuters Datastream)
MIT License
71 stars 30 forks source link

get_constituents returns error on historical dates #1

Closed ceaza closed 9 years ago

ceaza commented 9 years ago

This seems to work in line 473
res = pd.DataFrame({fld:[record[fld_name(fld,ind)]if fld_name(fld,ind) in record else 'N/A' for ind in range(num)]for fld in fields})

Tested for call DWE.get_constituents('JSEOVER', '28-Dec-2009')

vfilimonov commented 9 years ago

ceaza, please check master - it should work now [0ff7a7edc4d3abcce95857a7b2e831e225e96e9e]

ceaza commented 9 years ago

Will do, thanks very much, Charles

ceaza commented 9 years ago

Hi Vladimir

Are you aware of a method of requesting the available datatypes/fields per instrument code? I can see this on web navigator http://product.datastream.com/navigator/Search.aspx?AppGroup=DSAddinbut am not able to do this through code.

Thanks Charles

On Sat, Nov 8, 2014 at 2:10 PM, Vladimir Filimonov <notifications@github.com

wrote:

ceaza, please check master - it should work now [0ff7a7e https://github.com/vfilimonov/pydatastream/commit/0ff7a7edc4d3abcce95857a7b2e831e225e96e9e ]

— Reply to this email directly or view it on GitHub https://github.com/vfilimonov/pydatastream/issues/1#issuecomment-62255588 .

vfilimonov commented 9 years ago

No, unfortunately I did not look into it.

I can only suggest you to contact the support (usually they're quite helpful): https://customers.reuters.com/sc/Contactus/simple/?product=Datastream&env=PU&TP=Y

Cheers Vladimir

p.s. this (I think though rather outdated) document that I've found once: https://www.dropbox.com/s/mkextt6dgwzgqh0/Datastream_dataypes.pdf?dl=0 could be of a help as well...

ceaza commented 9 years ago

Thanks very much for your help!

On Thu, Feb 5, 2015 at 4:25 PM, Vladimir Filimonov <notifications@github.com

wrote:

No, unfortunately I did not look into it.

I can only suggest you to contact the support (usually they're quite helpful):

https://customers.reuters.com/sc/Contactus/simple/?product=Datastream&env=PU&TP=Y

Cheers Vladimir

p.s. this (I think quite though rather outdated) document that I once have found: https://www.dropbox.com/s/mkextt6dgwzgqh0/Datastream_dataypes.pdf?dl=0 could be of a help as well...

— Reply to this email directly or view it on GitHub https://github.com/vfilimonov/pydatastream/issues/1#issuecomment-73053677 .