API Support Forum
OEC API > API Support > Re-syncing carried position on Allocation Block(s)
Author Topic: Re-syncing carried position on Allocation Block(s)
(3 messages, Page 1 of 1)
Moderators: VPfau
PNannis
Posts: 13
Joined: Apr 16, 2014


Posted: Mar 07, 2018 @ 10:41 PM             Msg. 1 of 3
During the trading session the Allocation Block orders are maintained so you can properly report the total position for the Allocation Block. However after the End-Of-Day processing these orders disappears and only the net position for the underlying accounts are reported. If you only had ONE allocation block then you could add the sub account positions together to calculate it, BUT if you have 2 allocation blocks with separate positions including the same underlying accounts there is no way to re-construct the position for the block accounts (since you only get the net position for each underlying account). How is this supposed to be done?
Peter Nannis
CMicciche902
Posts: 348
Joined:


Posted: Mar 08, 2018 @ 09:00 AM             Msg. 2 of 3
The wash account does not carry positions from one session to next. However, your Allocation Block definition may show child accounts with positions from prior session.

Acct #: WASHACCT - will show top of day trades only, then reset at market close

Block A:
Customer1 - Long 1 ES from prior session
Customer2 - Long 2 ES from prior session

Block B:
Customer1 - Short 1 NQ from prior session
Customer3 - Short 1 NQ from prior session

If no top of day trades today, WASHACCT shows no activity or positions.
Chris M
PNannis
Posts: 13
Joined: Apr 16, 2014


Posted: Mar 08, 2018 @ 12:38 PM             Msg. 3 of 3
for username PNannisTM in the Development environment.

I left yesterday's session with
Block "BWT", ESH8 +3@2707 and ZBH8 -3@143.12
Block "BW Block", ESH8 -5@2721.50 and ZBH8 +5@143.03

In OEC Trader (as well as my platform) I get for today's session
Block "BWT", ESH8 -2@2721.50 and ZBH8 +2@143.03
Block "BW Block", ESH8 -2@2721.50 and ZBH8 +2@143.03

which is the summary of the NET positions for the underlying accounts. Is there a way to re-construct the initial block positions I left the previous session with?
Peter Nannis