PureBytes Links
Trading Reference Links
|
Mark,
TS 7.x, strategy signals are notified as 1)email alerts & 2)window popups.
Many of you are probably aware of this product called tradebolt, which gets
your signals from TS 7.x (among many other TS versions supported) and feeds
the trade to IB or JTrader. It's a nice product, it seems, but they want $1
per ctx per side. Riskless $2 every round turn you do - and some here
probably do a lot of those... pretty sweet, huh?
The way it is done is actually quite simple. TS would email the alerts to
any email address you specify. I have been working on a product for for a
while, and are currently using it myself. It's not quite ready for release
to other users, but maybe in a few week or so I would have something I can
call beta release. It's written in Java. What it does is implement a
barebone SMTP server. The IP address of the machine on which it's running is
specified in TS, and as the mail is generated, it's sent to my programs SMTP
server, which scans the email to get information.. which contract, how many,
what order etc. As soon as that is available, an order is generated using
IB's TWS API and fed to TWS for execution. It all happens very quick.. I
haven't timed it, but should be under 0.1 second or far less.
This approach, as opposed to writing the signals to a file from EL, has many
advantages.. No modification of code is necessary. No need to take care of
the way TS generates order end of every bar. Also, using file approach, it
isn't possible to put stop & target if the order is generated intrabar.
Couple of things you should be aware of if you are going to use TS 7.x
itself for automation
1) You CAN NOT be long & short in the same symbol at the same time. So
running multiple strategies, presumably on different timeframe is out of
question.
2) TS 7.x doesn't have Stop Limit. Probably true for earlier versions of TS
as well.
3) NO hard stops. Your stops are held *locally*, at your machine. Anything
wrong at your end (machine freezes, internet connection drops, lost
connection with TS trade server etc.) and you have a position on without
stops.
I am able to get rid of all these limitations by using IB as my broker. I
would post the information in IB's freelance tools section when I am ready
to release a beta version. I haven't decided if I would be charging a fee
for this. but if I do it would be probably be something small (like some of
the IB order entry frontends) to partially cover my work & support.
Certainly no silly per trade fee with no cap.
Thanks,
Abhijit
----- Original Message -----
From: "Mark Morrissey" <markmorrissey@xxxxxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Tuesday, February 17, 2004 5:09 PM
Subject: Automating Tradestation stategies
> Hi All
>
> I have created an automated interface which will read the alert11.mdb file
> in Tradestation 2000i, which all though is pretty slow works OK. I am
> considering upgrading to TS7 can anybody tell me how to trap the strategy
> signal from the TS7 platform. Also is there a faster way of reading the
> signals from TS 2000i, I considered trapping the popups but they seem a
bit
> erratic.
>
> If anyone can give me a bit of advise it would be most apreciated.
>
> Thanks
>
> Mark
>
>
|