You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The response format does not support this. (pymarketstore will blow up attempting to decode the raw response data.) The reason being, there's an implicit assumption built into NumpyMultiDataset that all datatypes must be the same:
NumpyDataset:
ColumnNames: ['Open', 'Volume']
ColumnTypes: ['float32', 'int32']
ColumnData:
Open: [AMD opens] + [NVDA opens]
Volume: [AMD volumes] + [NVDA volumes]
StartIndex: indexes into ColumnData for each symbol
Lengths: number of bars in ColumnData for each symbol
ColumnData is simply bytes, so marketstore will happily return 32bit values and 64bit values in sequence, however, the client has no way to know that the data types vary by symbol, and as such fails to correctly index into the ColumnData arrays.
Querying for the symbols individually works fine, with marketstore returning the correct data types for each.
The text was updated successfully, but these errors were encountered:
This is perhaps more of a limitation than a bug?
Let's say you create two TBKs, one stored with 64bit values and the other 32bit:
If you then query for these together:
The response format does not support this. (
pymarketstore
will blow up attempting to decode the raw response data.) The reason being, there's an implicit assumption built intoNumpyMultiDataset
that all datatypes must be the same:ColumnData is simply bytes, so
marketstore
will happily return 32bit values and 64bit values in sequence, however, the client has no way to know that the data types vary by symbol, and as such fails to correctly index into the ColumnData arrays.Querying for the symbols individually works fine, with marketstore returning the correct data types for each.
The text was updated successfully, but these errors were encountered: