PureBytes Links
Trading Reference Links
|
Greetings all.....
I plan to load this newest release of ami up and kick the tires.
So far I am a tradestation and IB user and I am interested primarily
in the automated ib trading platform and also take a peak at your
optimizer too.
My initial questions are:
Will this demo work using live data?
If yes, does it allow me to monitor 2 live symbols at the same time?
Can/how do I enter futures into ami/ib autotrader, such as ym and er2?
IB provides a practice workstation thats identtical to the normal one
and utilizes a different sign on, is it possible to distinguish where
the order goes and differentiate between the two for placing orders?
I would like to use the ib practice trade station to test this on
while using the real one for trading with my present system on the
same computer.
Before I load ami I would also like to get my coding ducks in a row
and have at least a clue how to code this autotrading thing so I dont
waste the first 7 of the 30 days battling to get the code to work
right.....
I have downloaded everything and have read what I could find on how to
code it and this is what I came up with:
//////////////// signal code here ////////////////
buy = exrem(buy,sell);
sell = exrem(sell,buy);
for globex////////////////////
if(buy==1){
ibc.PlaceOrder("er2u6", "buy", 2 , "mkt", 27, 0, "DAY;GAT 20051214
18:00:00 GMT", True );
}
if(sell==1){
ibc.PlaceOrder("er2u6", "sell", 2, "mkt", 27, 0, "DAY;GAT 20051214
18:00:00 GMT", True );
}
//////////////// signal code here ////////////////
for ecbot////////////////////
if(buy==1){
ibc.PlaceOrder("ym-sep-06", "buy", 2 , "mkt", 27, 0, "DAY;GAT 20051214
18:00:00 GMT", True );
}
if(sell==1){
ibc.PlaceOrder("ym-sep-06", "sell", 2, "mkt", 27, 0, "DAY;GAT 20051214
18:00:00 GMT", True );
}
Is this the way it should be coded to get it to work for basic buy and
sell for futures?
Is there anything else I need to know before I give this a whirl?
regards,
JJ
|