Success = NTClosePosition(AcctName);
where AcctName is a string and I am begin told that the function has no inputs, yet your doc defines it as...
int NTClosePosition(string account)
Closes the selected instrument/account position. A return value of 0 indicates success and -1 indicates an error. Success indicates success in submitting the command NOT that the position has in fact been closed.
What is going on?
Comment