question

Upvotes
Accepted
5 6 6 8

why is this not working ?

ds.get_data(tickers='INE245A01021',fields=['ACH#(X(VO),-30D)/X(VO)','X(PL)'],start=date_to_fetch.strftime('%Y-%m-%d'),kind=0)

date-to_fetch = '2019-11-29'

I get


Instrument Datatype Value Dates

0 INE245A01021 ACH#(X(VO),-30D)/X(VO) NA 2019-11-29

1 INE245A01021 X(PL) NA 2019-11-29


The data is available in Datastream. I am using DatastreamDSWS library.

datastream-apidsws-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@abbanerjee

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@abbanerjee

If I run it without the start parameter, it returns the data for 2019-11-28.

I think that the data for 2019-11-29 is still not available.


1575020635371.png (22.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.