API Support Forum
OEC API > Order Execution > close position
Author Topic: close position
(2 messages, Page 1 of 1)
Moderators: VPfau
PArnoldson
Posts: 154
Joined: Oct 03, 2007


Posted: May 26, 2011 @ 10:06 AM             Msg. 1 of 2
Do you have a “close position” call in the api (this would be different from simply placing a order in the opposite direction as that does a margin call check). Occasionally people get rejected when trying to close an order as the system checks to see if they have sufficient margin to place the trade when in reality they are simply trying to close out their open position.

A bus station is where a bus stops. A train station is where a train stops. On my desk I have a work station.....
VictorV
Posts: 746
Joined: May 08, 2007


Posted: May 26, 2011 @ 10:51 AM             Msg. 2 of 2
Hello,

canceling working orders before placing a closing order is responsibility of client application.

Victor Vins
Software Developer