Heartbeat fråga private vs public

Added by Henrik about 4 years ago

Jag har TRE frågor relaterade till heartbeat.

1
I dokumentationen står det:
Private skickar heartbeat per 30sec
Public skickar per 5sec

MEN för mig skickar private var 5e sec!!! Har ni skrivit fel?

2
Kan man ha en private och en public connection öppen samtidigt? I dokumentationen står det att bara en connection är tillåten per client men det är en public OCH en private som menas antar jag???

3
Är det exact samma flöde för att aktivera en public feed som en private feed? För mig kan jag logga in och börja få meddelande via en private feed MEN public är stendöd, dvs jag får inga heartbeat från public feed? Såhär är mitt login meddelande utformat både i private och public:

val loginData: String = s"""{"cmd":"login", "args":{ "session_key":"$key"}}${10.toChar}"""


Replies (9)

RE: Heartbeat fråga private vs public - Added by Henrik about 4 years ago

Varför har ni ens en API tjänst om supporten för den är nästan obefintlig? Skulle gärna se att det var mer aktivitet i forumen så att man snabbare kan komma på banan och faktiskt börja implementera strategier ist för att strula med tekniken.

RE: Heartbeat fråga private vs public - Added by Nordnet Aleksandar about 4 years ago

Hej,

Du verkar ha hittat dokumentation för v1 av API'et där det var 30 sekunders heartbeats på privata feeden, i v2 är det 5 sekunder på bägge feeder.

Dokumentation för v2 finns här:

Svar på fråga 2:
Ja det kan man och bör göra.

Svar på fråga 3:
Det är exakt samma loginsträng som du ser i dokumentationen för v2 feederna

mvh
Aleks

RE: Heartbeat fråga private vs public - Added by Henrik about 4 years ago

Tackar för svar. Har en del strul som jag hoppas få hjälp med.

Det är mycket märkligt, jag kan ansluta till private feed utan problem men när jag endast byter ut URL till public url och port så kommer inga heartbeat för public medans för private feed så får jag heartbeat var 5e sec. Har ni något sätt att felsöka detta på backend eller några tips hur jag kan gå vidare här?

++++++++++ Annan fråga
Provade även det exempel för Ericsson B och intradags graf som visas i documentation. Via postman försöker jag med:

https://api.test.nordnet.se/next/2/tradables/intraday/11:101

Vilket bara get mig följande svar:
[ {
"market_id": 11,
"identifier": "101",
"ticks": []
}
]

Borde det inte kommer mer än detta? :)

RE: Heartbeat fråga private vs public - Added by Henrik about 4 years ago

Can it be some limitations on my test account since I cant access any data but other api and feeds work ok???

RE: Heartbeat fråga private vs public - Added by Henrik about 4 years ago

I finally got it working, it was a minor typo in the login string, strange it worked on the private feed but not the private thogh.

And the minut chart data does not seem to be available for test environment.

RE: Heartbeat fråga private vs public - Added by sunh 2 days ago

먹튀검증 First of all, thank you for letting me see this information.먹튀검증 I think this article can give me a lot of inspiration.안전놀이터 I would appreciate it 토토사이트 if you could post more good contents in the future. 꽁머니 There are also many good articles on my site. 꽁머니 I would appreciate it if you could visit once and enjoy it.안전놀이터 Thank you. Have a nice day!스포츠중계 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 먹튀사이트조회

RE: Heartbeat fråga private vs public - Added by sunh 2 days ago

토토레프리 That's a very good story! 먹튀검증 I read your article very deeply. Hello, 먹튀 my name is 먹튀검증업체 and I run a site similar to yours. Compared to you, https://elephonemobile.com/ the site I run is not enough. 먹튀사이트 However, 메이저놀이터 I am also working hard to upload more than 2 posts a week. If you are interested, 메이저놀이터 please visit my website. 사설토토 I would appreciate 메이저사설토토 it if you could visit and read my article and leave your comments.사설놀이터 It will be of 안전놀이터 great help to me. Anyway, 안전놀이터 have a nice day 토토사이트 today and thank you for your hard work.메이저토토사이트 Thank you, Have a nice day! 토토사이트추천 good bye토토사이트

RE: Heartbeat fråga private vs public - Added by sunh 2 days ago

안전놀이터검증및연구센터 Nice to meet you. 토토사이트분석전문블로그 Your post was really impressive. 먹튀검증의새로운패러다임 It's an article of https://kipu.com.ua/ genius thathttps://remarka.kz/ I didn't think of. https://subtitles.ee/ I also run a website with 안전놀이터 a theme similar to 먹튀검증 that of your article. 토토사이트 I wish I had the talent to 먹튀사이트검증 write with a new perspective like you. 메이저토토사이트 How did you come to 메이저안전놀이터 think of this? 안전한사설토토사이트 I really want to know 공식안전놀이터 if I can. 먹튀검증커뮤니티 Because I want to 먹튀검증토토사이트 write like you. 먹튀검증토토 There are many articles on 사설안전놀이터] my website, but they are not enough compared to you. Could you visit my website if you have time? Please read the posts on my website and leave your thoughts. Then it will be very helpful for me to develop. Thank you. Have a great day.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 최고의안전놀이터

(1-9/9)