Prenumerera på index (Live)

Added by Joachim about 5 years ago

När man försöker prenumerera på index på live data, så lyckas jag inte få någon information.

subscribe{"cmd":"subscribe","args":{"t":"indicator","i":"OMXS30","m":"OM"}}

Är det min subscribe som är fel?

Hur ofta får man data på en "indicator"?


Replies (18)

RE: Prenumerera på index (Live) - Added by Joachim about 5 years ago

Ändrade subscribe till "index" istället för "indicator" men det verkar inte göra någon förbättring.

De vanliga instrumenten tickar in som förväntat.

RE: Prenumerera på index (Live) - Added by Joachim about 5 years ago

Fel av mig det kommer info.

Public feed info: {"type":"err", "data":{"msg":"Not authorized.", "cmd":{"cmd":"subscribe","args":{"t":"INDEX","i":"OMXS30","m":"OM"}}}}

Varför får man not authorized på ett index?

RE: Prenumerera på index (Live) - Added by Marcus about 5 years ago

Kör du i test- eller prod.systemet?

RE: Prenumerera på index (Live) - Added by Marcus about 5 years ago

Ah, vet inte varför jag inte läste titeln tillräckligt noggrant...my bad

Ska undersöka saken också.

RE: Prenumerera på index (Live) - Added by Lars about 5 years ago

Om du med "live" menar realtidsdata i testsystemet så funkar det inte för att indikatorerna inte finns i testfeeden, om "live" avser produktionssystemet så bör du felanmäla till Nordnet via mäjl eller telefon.

RE: Prenumerera på index (Live) - Added by Marcus about 5 years ago

Det bör felanmälas.

Kollar man i dokumentationen har de ett exempel som är "{"cmd":"subscribe", "args":{"t":"indicator", "i":"SIX-IDX-DJI", "m":"SIX"}}", vilket antyder att din subscribe-request (som du skrev) skulle vara: "subscribe{"cmd":"subscribe","args":{"t":"indicator","i":"OMXS30","m":"OM"}}"

Men om du kör en GET-Request med "indicators" som requestpath får du ut följande:

{
"delayed": 0,
"src": "OM",
"identifier": "OMXS30",
"type": "INDEX",
"country": "SE",
"open": "07:00:00",
"close": "15:30:00",
"name": "OMXS30"
}

Som antyder att requesten borde se ut såhär: "{"cmd":"subscribe", "args":{"t":"INDEX", "i":"OMXS30", "s":"OM"}}". Ingen kombination jag prövade fungerade.

Drar du iväg ett email får du gärna skriva vad resultatet blev. Lars, kan du prenumerera på Index i prod.?

RE: Prenumerera på index (Live) - Added by Lars about 5 years ago

Funkar bra i produktion, med anropet:

{"cmd":"subscribe","args":{"t":"indicator","m":"OM","i":"OMXS30"}}

I går kom det in 8393 uppdateringar under dagen.

RE: Prenumerera på index (Live) - Added by Marcus about 5 years ago

Ah, nu fungerar det för mig också! :-) Tack Lars!

RE: Prenumerera på index (Live) - Added by Joachim about 5 years ago

Intressant att type=INDEX men man ska skicka in indicator.....

RE: Prenumerera på index (Live) - Added by Joachim about 5 years ago

Förresten någon av er som vet hur man hittar ETFer tex XACT OMXS30 i produktionssystemet?

RE: Prenumerera på index (Live) - Added by Joachim about 5 years ago

Nu får jag ut data. Men av någon väldigt underlig anledning måste jag skicka in anropet två gånger. Första gången händer inget.

RE: Prenumerera på index (Live) - Added by Marcus about 5 years ago

1. Skickar du exakt samma anrop två gånger i rad? För mig går det direkt efter en gång. Sitter du bakom någon proxy?

2. Jag vet inte om ETFer ingår i det vanliga avtalet för realtidskurser i nExt för aktier. Någon annan får gärna fylla i här?

RE: Prenumerera på index (Live) - Added by Lars about 5 years ago

