Home › Forums › KX Solutions › Financial chart › Re: Financial chart
-
A few things here;
- You won’t see any bars as your open/high/low/close prices are all the same value. In your test data you need a range of prices over the course of a day (for example), then you would take the first/max/min/last (OHLC) per date
- The documentation appears to be a little misleading with “Time” column. It should be a timestamp.
Here is a mock example I’ve just put together and a data source for reference
Data Source
n:10000; t:([]Date:n?.z.p;price:n?100f;Volume:n?100f); delete price from update Open:first price, Close:last price, High:max price, Low:min price, Volume:sum Volume by `date$Date from t
Hope this helps