Generating asset price charts has become a problem because of the large amount of trades, it is no longer possible to load all trades in the client and generate a chart from that.

If you for instance take the nemstake asset you’ll see it has 5000+ trades this would lead to many megabytes of JSON you need to download in order to generate a price chart of all trades.

The current implementation is very rough since it only stores an average price per timeframe but room was made in the database backend for open, high, low and close prices to which would allow for creating candlestick charts.

RPC call

src/java/nxt/http/rpc/GetAssetChartData.java

Backend (needs work - help wanted)

src/java/nxt/MofoChart.java
src/java/nxt/MofoChartWindow.java

Samples of assets with large no of trades

mgwbtc
supernet
nxtycoin