DTC Protocol Discussion Forum
- DTC Protocol Discussion Forum |
- Search Board |
- Control Panel |
- View My Posts / Threads |
- Direct Messages
Date/Time: Fri, 29 Nov 2024 16:43:20 +0000
SC/DTC Client: intentional TRADE_UNSET orders
View Count: 4809
[2018-01-25 04:55:38] |
AndrewAMD1 - Posts: 31 |
Hi, I learned from this thread... DTC Protocol | Post: 130291 ... that I can reverse a position by setting OpenOrClose to TRADE_UNSET while placing an order (unless I'm using BitMEX or TD Ameritrade... I have neither). I have a related question: Can I place an open OpenOrClose==TRADE_UNSET market, limit, or stop order and expect it to be able to: * increase long * decrease long * reverse * increase short * and decrease short... ... my position and for Sierra Chart to not care? For example: I place a stop or limit order when my position is short, and then my position is long by the time it is executed/triggered. What would have at the time of order submission been a close is now an open, and vice versa. FYI, this would be particularly useful if I'm running multiple trading algorithms on the same asset. Date Time Of Last Edit: 2018-01-25 16:06:31
|
[2018-01-29 21:11:15] |
AndrewAMD1 - Posts: 31 |
From here: http://dtcprotocol.org/index.php?page=doc/DTCMessageDocumentation.php#OpenCloseTradeEnum [OpenCloseTradeEnum] Open Close Trade Enumeration
I am interested in knowing which of Sierra Chart's brokers actually require/use this field.
... This field is not used for futures. Date Time Of Last Edit: 2018-01-29 21:12:33
|
[2018-01-30 04:44:33] |
DTC Engineering - Posts: 320 |
Best thing to do is not to set: OpenOrClose This is simply just not used. It is only used in the case of the DTC client in Sierra Chart and it is up to the server to use it. Date Time Of Last Edit: 2018-01-30 04:44:56
|
To post a message in this thread, you need to log in with your Sierra Chart account: