I don't think it's implemented in JBT 8.04, or I am missing something ? For the time being, I just want to be able to trade one account of a multi-account.
Yes, you are right, there is more to it. But you do not distribute the profit. You trade a different number of contracts for each account by issueing just one order. For our purposes, there would be 3 steps: (1) replaceFA(1, xml): Define a subgroup of accounts of your multi-account as an xml string (2) replaceFA(2, xml) Define a security and it's allocation (i.e. how many contracts for account1, how many contracts for account2, ...) as an xml string, a so called profile, and give it a profileName (contained within the xml string). In our case this would be a profile with only one security in it. The accounts referenced must be a subset of the subgroup defined in step 1. (3) placeOrder(id, contract, order) order.m_faProfile contains the profileName, and order.m_totalQuantity should contain the sum of quantities defined for the different accounts within the profile. PS: if order.m_faProfile != "", then order.m_account = "", order.m_faGroup = "", order.m_faMethod = "" as all information is stored within the profile already. That's all there is to it. In an FA multi-account, the master account is not meant to be traded, and each other subaccount has his own margin requirements. In an institutional multi-account, there is no master account and margin is shared among all accounts. -- 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.
