class Binance::Responses::IcebergPartsFilter

Overview

Typical server response

{
  "filterType":"ICEBERG_PARTS",
  "limit":10
}

The ICEBERG_PARTS filter defines the maximum parts an iceberg order can have. The number of ICEBERG_PARTS is defined as CEIL(qty / icebergQty).

Defined in:

binance/client/rest/responses/iceberg_parts_filter.cr

Constructors

Instance Method Summary

Instance methods inherited from class Binance::Responses::ExchangeFilter

filter_type : String filter_type

Constructor methods inherited from class Binance::Responses::ExchangeFilter

new(pull : JSON::PullParser)
new
new

Class methods inherited from class Binance::Responses::ExchangeFilter

from_array(string : String) from_array

Constructor Detail

def self.new(pull : JSON::PullParser) #

Typical server response

{
  "filterType":"ICEBERG_PARTS",
  "limit":10
}

The ICEBERG_PARTS filter defines the maximum parts an iceberg order can have. The number of ICEBERG_PARTS is defined as CEIL(qty / icebergQty).


Instance Method Detail

def limit : Int32 #

def valid?(value : Float64) #

def validate(value) #