Login Page - Create Account

DTC Protocol Discussion Forum


Date/Time: Fri, 29 Nov 2024 16:35:42 +0000



Post From: SC/DTC Client: intentional TRADE_UNSET orders

[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