IB's API code may reach "error(Exception e)", which the bot is required to implement. Here is some pseudocode that considers what might be done...
The bot finished for the day. It made .25 pt. When the entry order was submitted, TWS was docked in the toolbar; when the exit order was...
I exited the bot and TWS, then restarted later. This is what the log, so far, shows: 08:32:22 logger time zone is set to America/Chicago...
I've emailed the files to chameleontrader. He may put them on SourceForge soon. If you download and run it, it is important to know that...
Today, the bot sold at 13:52:36 and bought at 14:42:29, Chicago time. It wasn't the best time to sell, but the buy to cover timing wasn't bad...
dcraig: Thanks for the input. Right now the bot just has one 'Session', because it only trades ES at the CME during regular trading hours. With...
chameleontrader: That's good news. I think they use CVS, which lets people browse the source code, so someone could copy and paste if they have...
Yesterday, the bot traded four times. The longest was about seven minutes, another for about five minutes, another for a few seconds, then one...
There may be an arithmetic mistake in that last post. The bot should generate a transaction report at the end of session, summarizing the...
When the bot traded yesterday, it was run from a script and traded a 5 minute session each time it ran, so it made a lot of trades over the hour...
I mentioned that I had a problem with "static context". Here is some code that illustrates the problem. That 'main' is "static" has nothing to...
By monday, I hope to put the new files up. It needs a lot of work, but I have found it useful. It does random-trading and does logging, so I...
In the last post I may have given the impression that RandomBotMgr computes the trade times, then hands them off to RandomBot for scheduling....
I've retrofitted that last randTime.java into a bot and ended up with additional files: X.java, Logger.java and RandomBotMgr.java. It traded...
If you know the name or ip address of a server, you could 'ping' it, which will give some info about how long it takes to reach it. The time may...
I've attached a new randTime.java, in randtime.txt, which fixes the problem mentioned last. Here is the log output for a session between...
re: "Note that if the 'seconds' part of 'close' (in main's preliminaries) is 'n', then the 'seconds' part of every exit/entry time will be <=...
I am not an experienced FIX user, but may be able to answer a couple questions. re: "Is there offered open source code that handles the FIX...
attachment retry ...
I've attached a new randTime.java, in randtime.txt. It appears that trade entry and exit times are computed correctly, so I think that the bot's...
Separate names with a comma.