Förresten någon av er som vet hur man hittar ETFer tex XACT OMXS30 i produktionssystemet?

Du kan söka, till exempel:

/next/2/instruments?query=XACT

eller så bör du kunna få fram dem med hjälp av

/next/2/instruments/{instrument_id}/leverages

där {instrument_id} hämtas från

/next/2/instruments/underlyings/{derivative_type}/{currency}

RE: Prenumerera på index (Live) - Added by Joachim about 5 years ago

Ja men jag vill ju ha en lista med dem. Det är ju inte så roligt att behöva gå omvägar för att hitta dem.

RE: Prenumerera på index (Live) - Added by sunh 3 days ago

안전놀이터검증및연구센터 Hello, 토토사이트분석전문블로그 I read your article for 먹튀검증의새로운패러다임 the first time today. When was your interest in 안전한토토사이트 when did you start?? I was probably from when I first encountered 안전한놀이터 when I was a child. I am very happy to see someone with the same interests writing such a wonderful article about 먹튀검증커뮤니티 .https://kipu.com.ua/ It's a post that https://remarka.kz/ I've never seen before. https://subtitles.ee/ That's amazing. 안전놀이터 You must have 먹튀검증 a genius for writing. 토토사이트 I wish I could write like you. 먹튀사이트검증 When did you start posting like this? 메이저토토사이트 I think it's very old. 메이저안전놀이터 That's how good you are at writing. 안전한사설토토사이트 Actually, 공식안전놀이터 I have a website with 먹튀검증커뮤니티 a similar topic as you. 먹튀검증토토사이트 But I don't have the skill 먹튀검증토토 to write as well as you do. 사설안전놀이터] Thank you again for letting me read this. COVID-19 is becoming a big problem around the world these days. I hope you pass without any problems. Thank you. Have a good day today!Nowadays,토토사이트검증업체 the weather is getting colder every day토토안전놀이터 , so wear warm clothes and watch out for a cold 확실한먹튀검증 It's really cool 검증토토사이트. I'd like to know more information. Just like your 안전한먹튀검증 I have 최고의안전놀이터

RE: Prenumerera på index (Live) - Added by sunh 3 days ago

토토레프리 I finally found the article 먹튀검증 I was looking for! I'm so happy. 먹튀 Until I read your article, 먹튀검증업체 I've been looking for it through countless sites. https://elephonemobile.com/ I finally found 먹튀사이트 the article I was looking for. 메이저놀이터 You don't know how hard I've been trying to find these posts. 메이저놀이터 I will read all the other articles 사설토토 on your website. 메이저사설토토 That much, your post impressed me very deeply. I also run my own website. 사설놀이터 I'm reviewing a lot of materials 안전놀이터 to write on the same topic as you. I will also refer 안전놀이터 to your article 토토사이트 in running my website. Anyway, 메이저토토사이트 thank you again for allowing me to read these good posts, and I hope you have a good day. 토토사이트추천 Thank you. 토토사이트

RE: Prenumerera på index (Live) - Added by sunh 3 days ago

먹튀검증 Hello! Nice to meet you. 먹튀검증 First of all,안전놀이터 thank you very much for 토토사이트 providing us with this variety of information. 꽁머니 I think it's information that can be used in many ways.안전놀이터 I can't imagine how much effort you've made to write this. 스포츠중계 Thank you for your hard work.꽁머니 I would appreciate it if you would continue to provide us with such information. In addition, https://mtboan.com/ COVID-19 is becoming a problem all over the world these days.먹튀보안관 I hope there's no harm to you and your family. 먹튀가디언 Thank you https://twiddeo.com/ And the information on my site 놀이터토토 I'm sure you'll admire it. 안전한놀이터 is awesome. I am sure it will be because I am also surprised by your 꽁머니토토 And if you visit my site, 메이저안전놀이터 I think there will be a lot of information you want 안전놀이터추천 Or, if you have the purpose of inquiry, it would be nice to say 먹튀사이트조회

(1-18/18)