Login Page - Create Account

Support Board


Date/Time: Mon, 13 Jan 2025 07:37:28 +0000



Post From: ACSIL - Buy/Sell Exit

[2017-04-03 22:18:55]
jizzary - Posts: 177
in reference w/ the functions (in the Title) my understanding is
that setting NewOrder's fields: (just for simplicity i refer BuyExit())

OrderId - is required only if there are more than a single open Buy Created positions
(then i need to specify which of them should be closed / flattened)
in case there is a single open position - then OrderId is NOT required
no harm is caused by setting it unconditionaly

Quantity - if not used the opn position will be flattened.
if quantity is used then only part of the position will be flattened
no harm is caused by setting it unconditionaly


Is the above understanding true / correct ?

tnx
Date Time Of Last Edit: 2017-04-03 22:19:52