class Binance::Responses::AvgPriceResponse

Overview

Example Server Response: { "mins": 5, "price": "9.35751834" }

Defined in:

binance/client/rest/responses/avg_price_response.cr

Constructors

Instance Method Summary

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

body body, consume_body(response) consume_body, error_code : Int32 | Nil error_code, error_code=(error_code : Int32 | Nil) error_code=, error_message : String | Nil error_message, error_message=(error_message : String | Nil) error_message=, exception : Exception | Nil exception, exception=(exception : Exception | Nil) exception=, response : HTTP::Client::Response | Nil response, response=(response : HTTP::Client::Response | Nil) response=, success : Bool success, success=(success : Bool) success=, used_weight used_weight

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

new(pull : JSON::PullParser) new

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

consume_body(response) consume_body

Constructor Detail

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

Example Server Response: { "mins": 5, "price": "9.35751834" }


[View source]

Instance Method Detail

def minutes : Int32 #

[View source]
def price : Float64 #

[View source]