marketstore
marketstore copied to clipboard
No ostensible way of querying granularity and data types
There is an RPC call for "ListSymbols"; however, this call only delivers symbols.
Users may be interested in what granularity of data is available.
Does there exist a query which will provider data similar to the following?
[
{
"symbol": "AAPL",
"granularity": ["1m", "1d"]
},
{
"symbol": "MSFT",
"granularity": ["1m", "1h", "1d"]
}
]
@jbrukh don't quote me on this but it looks like you can make "sql" like queries once this pymarketstore
change is merged.
If you dig into the planner
package there's an example test showing how to do this with the go api which appears to use the Directory.NewQuery()
method.