Search the web
Sign In
New User? Sign Up
amibroker · AmiBroker User's List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
IB Controller and multiple IB accounts   Message List  
Reply | Forward Message #132230 of 143813 |
Re: [amibroker] Re: IB Controller and multiple IB accounts

Thanks Ed.

Are you using IB controller to send orders to your different TWS accounts?  I gather that you just use SetAccount to designate where the trade is going.

This sounds like the way to go.

Any downsides to using the Advisor account?

ges

On Thu, Nov 20, 2008 at 9:42 PM, Ed Hoopes <reefbreak_sd@...> wrote:

I have 5 accounts with IB - all controlled from an Advisor account.
When you log into the Advisor account you can direct orders into any
of the client accounts.
The choices are: (this list may be incomplete)
1. direct an order to a individual client account
2. split the order on a % basis to 2 or more accounts
3. split the order on a $ basis to 2 or more accounts

This is very convenient - you only need to set up one order, then when
it executes the shares are distributed per your split instructions.
Using an Advisor account has reduced my error rate significantly.

Ed Hoopes

PS You can even arrange for commissions to be paid to the Advisor



--- In amibroker@yahoogroups.com, "Ara Kaloustian" <ara1@...> wrote:
>
> IB and ibc both have a parameter to control which TWS you connect
to. You can only connect to one TWS. This is done by selecting a port
number. Look in TWS configuration section and API area. ibc is easier
to find the parameter, but don't remember exactly where it is.
>
> I beleive you can use that one connection to send orders to multiple
IB accounts in the same way that you would if you were using TWS to
place your orders.
>
> I have not used multiple accounts, but ibc can communicate with ONE
TWS and you can do whatever you can normally do from TWS.
>
>
> ----- Original Message -----
> From: ges x
> To: amibroker@yahoogroups.com
> Sent: Thursday, November 20, 2008 11:39 AM
> Subject: Re: [amibroker] IB Controller and multiple IB accounts
>
>
> Thanks Ed,
>
> The second computer is a possibility, but I'd rather work off of
one computer if possible.
>
> ges
>
>
> On Thu, Nov 20, 2008 at 12:20 PM, Edward Pottasch <empottasch@...>

wrote:
>
>
> I believe you need a "professional account" at IB but I am not
sure. A second computer works for sure.
>
> rgds, Ed
>
>
>
>
>
> ----- Original Message -----
> From: ges x
> To: amibroker@yahoogroups.com
> Sent: Thursday, November 20, 2008 8:14 PM
> Subject: Re: [amibroker] IB Controller and multiple IB accounts
>
>
> OK, I opened 2 IB accounts (2 TWS) and sent an order from IB
Controller and it went to the account that was opened first.
>
> Is that the only option? Or is there a way to control which
account receives the order from Amibroker?
>
> ges
>
>
>
> On Thu, Nov 20, 2008 at 9:33 AM, ges <ges8ges@...> wrote:
>
> I usually have 2 or 3 IB accounts open. With IB Controller,
how do
> you specify which account the trade is to go to?
>




Fri Nov 21, 2008 9:27 am

gesges
Offline Offline
Send Email Send Email

Forward
Message #132230 of 143813 |
Expand Messages Author Sort by Date

I usually have 2 or 3 IB accounts open. With IB Controller, how do you specify which account the trade is to go to?...
ges
gesges
Offline Send Email
Nov 20, 2008
4:33 pm

OK, I opened 2 IB accounts (2 TWS) and sent an order from IB Controller and it went to the account that was opened first. Is that the only option? Or is there...
ges x
gesges
Offline Send Email
Nov 20, 2008
7:14 pm

I believe you need a "professional account" at IB but I am not sure. A second computer works for sure. rgds, Ed ... From: ges x To: amibroker@yahoogroups.com ...
Edward Pottasch
ed2000nl
Offline Send Email
Nov 20, 2008
7:20 pm

Thanks Ed, The second computer is a possibility, but I'd rather work off of one computer if possible. ges...
ges x
gesges
Offline Send Email
Nov 20, 2008
7:39 pm

IB and ibc both have a parameter to control which TWS you connect to. You can only connect to one TWS. This is done by selecting a port number. Look in TWS...
Ara Kaloustian
Akaloustian
Offline Send Email
Nov 20, 2008
7:45 pm

Thanks Ara for the pointer. I can see that both TWS IB accounts that I have open have the port set to 7496 and the IB Controller is set to 7496. But when I...
ges x
gesges
Offline Send Email
Nov 20, 2008
11:53 pm

I have 5 accounts with IB - all controlled from an Advisor account. When you log into the Advisor account you can direct orders into any of the client...
Ed Hoopes
reefbreak_sd
Offline Send Email
Nov 21, 2008
4:42 am

Thanks Ed. Are you using IB controller to send orders to your different TWS accounts? I gather that you just use SetAccount to designate where the trade is...
ges x
gesges
Offline Send Email
Nov 21, 2008
9:28 am

My experience has been positive. Here are a couple of negatives: 1. you cannot trade from a client account - only from the advisor. Which makes sense of course...
Ed Hoopes
reefbreak_sd
Offline Send Email
Nov 22, 2008
3:53 am

Thanks Tomas, Ed, and everyone. That is very helpful. It all makes sense now. ges...
ges x
gesges
Offline Send Email
Nov 23, 2008
5:31 pm

ges, icb should not connect to both... if for some reason it does, things can get to be very confusing ... very fast ... From: ges x To:...
Ara Kaloustian
Akaloustian
Offline Send Email
Nov 21, 2008
1:50 am

Thanks Ara, No, it does not seem to connect to both and that is good. As far as I can tell, it connects to the first TWS that is loaded. But is there some...
ges x
gesges
Offline Send Email
Nov 21, 2008
4:31 am

Change the port number in TWS to agree with ibc ... so that will be the only communication path. A second TWS can have a different port number, so you're sure...
Ara Kaloustian
Akaloustian
Offline Send Email
Nov 21, 2008
5:02 am

Thanks Ara, Does it matter what port number you use? ges...
ges x
gesges
Offline Send Email
Nov 21, 2008
9:29 am

Use any port number .. they are arbitrary ... I am sure there are restrictions ... just make them similar .. 7490, 7491 ... or whatever they are ... etc ... ...
Ara Kaloustian
Akaloustian
Offline Send Email
Nov 21, 2008
4:01 pm

Yes, IBController has a address/port preferences (from File dialog) that allows to specify where it connects. You can configure each TWS to use different port....
Tomasz Janeczko
amibroker
Offline Send Email
Nov 22, 2008
2:00 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help