API Support Forum
User Profile

Viewing User Profile for: ARowbotham2


About

Mar 04, 2016 11:47 AM

Jul 18, 2016 11:59 PM

Jul 18, 2016 11:59 PM



Post Statistics
ARowbotham2 has contributed to 2 posts out of 5593 total posts (0.04%) in 2974 days (0.00 posts per day).

20 most recent posts:

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