I have to add something to my previous post, otherwise it would't work for
multiaccounts. For the time being, accountCode has to be explicitly replaced
by "Uxxxxxx" for a real multiaccount or "DUxxxxx" for a simulation
multiaccount in the statement
replace
socket.reqAccountUpdates(true, "");
by
socket.reqAccountUpdates(true, "Uxxxxxx");
or
socket.reqAccountUpdates(true, "DUxxxxx");
A hardcoded accountCode within the program is an inconvenience but helps me
run on a multiaccount for the time being.
Alexander
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/jbooktrader/-/rSCYqlNCb4MJ.
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.