BarsReal-time minute bars from IQ Feed streaming quote data.DOWNLOAD bars_1.2.tar.gz
PDF MAN PAGE bars.1.pdf
Installation for GNU/Linux Systems1. Install Redis (some steps might require root privilege)http://redis.googlecode.com/files/redis-2.0.4.tar.gz tar xzf redis-2.0.4.tar.gz cd redis-2.0.4 make cat redis.conf | sed -e 's/^timeout.*/timeout 0/' | sed -e 's/^daemonize.*/daemonize yes/' > /etc/redis.conf cp redis-server redis-cli /usr/local/bin/ redis-server /etc/redis.confNote that the redis-server must be manually started with this approach. It's also possible to configure a system script to automatically start redis-server: see your system administration manuals. Note also that you may wish to edit other parameters in the /etc/redis.conf configuraiton file. 2. Install IQ FeedThis step probably requires q Windows system and possibly the iqcast repeater service for Windows. Make sure that you can access the IQ Feed from the machine that bars will run on with, for example:telnet localhost 5009 3. Install barswget http://illposed.net/bars_1.2.tar.gz tar zxvf bars_1.0.tar.gz cd bars make make install ./barsNote that, once running, your process table should show *two* copies of the bars program--the parent process talks to the iqfeed server, and the child process talks with Redis. The bars manpage shows how to access bar data from R. The raw ticks are also available from Redis, just look up the symbol name to retrieve them in text format. |