summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-08-25 09:19:02 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-08-25 09:19:02 +0200
commita8dedc37a24f98d2387494cee53b824414b63570 (patch)
tree357b9f29ca27678c179b2db9a6466c3319f49d02
parent8a2dde1d318ae342ec0505f9d825fe397ffdbc01 (diff)
downloadtwstest-a8dedc37a24f98d2387494cee53b824414b63570.tar.gz
twstest-a8dedc37a24f98d2387494cee53b824414b63570.tar.bz2
tested and built on windows
-rw-r--r--README29
-rw-r--r--demo/demo.bat3
-rwxr-xr-xdemo/demo.sh (renamed from demo/demo)0
3 files changed, 10 insertions, 22 deletions
diff --git a/README b/README
index 0b52239..4212805 100644
--- a/README
+++ b/README
@@ -2,28 +2,13 @@ Links
-----
https://www.interactivebrokers.com/en/index.php?f=5041&ns=T
+http://interactivebrokers.github.io/
-Java
-----
-Official TWAPI for Windows
+Requirements
+------------
-API_Version=9.73.07 (git 85a935366658cf31aac9fa37a27ac1f9d5146b85)
-
-TODO from here:
-
-jar xvf twsapi_macunix.971.01.jar
-cd IBJts/source/JavaClient
-mkdir bin
-ant
-# required bin, erzeugt 'javaclient.jar' in root (nun ja)
-
-cd samples/Java
-# run.bat erzeugt tausende Fehler
-javac TestJavaClient/Main.java
-# dito
-javac -cp ../../javaclient.jar TestJavaClient/Main.java TestJavaClient/SampleFrame.java
-javac -cp ../../javaclient.jar TestJavaClient/Main.java TestJavaClient/SampleFrame.java apidemo/*.java apidemo/util/*.java
-# keine chance, praedikat Katastrophe!
-# Packaging-Regeln werden verletzt:
-#package TestJavaClient;
+JDK 1.8
+Apache Maven 3.5.x
+Official TWAPI 9.73.07 for Windows, latest
+(or Linux: twsapi_macunix.973.07.zip, the Java code is the same)
diff --git a/demo/demo.bat b/demo/demo.bat
new file mode 100644
index 0000000..dd0b72c
--- /dev/null
+++ b/demo/demo.bat
@@ -0,0 +1,3 @@
+@echo off
+
+java -jar target/tws-demo-9.73.01-SNAPSHOT-jar-with-dependencies.jar
diff --git a/demo/demo b/demo/demo.sh
index fc4655e..fc4655e 100755
--- a/demo/demo
+++ b/demo/demo.sh