![]() |
Custom Stop and Target Orders - Printable Version +- Alera Forum (https://aleratrading.com/forum) +-- Forum: Alera Portfolio Manager (https://aleratrading.com/forum/forumdisplay.php?fid=1) +--- Forum: Documentation (https://aleratrading.com/forum/forumdisplay.php?fid=2) +--- Thread: Custom Stop and Target Orders (/showthread.php?tid=404) |
Custom Stop and Target Orders - admin - 05-12-2021 Custom Stop and Target Orders As of version 3.3.0, we have added the ability to have APM manage custom Stop and Target orders. These are different from regular signals since APM will manage two orders at once for a given position alongside any regular orders. Before reading ahead, make sure you have read the Stock Signals tutorial. Order Types To distinguish between the custom stop/target orders and regular STP/TGT orders, we use the names Exit Stop (E_STP) and Exit Target (E_TGT). These names (somewhat) intuitively imply that these stop and target prices will be used for exiting positions, essentially functioning as highly customizable bracket orders. It's important to note that E_STP and E_TGT orders are handled by the same system that is described in the Position Management system described in the Strategies documentation. The major difference is that you as a user can specify the STP and TGT prices instead of letting APM choose. Signals Formats There are two ways to specify to use custom stop/target orders: directly in signals for regular orders OR as separate signals. Regular Signals
E_STP and E_TGT Signals
Cancelling Custom Stop/Target Orders You can cancel a custom Stop and Target order by using a -1 in the price spot of an E_STP or E_TGT signal. For example, E_TGT SPY -1 GeneralĀ Notes
CSV Signal File Format Please see the File Formats documentation for details. |