Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 22:46:00 +0000



Post From: Assess manually placed orders via ACSIL

[2023-04-04 17:55:19]
ondafringe - Posts: 286
I don't use HTTP, so can't address that part.

However, your ACSIL code can detect a trade placed manually by checking order quantity: 0 means no position / positive number means long X contracts / negative number means short X contracts



sc.GetTradePosition(PositionData);
int quantity = PositionData.PositionQuantity;

Probably other ways, but that's my simple way of checking.
Date Time Of Last Edit: 2023-04-04 17:57:37