×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

Daytrading系列之 InteractiveBrokers + Linux + Sympatico Configuration

本文发表在 rolia.net 枫下论坛RedHat 7.1 + ethernet + Sympatico + IB
1) to 9) is for IB
10) to 12) is for linux browser: Opera

Step by Step:

( I only have RedHat 7.1 now. Recently my Windows system
is not so stable, so I want to try IB's Linux verstion )

(user: root)

1) use ethernet , eth0 , static IP ( for example: 192.168.... ).
2) /etc/ppp/pap-secrets userid (b1******@sympatico.ca) and password .
3) /etc/ppp/pppoe.conf ( [a]use which network card eth0, [b]useridb1******@sympatico.ca )
4) /etc/ppp/options change to the following:

#haah added:
pty "/usr/sbin/pppoe -I eth0"
name "b1******"
noipdefault
hide-password
defaultroute
persist
#the following may be already exist
lock
#end of the file

5) /etc/rc.local added the following line at the end of this file:
#haah added: (let it run automaticly)
pppd
#end of the file

6) /etc/resolv.conf added the following sympatico DNS
#haah added: I got these two from the windows me system: (winipcfg)
nameserver 207.236.176.27
nameserver 206.47.244.42

7) download jre from java.sun.com or from the IB's links.
use rpm -Uvh ... to install it.

8) download IB program ( see the IB's unix standalone ) and install it
(I can not find "jar" command under linux so I use the IB program
jts.jar and jts.ini direct copy from the Windows system, it works,
java is great! )

9) when you run jts.jar do not forget the java path, or you can
build a batch file. for example:
"/usr/java/j2re1.4.1_03/bin/java -jar jts.jar YOURPATH"

----------- Linux browser Opera :
10) download openmotif21-2.1.30-1.i386.rpm use rpm -Uvh ... install it
11) download opera-7.11-20030515.1-static-qt.i386.rpm use rpm to install it
( "static" one, if "shareed" one, it need other files )
12) added java path to opera ( you can visit opera.com 's FAQ to check how
to added java path for opera)更多精彩文章及讨论,请光临枫下论坛 rolia.net
Sign in and Reply
Modify
Report