Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocation profiles aren't being generated when sending orders to IB? #60

Open
programmingwithalex opened this issue Dec 17, 2018 · 0 comments

Comments

@programmingwithalex
Copy link

I am building an XML tree of the allocations to IB and all the information is correct. More so, the orders show up in the trading window with all the correct positions and buy/sell. However, on the IB desktop client, after going into Global Configuration > Allocation Profiles, none of the actual allocation profiles are being built.

Is this an issue with the package? None of the examples included show sending orders with allocation profiles.

This is the XML I am sending to IB to generate the orders and allocation profiles.

<ListOfAllocationProfiles><AllocationProfile><name>TLT US Equity</name><type>3</type><listOfAllocations varName="listOfAllocations"><Allocation><acct>XXXXXXX1</acct><amount>0.0</amount><posEff>0</posEff></Allocation><Allocation><acct>XXXXXXX2</acct><amount>1.0</amount><posEff>0</posEff></Allocation><Allocation><acct>XXXXXXX3</acct><amount>0.0</amount><posEff>0</posEff></Allocation><Allocation><acct>XXXXXXX4</acct><amount>0.0</amount><posEff>0</posEff></Allocation></listOfAllocations></AllocationProfile><AllocationProfile><name>XLK US Equity</name><type>3</type><listOfAllocations varName="listOfAllocations"><Allocation><acct>XXXXXXX1</acct><amount>1.0</amount><posEff>0</posEff></Allocation><Allocation><acct>XXXXXXX2</acct><amount>1.0</amount><posEff>0</posEff></Allocation><Allocation><acct>XXXXXXX3</acct><amount>1.0</amount><posEff>0</posEff></Allocation><Allocation><acct>XXXXXXX4</acct><amount>1.0</amount><posEff>0</posEff></Allocation></listOfAllocations></AllocationProfile></ListOfAllocationProfiles>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant