APISonar


bisq.desktop.main.market.trades.charts.CandleData.date

> bisq > desktop > main > market > trades > charts > CandleData > date
bisq APIs desktop APIs main APIs market APIs trades APIs charts APIs CandleData APIs date APIs

Example 1
public void update(double height, double candleWidth, CandleData candleData) {
        bar.resizeRelocate(-candleWidth / 2, 0, candleWidth, height);
        String vol = volumeStringConverter.toString(candleData.accumulatedAmount);
        tooltip.setText(Res.get("market.trades.tooltip.volumeBar", vol, candleData.numTrades, candleData.date));
    }
Example 2
public void update(CandleData candleData) {
        openValue.setText(priceStringConverter.toString(candleData.open));
        closeValue.setText(priceStringConverter.toString(candleData.close));
        highValue.setText(priceStringConverter.toString(candleData.high));
        lowValue.setText(priceStringConverter.toString(candleData.low));
        averageValue.setText(priceStringConverter.toString(candleData.average));
        medianValue.setText(priceStringConverter.toString(candleData.median));
        dateValue.setText(candleData.date);
    }