com.binance4j.market.param.TradesParams 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.param.Params;
import com.binance4j.market.client.MarketClient;
/**
* {@link MarketClient#getTrades} params.
*
* @param symbol The symbol we want the trades.
* @param limit The trades size. Default 500; max 1000.
*/
@Param(recvWindow = false, timestamp = false)
public record TradesParams(String symbol, Integer limit) implements Params {
/**
* Creates an instance of {@link TradesParams}.
*
* @param symbol The symbol we want the trades.
*/
public TradesParams(String symbol) {
this(symbol, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy