namespace CryptoExchange.Net.Objects.Options
{
///
/// Base for order book options
///
public class OrderBookOptions : ExchangeOptions
{
///
/// Whether or not checksum validation is enabled. Default is true, disabling will ignore checksum messages.
///
public bool ChecksumValidationEnabled { get; set; } = true;
///
/// Create a copy of this options
///
///
///
public T Copy() where T : OrderBookOptions, new()
{
return new T
{
ApiCredentials = ApiCredentials?.Copy(),
OutputOriginalData = OutputOriginalData,
ChecksumValidationEnabled = ChecksumValidationEnabled,
Proxy = Proxy,
RequestTimeout = RequestTimeout
};
}
}
}