Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 17:41:10 +0000



Post From: Order types

[2015-08-21 17:41:55]
DTC Engineering - Posts: 320
Trailing stop: A stop order that can be set to execute once the market goes against you by a defined price, called the price difference. Trailing–stop sell orders are used to maximize and protect profit as a stock's price rises and limit losses when its price falls.

We have been hesitant to support this in DTC because there is not a high amount of standardization with the implementation of these order types on the server side.

Although we could define a specification for it in the case of DTC.

Although, as a rule for reasons which is a whole other discussion, the Sierra Chart charting and trading program would not use this server-side order type under any condition.

It can be done, but we think this should be done later when there is more use of the DTC Protocol among Servers and Clients.

One problem with trailing stop orders is that the Server would have to send an execution report every time it changes the price of the Trailing Stop. If it does not, the Client will not be aware of price changes.

Fill or Kill: This type of order is a limit order that must be filled in its entirety or canceled (killed). The purpose of a fill or kill order is to ensure that a position is entered at a desired price.

This is a time in force:
http://dtcprotocol.org/index.php?page=doc/doc_DTCMessageDocumentation.php#TimeInForceEnum

One Cancels Other (OCO): This option allows you to place a pair of orders stipulating that if one order is executed fully or partially, then the other order is automatically canceled. An OCO combines a stop order with a limit order. This option allows you to place both take profit and stop loss targets for your position.

This is already supported:
http://dtcprotocol.org/index.php?page=doc/doc_DTCMessageDocumentation.php#Messages-SUBMIT_NEW_OCO_ORDER


Hidden order: A hidden order is an order which does not appear in the orderbook, and thus doesn't influence other market participants. See the fees page for minimum size and fee applicable.

I believe this is like an iceberg order. We have to look this up in FIX.