KX Community

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

Home Forums kdb+ why sv needs ,’ here? Re: why sv needs ,’ here?

  • cillianreilly

    Member
    June 4, 2023 at 12:00 am

    David has already answered the question here, but it’s worth noting that you can do this operation very succinctly using .Q.dd:

    q)update symsrc:.Q.dd'[sym;src]from trades 
    
    time                          sym src price size symsrc 
    -------------------------------------------------------- 
    2023.06.04D10:22:20.088377000 ORCL L 40.67 3984 ORCL.L