Död feed / Bara heartbeats

Added by Otto over 4 years ago

Hej har lite problem att få meddelande angående aktier i min feed.

Har lyckats logga in i både public och private-feedsen. Men att prenumerera verkar inte fungera. Är detta en tjänst som upphört?

Jag har prövat det mesta på forumet. Har testat den klassiska Ericsson B :)

{"cmd":"Subscribe","args":{"t":"Price","i":"101","m":"11"}}

Men även prövat andra aktier på olika marknader. Bland annat en texas instruments från OMX.

{"cmd":"Subscribe","args":{"t":"Price","i":"16350113","m":"19"}}

Jag skickar mina meddelande på samma sätt som när jag loggar in. I ruby är detta:

  pub_ssl.puts(login_key_feeds.to_s) #LOGIN
  pub_ssl.puts(subscribe_json.to_s) #Prenumeration 

Har även prövat med att lägga till en "newline" också, men det verkar inte heller fungera (se nedan):

  pub_ssl.puts(login_key_feeds.to_s + "\n") #LOGIN
  pub_ssl.puts(subscribe_json.to_s + "\n") #Prenumeration 

Tack på förhand
Mvh
Otto


Replies (8)

RE: Död feed / Bara heartbeats - Added by Lars over 4 years ago

Prova att följa dokumentationen exakt, dvs i stället för:

{"cmd":"Subscribe","args":{"t":"Price","i":"101","m":"11"}}

prova:

{"cmd":"subscribe","args":{"t":"price","i":"101","m":11}}

RE: Död feed / Bara heartbeats - Added by Otto over 4 years ago

Hej

Tack för ditt svar.

Tror inte det hjälper, har redan prövat detta :/.

Mvh

RE: Död feed / Bara heartbeats - Added by Otto over 4 years ago

Om jag lyckas prenumerera på en aktie, om börsen är stängd kommer jag få något meddelande om att jag har lyckats?

Mvh
Otto

RE: Död feed / Bara heartbeats - Added by Björn over 4 years ago

Lyckas du prenumerera på någonting så kommer du att få ett första meddelande med senaste informationen och sedan kommer uppdateringar när någonting ändras. Är marknaden stängd så kommer inga uppdateringar, men det första meddelande får du alltid.

Noterade du att Lars inte bara sa åt dej att skicka små bokstäver, utan även att marknaden ska skickas som ett heltal i det här fallet?
Från wikin: The tradable market_id or indicator src. If . Used for "price", "depth", "trade", "indicator" and "trading_status". If this is used for "indicator" the field is a string otherwise an integer.

RE: Död feed / Bara heartbeats - Added by Otto over 4 years ago

Hej tack för era svar, lurigt med att marknaden var en integer!

Jag lyckades prenumerera på aktien. Fick sista inlägget från aktien när jag skickade prenumerationen. Jag lyckades dock inte prenumerera på någon aktie på Nasdaq. Det står "Not Authorized". Finns det någon annan USA-marknad man kan prenumerera på? Intresserad eftersom jag oftast programmerar på kvällarna och då är börsen stängd :/.

För er som är intresserade över hur man prenumererar i Ruby, så här gjorde jag:


subscribe = {:cmd => "subscribe", :args => {:t => "price", :i => "101", :m => 11}}
subscribe_json = JSON.generate(subscribe)
pub_ssl.puts(login_key_feeds) #skriver in login key till min socket, kallad pub_ssl
pub_ssl.puts(subscribe_json)  #skriver in min prenumerationskod

Min output i konsolen blev:

{"type"=>"price", "data"=>{"i"=>"101", "m"=>11, "trade_timestamp"=>1460042986192, "tick_timestamp"=>1460044800093, "bid"=>86.85, "bid_volume"=>591990, "ask"=>86.85, "ask_volume"=>742319, "close"=>87.0, "high"=>87.0, "last"=>86.85, "last_volume"=>2230, "low"=>70.5, "open"=>80.0, "vwap"=>85.92, "turnover"=>3132096565.48, "turnover_volume"=>38044622}}

RE: Död feed / Bara heartbeats - Added by sunh 9 days ago

The photos related to your 먹튀검증 are amazing. This is the first time I've ever seen a picture of a cool 꽁머니 . Since when did you take pictures of토토사이트 ? It's very cool. And I'm very interested in the material that you have posted so far about 안전놀이터 . It's hard to find data on 먹튀검증, how did you become an expert? I'm also very interested in 안전놀이터 . I collect a lot of data about 꽁머니 and I have a lot of data about 스포츠중계 . I want to communicate with you. My site names are 먹튀가디언 and 먹튀보안관 . The domain addresses are https://twiddeo.com/ and https://mtboan.com/ . Waiting for a lot of communication. Yes, thank you.

RE: Död feed / Bara heartbeats - Added by sunh 9 days ago

토토레프리 Nice to meet you. 먹튀검증 That's a great post. Thank you. 먹튀 I live in 먹튀검증업체 a different country from you. Your post will be https://elephonemobile.com/ popular enough in my country. 먹튀사이트 I'm very happy to read this post. 메이저놀이터 Thank you. You must have put a lot of effort into writing this. 메이저놀이터 I'd like to appreciate that. 사설토토 I wish I could write like you. 메이저사설토토 Actually, I'm small, but I'm running my own website. 사설놀이터 If you have time, 안전놀이터 please visit my website. There must be 안전놀이터 a post that 토토사이트 you will find interesting. And please leave a replay about 메이저토토사이트 your shortcomings. It would be very helpful to me if you could. 토토사이트추천 Thank you. 토토사이트 Have a nice day!

RE: Död feed / Bara heartbeats - Added by sunh 9 days ago

안전놀이터검증및연구센터 Hello, 토토사이트분석전문블로그 I read your article for 먹튀검증의새로운패러다임 the first time today. 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 최고의안전놀이터

(1-8/8)