If you can't figure it out using AFL or another language, try using AutoIt (freeware). I use AutoIt to control my TC2007 datafeed launch and exit. There are other freewares that compete with AutoIt, but having tried a few, AutoIt seems extremely reliable, fast, and easy to script.
~Bman You can read more about it here -- http://www.mail-archive.com/[email protected]/msg01028.html --- In [email protected], "itmwh" <[EMAIL PROTECTED]> wrote: > > One of the instruments I trade has two sessions in a trading day, one > in the AM and one in the PM. I use IB TWS as datafeed. Everyday after > lunch break, I found there are 1-3 bars of uncorrect data at the > beginning of the second session. Usually by clicking "shutdown" > and "reconnect£¢button in the datafeed plugin menu I can make AB get > the correct bar . As I am testing some autotrade codes, my question > is , is there a way to do this by AFL rather than by hand ? >
