Port 9000 was retrieved from .portInUse file

Hello,

I am very eager to get started with the API, but I am already running into issues.

My example:

import eikon as ek
ek.set_app_id('xxx') # replaced ID
ek.get_symbology(["MSFT.O", "GOOG.O", "IBM.N"], from_symbol_type="RIC", to_symbol_type="ISIN")

Should output:

                ISIN
GOOG.O US02079K1079
IBM.N US4592001014
MSFT.O US5949181045

However, my output is:

Port 9000 was retrieved from .portInUse file

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    Hi @bjl,

    Have you tried placing the get_symbology() line on its own to see if you see any output? For example, within notebook, it looks like this:

    image

    If there is some kind of issue, I would expect to see some form of output.

Answers

  • bjl
    bjl Newcomer

    Hello @nick.zincone

    Your instinct was spot on.

    I have to admit that I have not seen that behaviour before. Executing the code line-by-line does indeed yield the correct output.

    Thank you.

  • Hi @bjl, have you defined the data frame variable ? please have a look into the quick start examples. I'm using Anaconda and I'm getting the same result with no result in the variable explorer

    image

    Adding a variable name and the "=" plus print of the variable will lead to

    image

    KR Norbert

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.