Why are the Q/K data types that I get from KX in the Datafeed Toolbox 2.0 (R2007a) not native MATLAB data types?

1 view (last 30 days)
I am using KX in the Datafeed Toolbox 2.0 (R2007a) to retrieve data from the Kx Database. In the data that I retrieve, there are some Q/K datatypes that are not native MATLAB data types. I want to convert all Q/K data types to native MATLAB types.
c = kx('scsettldap09.bankofamerica.com',50007)
r = fetch(c,'0! select n:count i by t:`minute$time from trade where date=2007.08.01,sym=`FLIR')

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This enhancement has been incorporated in Datafeed Toolbox 3.1 (R2008a). For previous product releases, read below for any possible workarounds:
The Q/K data types in the data retrieved from the Kx Database are not native MATLAB data types but they can be converted to MATLAB data types using the following syntax:
r = fetch(c,'0! select n:count i by t:`time$`minute$time from trade where date=2007.08.01,sym=`FLIR')

More Answers (0)

Tags

Products


Release

R2007a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!