non-linear, perhaps my questioning for something that may sound totally
obvious to
you or for that matter totally useless is undoubtedly irritating. May be I
am missing
something and I will honestly appreciate it if you told me what is it that I
am doing
wrong since I am only learning about the platform and the IB API
environment.

How am I to manage let's say two trades that will automatically cancel each
other if executed
on a live contract. (let's sat  stop sell order ECZ10) followed by a stop
buy order ECZ10 yet for
some reason wanted to keep separate. if the orders are on the same account,
they are
are on the same order queue (the same account, port and user id).
so I will have to use your methods in traderAssistant and call my buy and
sell routines with account-# included.
the mechanics of this are not clear to me but according to you I should
technically launch another copy of
the JBT and connect to that instance before placing an order. I know that
traderAssistant provides various methods for
 connecting to IB server and account-maintenance...

I am open to your suggestions and am not fixated on something but I have
some practical consideration. I have managed
to consolidate my entire strategy in one symbol but I will need to keep
their executions separate although they will be
handled from the same code and data-structure from the main strategy.

Thanks,



On Thu, Jun 17, 2010 at 12:10 PM, nonlinear5 <[email protected]>wrote:

> > thanks. what about overriding JBT to launch more than one instance of
> > itself?
> >
>
> The detection mechanism is in JBookTrader.java. It should be
> straightforward to override it. However, you you would also have to
> run two instances of JBT from two different directories, connecting to
> two different ports of two instances of TWS. It's a configuration
> which gives you no extra edge whatsoever, so why bother?
>
> --
> 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]<jbooktrader%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jbooktrader?hl=en.
>
>

-- 
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