|
You can find the following example in the FIX BSI documentation. Under section 6.1.6.
8=FIX.4.4 9=198 35=D 34=14 49=TestClient3 52=20080108-19:41:12.859 56=FXCM 57=MINIDEMO 1=00217844 11=TestClient3FXCM-1199821272859-13 38=10000 40=3 54=1 55=EUR/USD 59=1 60=20080108-19:41:12 99=1.46909 9041=7670249 10=171
To do what you want, place a new single order, with order type(40) = 3, StopPx(99) = <price you want> and FXCMPosID(9041) = <the FXCMPosID from the position report from the order that executed).
As for specifying the distance from where the execution filled at, you cannot place the distance from pips, since the request requires the full format. I suggest you perform the calculation yourself, and submit that price. i.e. stopPrice=executed price +/- .0005. (5 pips)
Last edited by FXCM Help; 07-24-2009 at 04:13 PM..
|