Capstone project 4.7

https://learninghub.kx.com/forums/topic/capstone-project-4-7

Hello Team,

The question defined process is passed but getting the format is failed again and again, exercise4.7 Fail "edgeCor Has Correct Format" "" error. I'm getting this format error for exercise 4.7, I've modified the code many times but still getting the same error. I've tried the below codes for getting this format error, please help me to resolve this issue.

Exercise 4.7 question,

Finally, using timeSeries (or otherwise) calculate the correlation between the 15 minute timeseries for edge with each of qty and numTrds. Store this in a dictionary called edgeCor with edge, qty and numTrds as the keys and the values as their correlation with the edge series. Thus the value for edge should be 1.

Sample codes I've tried,

corrEdgeQty: cor[timeSeries[`edge], timeSeries[`qty]]
corrEdgeNumTrds: cor[timeSeries[`edge], timeSeries[`numTrds]]
edgeCor: `edge`qty`numTrds ! 1, corrEdgeQty, corrEdgeNumTrds


edgeCor: `edge`qty`numTrds!1, cor[timeSeries`edge; timeSeries`qty], cor[timeSeries`edge; timeSeries`numTrds]


Hi Akash,

The incorrect format comes from hardcoding the "1" value for edge. If you apply the same logic that you have used for qty and numTrds, it should pass the test.

Let me know if this works for you!

Thanks,

Megan