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

RE: [amibroker] Autotrade - IBController



PureBytes Links

Trading Reference Links

1) Min Scan-rate is I minute, the price can move quite a bit in one minute and this may be too slow for some systems
 
2) You can write your code to be either Symbol specific, then there is no need to use the SetForeign(). The simplest is to never run the same Symbol in more than one window (you can write a check for this) and attach the Symbol name to all StaticVariable names (you can use functions to do this automatically).
 
herman
 
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf Of Ara Kaloustian
Sent: Sunday, January 08, 2006 7:59 PM
To: AB-Main
Subject: [amibroker] Autotrade - IBController

I have been playing with ibcontroller paper trading ONE issue for about a week and got the flavor for it...
 
Now starting to design a portfolio trading system...  nor sure which way to go...
 
1. Run the trading code inn AA window and have an indicator window to monitor portfolio status (via static variables from trading code)
 
2. Run trading code from indicator window and have charts for individual issues create trading signals and pass them to the trading code window as static variable.
 
3. Any other suggestiion?
 
 
Method #1 - I beleive Herman had found this too slow for the number of issues he wanted to trade.
 
Method #2  - In order to assure data integrity, I beleive that each window will have to be hard coded (by use of foreign() ) in order to insure data does not change if window is selected for some reason. If I am right, this is very cumbersome.
 
 
Appreciate any feedback
 
Ara
 
 
 


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