SQX 113 - Code Editor - Snippet Example from Doc 'Extending_SQX.pdf' not Compile

Hi Mark

I have tried to follow Snippet example from Doc 'Extending_SQX.pdf' (Version X Build 113), section 3.2, but I keep getting a compilation error on line 45. See attached screen-shot and copy of *.java file. I have tried to pin-down the error, but failed so far. Please can you advise why this snippet will not compile?
Thanks
AC1962

Attachments
PctReturnDDRatio.java
(2.00 KiB)
SQX PctReturnDDRatio Snippet Example AC20181102.png
(81.85 KiB)
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

AC
#1

AC1962

02.11.2018 18:20

Task created

AC
#2

AC1962

02.11.2018 19:34

Subject changed from SQX 113 - Code Editor - Snippet Example from Doc 'Extending_SQX.pdf' to SQX 113 - Code Editor - Snippet Example from Doc 'Extending_SQX.pdf' not Compile

TT
#3

Tamas

05.11.2018 09:24
Class StatsConst was renamed to StatsKey.

So instead of StatsConst.RETURN_DD_RATIO you need StatsKey.RETURN_DD_RATIO.

Please change it in your snippet. 

AC
#4

AC1962

06.11.2018 23:16
Great, thanks Tamas!

AC1962

MF
#5

Mark Fric

08.11.2018 10:10

Status changed from New to Fixed


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please