cancel
Showing results for 
Search instead for 
Did you mean: 

Fundamentals Capstone 4.4

chrisrjackson
New Contributor

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 

2 ACCEPTED SOLUTIONS

bl
New Contributor II

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

View solution in original post

megan_mcp
Moderator Moderator
Moderator

Hi @chrisrjackson !

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

Thanks,

Megan

View solution in original post

2 REPLIES 2

bl
New Contributor II

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
Moderator Moderator
Moderator

Hi @chrisrjackson !

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

Thanks,

Megan