Home › Forums › kdb+ › Question on streaming › Re: Question on streaming
-
Hi MSHK,
If you havent already, take a look at the example we have for setting up a streaming process.
The screenshot you show for quote.bond has an input parameter exposed to Kx Dashboards, which is defined in your kdb streaming query. More than one filter can be made available if required, but usually its a time series pull for a single asset so only one such query parameter is exposed.
Your streaming query should have the necessary bid and ask calculations, results of which are then pushed to the Dashboards. The query handles the calculations returned in the Results pane when you Execute it. There is a Key by dropdown as part of the streaming options for Dashboards (drawn from the data columns in your query), one of which should be time or date.
Dashboards only handles the filters from the query and the data key by, it doesnt do the underlying bid, ask calculation.
Take a look at our latest 1.4. release, which you download from here. We have an upgraded version of Document Graph to help manage your queries and view states, this makes it easier for Dashboard users to work with large numbers of queries and/or view states without having to go through the component UI.
Thanks,
Declan