All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.binance4j.market.param.TradesParams Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
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