hi,

in TWS, when you log in with a userId which has multiple accounts,
there is
a drop-down box on most screens where you select the account number.

In the API, you set the account number in reqAccountDetails and the
Order item.

I have gotten around the problem by requesting userId's from IB which
only pertain to the specific accounts.  However,  I have to log into
TWS in
two separate instances (one each account) and also run two separate
instances of jbooktrader.
It would be better to be able to specify account in jbooktrader and
run one
instance of TWS and two of jbooktrader.  Or even better, have the
account specification
at the strategy level, and only one instance of jbooktrader (but this
would be
much more difficult in jbooktrader.)

I don't think that having the ability to add an account number would
be
that difficult to add in the case of one jbooktrader instance per
account.
Just creating a parameter and passing it through when requesting
account details
and when creating orders.

thanks.

On Sep 25, 7:53 pm, nonlinear5 <[email protected]> wrote:
> When you login to TWS, how to do you specify which account will be
> used?
>
> On Sep 21, 7:49 am, BrianB <[email protected]> wrote:
>
> > Hi,
>
> > Am I able to somewhere specify which account to use when I have one
> > login linked to multiple IB accounts?
>
> > Thanks,
>
> > Brian

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en.

Reply via email to