KX Community

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

Home Forums KX Academy Fundamentals Capstone 4.4

  • Fundamentals Capstone 4.4

    Posted by chrisrjackson on September 8, 2023 at 12:00 am

    Anyone know what the format of the top5EdgeTimes variable is supposed to be?

    Mine looks like this:

    minute| edge qty numTrds
    ------| ---------------------
    15:30 | 1134.574 1180 26 
    15:00 | 1205.548 802 15 
    13:45 | 1384.106 864 14 
    15:45 | 1514.772 2503 50 
    09:30 | 2946.818 3193 58

    from this line:

    top5EdgeTimes: returnN[`edge;`top;5;edge15]

    My edge15 function passes it’s test, here it is in case:

    //your code here - or work in the scratchpad 
    {[orderColumn;order;N;tab]
         orderedTable: orderColumn xasc tab;
         nn: N * -1;
         $[order = `top; nn#orderedTable; N#orderedTable]
         }

    Thanks in advance

    chrisrjackson replied 2 months, 2 weeks ago 3 Members · 2 Replies
  • 2 Replies
  • bl

    Member
    September 11, 2023 at 12:00 am

    Mine is the same

    minute| edge qty numTrds
    ------| ---------------------
    15:30 | 1134.574 1180 26 
    15:00 | 1205.548 802 15 
    13:45 | 1384.106 864 14 
    15:45 | 1514.772 2503 50 
    09:30 | 2946.818 3193 58
  • megan_mcp

    Administrator
    September 11, 2023 at 12:00 am

    Hi  !

    This all seems correct, if you have any more questions please feel free to ask

    Thanks,

    Megan

Log in to reply.