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).


[View source]

Instance Method Detail

def limit : Int32 #

[View source]
def valid?(value : Float64) #

[View source]
def validate(value) #

[View source]