search for: eqcon

Displaying 1 result from an estimated 1 matches for "eqcon".

Did you mean: eicon
2012 Apr 04
1
read.socket utils package : somthing is going wrong
...mpting to connect R to the broker platform using tcp on localhost 5333. Just to learn how use make.socket, write.socket, ..functions I wrote simple code: #prepare string command to subscribe ask and bid price on Italian stock #this should be a push stream like: #First stream: #outcome=OK|item=MI.EQCON.2552 #Update stream: #MI.EQCON.1|21|10|22|11|23|12|24|5|20|19|7.5 #MI.EQCON.2552|||||||||||7.3 #.................................................. #until the buffer is full. msg2<-'function=subscribe|item=MI.EQCON.1|schema=ask1;bid1' #open socket connection socketPointer<-make.socket...