question

Upvotes
1 0 0 0

Case 11556267, The CodeCreator makes malformed expressions when changing the parameter and output value

The CodeCreator makes malformed expressions when changing the parameter and also changing the output value. In the screenshot the `.currency` part of the expression should be after the parenthesis. That is the expression should be TR.PriceClose(Sdate=0M).currency and not TR.PriceClose.currecny(Sdate=0M). This happens with any field and not just TR.PriceClose CodeCreator-Screenshot.png

pythonpython 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.

<AHS>

Case 11556267 is in "Working In Progress" status, extend triage for a week.

<AHS>

Case 11556267 is in "Working In Progress" status, extend triage for a month.

<AHS>

Case 11556267 is in "Working In Progress" status, extend triage for a month.

<AHS>

Case 11556267 is in "Working In Progress" status, extend triage for a month.

<AHS>

Case 11556267 is in "Working In Progress" status, extend triage for a month.

Show more comments

1 Answer

· Write an Answer
Upvotes
32.2k 40 11 20

Hello @shaikh.ahmed ,

This forum can be of most help to developers with questions about Refinitiv APU usage. Workspace SDK section is dedicated to question and discussions about using Workspace SDK APIs.

The question that you have is not about API usage, rather, you are reporting a suspected issue with Eikon/Workspace CodeCreator functionality.

The best approach is to report what you see to Eikon product support directly, via Refinitiv Helpdesk Online -> Product -> Eikon so that it can be properly investigated.


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.

Hello @shaikh.ahmed

<private comment>

As you are, in my understanding, part of the internal support organization, you may also wish to escalate via internal eikon escalation path.

If this may help, I am reproducing the same that you see:

CodeCreator generates:

df, err = ek.get_data(
    instruments = ['IBM'],
    fields = ['TR.PriceClose.currency(SDate=0M)']
)

display(df)

That results in:

na.gif

Whereas:

df, err = ek.get_data(
    instruments = ['IBM'],
    fields = ['TR.PriceClose(Sdate=0M).currency']
)

display(df)

Results in:

usd.gif



na.gif (5.3 KiB)
usd.gif (3.4 KiB)

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.