API Support Forum
OEC API > API Support > Trailing Stop
Author Topic: Trailing Stop
(2 messages, Page 1 of 1)
Moderators: VPfau
ASykes69
Posts: 12
Joined: Aug 25, 2008


Posted: Oct 30, 2008 @ 08:21 AM             Msg. 1 of 2
I'm having trouble creating a Trailing Stop Loss Order using the API. If I want to create a 50 cent Crude Oil (GCLZ8) Trailing Stop, what should I put in the following fields? (in this example the Market is at 67.00/bbl:

Price, Price2 (in the Order), Reference Price and Delta (in SetTSData).

Thanks for your help.
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Oct 30, 2008 @ 11:44 AM             Msg. 2 of 2
Price=stop price
Price2 not used for stop loss (stop limit only)
Reference price=current market price
Delta=threshold.

The Order will trail is price change is greater than the threshold value