I found at least three snippets: ATRVolatilitySizing from SQX documentation, FixedFractional and PercentVolatility which created myself
Attachment image-0.png added
Status changed from New to Fixed
Hello,
in version 138 we have added support for order size step rounding.
It can be defined for each instrument separately - print screen attached.
Due this there is one extra parameter in method computeTradeSize
public double computeTradeSize(StrategyBase strategy, String symbol, byte orderType, double price, double sl, double tickSize, double pointValue, double sizeStep) throws Exception {
Please edit the problematic snippets in CodeEditor and add parameter double sizeStep manually.
Don't forget to recompile the snippets to get it work.
We will fix this in sqx139.
Sorry for the complications,
Tamas