API Support » Allocation block net position Jul 18, 2016 @ 11:59 PM (Total replies: 2) | |||||
I am looking for documentation on how to get the net position for an allocation block (instead of a single account). I would like something similar to the OnPositionChangedEvent event, except one that summarizes at the allocation block level. What is the best approach for this? (NB., the API docs don't seem to be working - For example, http://www.openecry.com/api/api/html/P_OEC_API_AllocationBlock_TotalBalance.htm cannot be reached.) Thank you! Adam Rowbotham
|
|||||
API Support » GetInvalidParts detail request Mar 21, 2016 @ 10:06 PM (Total replies: 1) | |||||
Hi everyone, We have an application that is attempting to execute an order using an allocation block. When we check the NewOrderDraft, the data structure seems to be correctly formed. The debugger shows that the AllocationBlock property is populated and correct. However, when we attempt to verify this before submitting the order draft by calling the GetInvalidParts method on the order draft, the output is "AllocationBlock." I can execute orders using the OEC Trader Developer application and the same allocation block without issue, so I assume everything is set up correctly. What is the GetInvalidParts method doing, exactly, that would cause this behavior? Thanks! Adam Rowbotham
|