Raspberry PI as marekt data recorder for JBookTrader

355 views
Skip to first unread message

new_trader

unread,
Oct 23, 2014, 11:53:22 AM10/23/14
to jbook...@googlegroups.com
Hi guys,
I just wanted to inform you that I have successfully managed to setup a Raspberry PI system as a market data recorder for JBookTrader.

It has the following setup:
* Raspberry PI model B (512 Mb RAM)
* 8 GB SD card class 10
* power supply from my internet router
* connected to router via 100 MBit/s ethernet cable
* overclocking og raspberry PI in mode high (is officially supported now)
* OS: Raspian from standard image (Debian Linux)
* Java version: Oracle 8 JDK
* Remote Access: remote desktop from Windows 7 via xrdp and ssh
* DynDns via ddconfig
* software config: IBGateway from IB, current JBookTrader source from web repository, compiled on Windows
* startup time IBGateway: ~30 seconds, JBookTrader ~ 10 seconds
* recording for two symbols
* avg cpu usage: IBGateway ~ 5%, JBookTrader ~ 10%
* mem usage: 431 MB totally used on system, * avg cpu usage: IBGateway ~ 50%, JBookTrader ~ 10%

the config is running stable 24/7 since about 2 weeks now

Eugene Kononov

unread,
Oct 23, 2014, 12:00:34 PM10/23/14
to JBookTrader
This Raspberry PI ?

--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader...@googlegroups.com.
To post to this group, send email to jbook...@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.

new_trader

unread,
Oct 23, 2014, 12:41:14 PM10/23/14
to jbook...@googlegroups.com
Yes, this one, Model B
Specs:
http://en.wikipedia.org/wiki/Raspberry_Pi

Price: ~$35

Eugene Kononov

unread,
Oct 23, 2014, 12:45:05 PM10/23/14
to JBookTrader
Awesome. The first question that immediately popped in my head was "Why?". But now I can see why. A $35 dedicated device that does the same job as a bloated and power wasting $3,500 rig. Well done.

new_trader

unread,
Oct 23, 2014, 2:43:56 PM10/23/14
to jbook...@googlegroups.com
yes this little device is really awesome. standard linux with a very large community gives you a very robust platform.
hardware absolutely cheap, operating costs - mainly electricity - at the fraction of a desktop or laptop system

Random

unread,
Oct 28, 2014, 7:47:52 PM10/28/14
to jbook...@googlegroups.com

Really cool, I had read about raspberry on slashdot.org a while back, didn't think I could make it work so dropped the idea. I'll definitely look it up again. Do you use a virtual host to remote connect as well?

new_trader

unread,
Oct 29, 2014, 4:31:17 AM10/29/14
to jbook...@googlegroups.com
yes I can do a remote connect via ssh and Windows Remote Desktop.
Therefore you need the xrdp package to enable the Remote Desktop Protocol. JBT and IBGateway are running on the X-Windows environment and are managed (start/stop/health check) remotely via Remote Desktop Client from Microsoft.

You can use the ddclient package to connect to your favority dnydns provider

Random

unread,
Oct 30, 2014, 5:22:22 PM10/30/14
to jbook...@googlegroups.com

 Thanks, think I'll try a local setup first, then find a server host.
Reply all
Reply to author
Forward
0 new messages