com.binance4j.market.param.KlinesParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance4j-market Show documentation
Show all versions of binance4j-market Show documentation
Connector for the Market endpoints of the Binance API
package com.binance4j.market.param;
import com.binance4j.core.annotation.Param;
import com.binance4j.core.dto.CandlestickInterval;
import com.binance4j.core.param.Params;
import com.binance4j.market.client.MarketClient;
/**
* {@link MarketClient#getKlines} params.
*
* @param symbol Trading pair we want the data.
* @param interval Candlestick interval.
*/
@Param(recvWindow = false, timestamp = false)
public record KlinesParams(String symbol, String interval) implements Params {
/**
* @param symbol Trading pair we want the data.
* @param interval Candlestick interval.
*/
public KlinesParams(String symbol, CandlestickInterval interval) {
this(symbol, interval.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy