API Support Forum
OEC API > API Support > API C# - RealzedPnL and Postions from Yesterday
Author Topic: API C# - RealzedPnL and Postions from Yesterday
(2 messages, Page 1 of 1)
Moderators: VPfau
ETerrien7631
Posts: 1
Joined: Mar 18, 2021


Posted: May 11, 2021 @ 02:42 AM             Msg. 1 of 2
Hi,

When I use the C# API, I receive the positions from the day before and the RealizedPnl is not reset.

Is there a parameter to filter the positions adn reset RealizedPnL ?
JSmith5611
Posts: 133
Joined: Aug 11, 2015


Posted: May 11, 2021 @ 09:58 AM             Msg. 2 of 2
Top day positions reset and realizedPnL will be reset when the trading day advances for a given contract.
For example ESM21 will move to previous day position and realized pnl will be reset at 18:00 EST every day.
Jason Smith