API Support Forum
OEC API > API Support > Position->OTE Using Settlement?
Author Topic: Position->OTE Using Settlement?
(3 messages, Page 1 of 1)
Moderators: VPfau
RWare2020
Posts: 127
Joined: Feb 11, 2020


Posted: Jun 27, 2022 @ 02:55 PM             Msg. 1 of 3
It appears that the OTE value from the position may be using settlement instead of the last price to calculate the gain/loss of a position.

We have a position of corn that was sold at a rate of 7.0975, the current price is 6.5125, and the settlement price is 6.9375.

The OTE value returning is 800 while the true pnl value from the rate to the current should be $2,925.

Will you please look into this for me?

Thanks.
JSmith5611
Posts: 138
Joined: Aug 11, 2015


Posted: Jun 27, 2022 @ 03:01 PM             Msg. 2 of 3
OTE uses Last price if the contract is in session, and Settlement if the contract is not.
Corn closes at 2:20 EST.
Jason Smith
RWare2020
Posts: 127
Joined: Feb 11, 2020


Posted: Jun 27, 2022 @ 03:02 PM             Msg. 3 of 3
Okay I believe that would be why then. There is a HypoPNL, but there is no documentation that I can find on that. Can you tell me what that is?