Skip to content

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

Description

@programmingwithalex

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions