API Support Forum
OEC API > API Support > closing a position?
Author Topic: closing a position?
(2 messages, Page 1 of 1)
Moderators: VPfau
oconnod
Posts: 4
Joined: Oct 29, 2008


Posted: Oct 29, 2008 @ 01:20 PM             Msg. 1 of 2
How do you close a previous day's position? I'm learning from the OEC API C++ Sample application and it has me constantly subscribed to ESZ8 because it says I have 10 contracts from the previous day's position. When I sell 10 contracts today it still doesn't close my position. Thanks for your help.
Dan
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Nov 05, 2008 @ 04:51 PM             Msg. 2 of 2
Previous day position provided for information only.
You should look for net position to see actual position at the time.
when you sell 10 ESZ8, net position becomes zero.