KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Academy fundamentals capstone 4.7 Reply To: fundamentals capstone 4.7

  • lestat-jin

    Member
    June 19, 2024 at 1:42 pm

    just to borrow the thread as I’m stuck on this as well: so I managed to complete the task with script:

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

     

    the output is a dictionary with type 99h and values of 1 0.8059053 0.7830214

    however it failed the section testing with 4.7 error: “edgeCor Has Correct Format”

     

    I didn’t implement it with iterators but I don’t think that is the reason it failed the test. not sure why it says incorrect format–do I need to output values in percentage terms (there is no way in Q to output a numeric in % without converting it into string first?)

     

    any ideas please? thanks!