Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 2

How do we correct this syntax?

SCREEN.express.universe(Equity(active=True, public=True, primary=True)).conditions(IN('TR.CoRTradingCountryCode', 'US'), 'TR.CompanyMarketCap(Scale=9)',>=10).currency('USD').query

SCREEN.express.universe(Equity(active=True, public=True, primary=True)).conditions(IN('TR.CoRTradingCountryCode', 'US'), BETWEEN('TR.CompanyMarketCap(Scale=9)', 5, 10)).currency('USD').query

pythonjupyter-notebook
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.

1 Answer

· Write an Answer
Upvotes
Accepted
14.3k 30 5 10

hi @cheryl.eje

Can you try the syntax below

SCREEN.express.universe(Equity(active=True, public=True, primary=True)).conditions(IN('TR.CoRTradingCountryCode', 'US'), 'TR.CompanyMarketCap(Scale=9)','>=10').currency('USD').query

and

SCREEN.express.universe(Equity(active=True, public=True, primary=True)).conditions(IN('TR.CoRTradingCountryCode', 'US'), ('TR.CompanyMarketCap(Scale=9)', '>=5'), ('TR.CompanyMarketCap(Scale=9)', '<=10')).currency('USD').query
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.