Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 07:18:34 +0000



Post From: Strange and possible bug with Limit Offset

[2020-09-07 15:30:00]
TeeJay - Posts: 123
Hello,

is there any answer to that please?

Because this does even not work without ACSIL, aside from the fact that ACSIL should not change the trade window content if I want to set a limit given in Price2.

An example without ACSIL :

Set a Limit offset in the trade window to 1%. Enter an order. The limit price is exactly 1 percent away from the stop price. Now move this order. Instead of setting the limit to 1% of the new stop price the limit is set exactly to the identical offset of the initial order.

Which is exactly described here for the offset for ACSIL, but the question is what sense does this behavior make?
Automated Trading From an Advanced Custom Study: [Type: double] s_SCNewOrder::Price2

If one wants a limit with 1%, if moving an order, one still wants a limit with 1%, not some random value - which it is at this point because there should be a 1% limit and not 1.xx% or 0.xx% limit.

I already programmed several 1000 lines of ACSIL code to work properly with percentages, but this goes a bit far and I would appreciate if this could be handled by the system in an orderly manner somehow

Thanks
Date Time Of Last Edit: 2020-09-07 15:34:52