Public feeds does not provide data

Added by Per G over 7 years ago

When I am trying the public feed, I do NOT receive any data.

I have read, and also receive information thru the REST API, that I have access to realtime information from the Burgyndy market on the test system.

When I subscribe for information about e.g. the 'Ericsson B' share (#1965) on Burgundy market (#30) on the public feed, I do not receive any error messages. And then I only receives 'heartbeat' messages. No real data!

I have tried it during several hours today (tuesday). At the same time, I have checked in my Nordnet account that there has been activity on Ericsson B on Burgundy market. I assume there should be some data on the feed that I subscribe to..

Example of public feed:

> {"cmd":"login", "args":{ "session_key":"SECRET_ENCRYPTED_SESSION_KEY","service":"NEXTAPI"}}
> {"cmd":"subscribe", "args":{ "t":"price","i":"1954","m":"30"}}
> {"cmd":"subscribe", "args":{ "t":"price","i":"1965","m":"30"}}
> {"cmd":"subscribe", "args":{ "t":"depth","i":"1965","m":"30"}}
> {"cmd":"subscribe", "args":{ "t":"trade","i":"1965","m":"30"}}
> {"cmd":"subscribe", "args":{ "t":"trading_status","i":"1965","m":"30"}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}

Have I misunderstood the documentation, or how should I be able to test my application with the test system?


Replies (8)

RE: Public feeds does not provide data - Added by Nordnet Simon over 7 years ago

Hi, we are having problems with the feed from Burgundy.

I have enabled your account so you can get the price feed from NasdaqOMX test system instead.

Use "i":"101", "m":11 for ERIC B on NasdaqOMX instead.

RE: Public feeds does not provide data - Added by Per G over 7 years ago

Still no data on the public feed when I use "i":"101", "m":11 for ERIC B on NasdaqOMX.
I have two accounts on your test system. Have you enable this on my account with username pgandersson?

RE: Public feeds does not provide data - Added by Nordnet Simon over 7 years ago

Yes, I changed on pgandersson.

But even if you are not allowed to get the data on NasdaqOMX you should get an error message.

All messages sent to the server must be ended with newline '\n'. I think this information was missing in the documentation I just added it.

RE: Public feeds does not provide data - Added by Per G over 7 years ago

I end all commands with newline (\n). And I do not get any error messages.

When I check realtime access via the REST API, I can see that I should have access to market 11 with level 2.

But still no data on the public feed:

> {"cmd":"login", "args":{ "session_key":"SECRET_ENCRYPTED_SESSION_KEY","service":"NEXTAPI"}}
> {"cmd":"subscribe", "args":{ "t":"price","i":"101","m":"11"}}
> {"cmd":"subscribe", "args":{ "t":"depth","i":"101","m":"11"}}
> {"cmd":"subscribe", "args":{ "t":"trade","i":"101","m":"11"}}
> {"cmd":"subscribe", "args":{ "t":"trading_status","i":"101","m":"11"}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}
< {"cmd":"heartbeat","args":{}}

RE: Public feeds does not provide data - Added by Nordnet Simon over 7 years ago

Hi, it might be that you are using string for market. Try with 11 instead of "11".
{"cmd":"subscribe", "args":{"t":"price", "i":"101", "m":11}

RE: Public feeds does not provide data - Added by Hannu over 7 years ago

Hi,
I received this error message:
{"cmd":"err", "args":{"msg":"Not authorized.", "cmd":{"cmd":"subscribe", "args":{ "t":"price", "i":"101", "m":11}}}}
Can someone check my account or is there something else wrong?

RE: Public feeds does not provide data - Added by Nordnet Simon over 7 years ago

Hi, it is enabled on your account now.

RE: Public feeds does not provide data - Added by Per G over 7 years ago

Hi, It is now working (when I changed from string "11" to number 11).
Thank you!

(1-8/8)