Login Page - Create Account

Support Board


Date/Time: Sun, 12 May 2024 03:40:47 +0000



Post From: Returning OrderNumber when using sc.FlattenPosition();

[2018-11-08 03:35:01]
User553714 - Posts: 184
Hi,

I have again searched the documentation and from what I can understand, since the Flatten related functions do not allow passing in of parameters there would seem to be no way to return the OrderNumberID of the Market order issued to Flatten; if that is the case and I still want to track the OrderNumberID is the solution then to use the Buy/SellExit fuunctions to effectively write my own Flatten like functions since these allow passing in of the s_NewOrdere? Since I use Flatten on quite a few safeguard conditions I wanted to make sure there is no easier way before changing everything over.

Hopefully things have settled down a bit with the workload to allow a response. Thanks.