Support Board
Date/Time: Wed, 08 Oct 2025 08:18:32 +0000
Post From: Advice for ACSIL bot guards/checks
[2025-10-07 14:32:18] |
ForgivingComputers.com - Posts: 1138 |
Do you mean to check that Trade Service is actually connected before placing/modifying/cancelling an order?
No. I meant don't create conditions that will cause an error with the trade service. Your code should avoid doing things that make no sense to the broker. Examples of trade service errors: 1. Flattening when already flat 2. Submitting an order when the max position quantity is met 3. Canceling an order that doesn't exist 4. Placing an order with a quantity of 0 etc. |