SumZeroTrading
SumZeroTrading copied to clipboard
Specify the Account
Hi, Is there a way to specify the account number before starting the trading via the API? :)Vincent Yap
hmmm, I don't think that is there yet. What are you intending to use it for? Do you have a master account with multiple sub accounts?
I intend to create a family account. I have added the account handling in InteractiveBroker.java and TraderOrder.java. You can review the diff and merge it if it is correct. InteractiveBrokersBroker.java.diff.txt TraderOrder.java.diff.txt
Changes look good @vinceyap88 If you want you can create a pull request to submit your changes to be merged into the mainline. Also, if there are any unit tests touching the InteractiveBrokersBroker and the TradeOrder classes, it would be good to test the new account number functionality.