StrategyQuant X platform codebase – a place to share coded customizations and extensions – among all users.
Programming documentation is available here: Programming for SQ
Quick links to the main documentation articles and examples:
|How to extend StrategyQuant X:||Building block examples:||Databank columns / metrics:|
This snippet cut the biggest profits/losses from the original trades list.
If you set 5%; snippet will cut 2,5% biggest profits and 2.5% of the biggest losses.