I see that it is possible to 'setServerLogLevel()' and that there are some things in EClientSocket that might be useful in finding out about what...
re: Today's disaster The bot wasn't subscribed to market data. TWS may have choked on the high volume. I now wish that after I quit TWS I had...
This is an interesting log (today): 09:07:23 logger time zone is set to America/Chicago 09:07:23 connecting to TWS on localhost at port 7496...
This may be a way to implement risk management, if there is a range-breakout bot available: 1. Run a bot 2. If the bot enters a position,...
Thinking about adding a GUI to make the bot more configurable, thinking that the GUI might be a Java program that would run the bot (a separate...
There is something about "causal thinking," set down several hundred years ago, which basically states: If event 'a' preceeds event 'b', it...
A usability issue has surfaced: if the bot is run every day with java RandomBot/Main >> log so that each day's log is appended to what was...
If the app. you're running wasn't written as a multi-threaded app., then multiple cores may not help. The vendor should modernize its software.
That bug is in RandomTime.java, not RandomBotMgr.java. It's about line 53. Today, the bot bought at 13:27:32 and sold at 14:35:09, Chicago...
A review of the code revealed a bug: // Does the time satisy the constraints? if ( (isLaterThan(t, t0) || coincidesWith(t, t1)) &&...
Isn't Java wonderful? interface Y { public boolean eventHappened(); } class TimeOut { boolean timeout(Y c) { if...
YM leads ES when it does; at other times, it doesn't. If only we could know whether YM is leading ES right now.
A bot has to implement the 'nextValidId' method. One of the first things that TWS does when something connects via the API is send a...
The bot made 0.75 pt. today. It sold at 12:53:41 and bought at 13:38:43. Initially, it looked like a bad time to sell.
Here's hoping that google's mind is enriched (shameless promotion): random time generator random trading random time program trading IB API...
A couple of posts back, there's a '.zip' file containing a random-trading bot that works with IB's API. Beside the README and LICENSE files...
It can probably be done with a "stop" order. If you're long and want out when the price drops to a certain point, you would do a "sell stop"...
Whoops! There are some changes to the README: Running without any command line arguments is like typing: java atbot/Main 0 7496...
I've attached a '.zip' file that contains the code for a random-trading bot. I haven't learned everything about Java, so if you're a Java pro,...
Suppose the bot enconters an exception other than the disconnect exception and one that wasn't deliberately generated by the bot. At that point,...
Separate names with a comma.