On Wed, 5 May 2010 20:27:33 -0700 Marcel Dan <marcel...@nwvd.org> wrote:
> Hi, > > I have been unable to get thinkorswim connected to the TDAmeritrade > server on OpenBSD. > > Has anyone used thinkorswim from TDAmeritrade on OpenBSD? > > thanks, > > Marcel You need to provide more information. What *exactly* are you trying to do, how are you trying to do it, what is your configuration, and what if any error messages do you get in your xterm? It's been a few years (2007), but yes, I had ThinkOrSwim running on OpenBSD at one point in time. It was only running with a "demo" account, so I doubt TDAmeritrade was involved, but I'm not certain (e.g. TDAmeritrade *might* have been the source of the quote streams for demo accounts, but I really don't know for certain). If you're not running from a xterm, you should be. $ cd /place/where/tos/is/installed $ java -jar launcher.jar If you want more debug info: $ java -debug -jar launcher.jar Though the above should get you the vast majority of status/error messages, you should also keep an eye on the output of your console (VT1). You'll need the typical java settings in your environment (or in your ~/.kshrc). You'll need to ln(1) whatever java version you're using to /usr/local/java and /usr/lcoal/share/java if you have multiple versions of java installed, as well as set up your classpath. A little shell script can handle it: # Java Stuff export JAVA_HOME=/usr/local/java CLASSPATH=./ CLASSPATH=$CLASSPATH:$JAVA_HOME/jre/lib CLASSPATH=$CLASSPATH:$JAVA_HOME/lib CLASSPATH=$CLASSPATH:$JAVA_HOME/jre/lib/rt.jar CLASSPATH=$CLASSPATH:/usr/local/share/java/classes export CLASSPATH export PATH=$PATH:$JAVA_HOME/jre/bin In 2007 the ThinkOrSwim folks liked to claim compatibility with ancient java versions (e.g. v1.1), but they really don't do proper testing to make sure their claims are accurate. From my testing in 2007, at least Java 1.5 was actually required. My notes also mention needing to run $ touch thinkorswim.lax in the ./TOS/ directory to get rid of an error message on startup since the file was not created by default. This bug was reported, but I'm not sure if it was ever fixed. NOTE: Though TOS ran fine for me with a demo account, things have undoubtedly changed in their software since 2007. jcr -- The OpenBSD Journal - http://www.undeadly.org