One order automatically cancels another one out on TDA

I'm trying to place SL and TP separately and every-time I place it, the last one gets cancelled. I'm doing this for options. I'm using these parameters:

\"duration\": \"GOOD_TILL_CANCEL\",

\"session\": \"NORMAL\",

\"complexOrderStrategyType\": \"NONE\",

\"orderStrategyType\": \"SINGLE\",

Not sure what im doing wrong. It works when I do it through the app

Submitted October 20, 2020 at 10:57PM by dokula
via https://ift.tt/2HmyY5w

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s