Whats the best way to do this
I have a table
sym val
`GE 5
`GE 10
`GE -20
`MSFT 7
`MSFT -3
I want to get the max abs value by sym but keep the sign
sym val maxabs
`GE 5 -20
`GE 10 -20
`GE -20 -20
`MSFT 7 7
`MSFT -3 7
Whats the best way to do this
I have a table
sym val
`GE 5
`GE 10
`GE -20
`MSFT 7
`MSFT -3
I want to get the max abs value by sym but keep the sign
sym val maxabs
`GE 5 -20
`GE 10 -20
`GE -20 -20
`MSFT 7 7
`MSFT -3 7
Thanks Terry