Hi guys,
New to the board (though lurking for a while), I;m hoping someone will be able to point be in the right direction..
I'm running a non-descretionary trading system, using IB. (swing trading, using EOD data only)
I currently us IB's bracket orders. Each day I calculate buy(or sell) points, stoplosses and price targets, and enter them into TWS as GTC orders before the market opens.
For each stock I'll want to enter something like this..
"BUY 100 XYZ at 56.20, with a stoploss at 55.10 and sell limit at 60 (GTC)"
I enter my entry limit order (long or short), select "attach bracket orders", and enter the stop and limit prices.
If it doesn't execute that day, I'll often want to keep the order on, but change the prices levels a little for the next day... or sometimes I'll take the order off completely.
What I'd really like to do is produce a list of these bracket orders and enter them automatically to IB. Since I'm entering orders before the open, which only execute during market hours, I could produce fresh DAY order each day if neccessary, rather than modify GTC orders, if that makes it simpler to implement.
The problem is, when I look at the basket order page, it doesn't seem to let me enter or modify bracket orders.
When I save out a page of bracket orders as a basket and reload them the link between the stop/target orders and the parent order are gone. (i.e. they are no longer brackets, so the stop-loss order could execute without ever having taken the postion in the first place...bad)
Is there a way round this? I'm no programmer, but I could learn if neccessary if the API's could support something like this? Or are there any other IB front-ends that can help me?
It seems so simple. automatically entering a list of bracket orders each day..... but I can't figure it out..am I missing something obvious?
New to the board (though lurking for a while), I;m hoping someone will be able to point be in the right direction..
I'm running a non-descretionary trading system, using IB. (swing trading, using EOD data only)
I currently us IB's bracket orders. Each day I calculate buy(or sell) points, stoplosses and price targets, and enter them into TWS as GTC orders before the market opens.
For each stock I'll want to enter something like this..
"BUY 100 XYZ at 56.20, with a stoploss at 55.10 and sell limit at 60 (GTC)"
I enter my entry limit order (long or short), select "attach bracket orders", and enter the stop and limit prices.
If it doesn't execute that day, I'll often want to keep the order on, but change the prices levels a little for the next day... or sometimes I'll take the order off completely.
What I'd really like to do is produce a list of these bracket orders and enter them automatically to IB. Since I'm entering orders before the open, which only execute during market hours, I could produce fresh DAY order each day if neccessary, rather than modify GTC orders, if that makes it simpler to implement.
The problem is, when I look at the basket order page, it doesn't seem to let me enter or modify bracket orders.
When I save out a page of bracket orders as a basket and reload them the link between the stop/target orders and the parent order are gone. (i.e. they are no longer brackets, so the stop-loss order could execute without ever having taken the postion in the first place...bad)
Is there a way round this? I'm no programmer, but I could learn if neccessary if the API's could support something like this? Or are there any other IB front-ends that can help me?
It seems so simple. automatically entering a list of bracket orders each day..... but I can't figure it out..am I missing something obvious?
nice.