TrailBase Methods |
The TrailBase type exposes the following members.
| Name | Description | |
|---|---|---|
| GetTrailingPrice |
Called if the position is trailed. Return current traling price. Implement method for inherited classes.
| |
| IsBeginTrailing |
Called if the position has been opened. Return true on begin of trailing. Implement method for inherited classes.
| |
| IsTrailingStep |
Called if the position is trailed. Return true on new trailing step. Implement method for inherited classes. The last trailed price is in lastTrailed member.
| |
| OnExecution | ||
| OnOrderUpdate | ||
| OnPositionUpdate |