[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] NOOB questions



PureBytes Links

Trading Reference Links

this is where i sent it but it never posted:
AmiBroker-at@xxxxxxxxxxxxxxx


On Thu, 13 Jul 2006 10:43:59 -0400, you wrote:

>Since you're wanting to use the Autotrader you need to post your questions
>on the AT forum:
>
>http://finance.groups.yahoo.com/group/AmiBroker-at/
>
>d 
>
>> -----Original Message-----
>> From: amibroker@xxxxxxxxxxxxxxx 
>> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Stockjunkie@xxxxxxxxx
>> Sent: Thursday, July 13, 2006 9:09 AM
>> To: amibroker@xxxxxxxxxxxxxxx
>> Subject: [amibroker] NOOB questions
>> 
>> 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
>> 
>> 
>> Please note that this group is for discussion between users only.
>> 
>> To get support from AmiBroker please send an e-mail directly 
>> to SUPPORT {at} amibroker.com
>> 
>> For other support material please check also:
>> http://www.amibroker.com/support.html
>> 
>>  
>> Yahoo! Groups Links
>> 
>> 
>> 
>>  
>> 
>> 
>> 
>>