Hi Alberto,
> I've got two doubts around the fix/quickfix transactions:
These questions are general FIX questions; its better to post them on the FPL site in the
forums:
http://www.fixprotocol.org/discuss/
Please note that you have to register to post questions.
> Case 1: Suppose I've bought some shares at 2$. Now I want to put a limit
> and a stop at 1.50$ and 2.50$. How should I do that? Using an
> OrderCancelReplaceRequest?
NewOrderSingle(MsgType=D, Side=Sell) is appropriate if you want to sell these shares.
In addition, OrdType=4(Stop Limit) together with StopPx=2.50, Price=1.50 and Currency=USD
should do the job.
> Case 2: Suppose I've bought some GBP/USD and now I want to sell them.
> How should I do that? Using a new sell Order? Using an
> OrderCancelRequest?
dito NewOrderSingle(Side=Sell, ...)
See e.g. http://www.transacttools.net/ttportal/datadict/browser.jsp for details for the
NewOrderSingle fields.
Cheers, Jörg
--
Joerg Thoennes
http://macd.com
Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH
Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen
|