class Fill

Defined in:

orderbook/fill.cr

Constant Summary

MAKER_COM_FEE = 0.001
TAKER_COM_FEE = 0.002

Constructors

Instance Method Summary

Constructor Detail

def self.new(bid_order : Order, ask_order : Order, price : Float64, amount : Float64, taker : Bool) #

[View source]

Instance Method Detail

def amount : Float64 #

[View source]
def amount=(amount : Float64) #

[View source]
def ask_order : Order #

[View source]
def ask_order=(ask_order : Order) #

[View source]
def bid_order : Order #

[View source]
def bid_order=(bid_order : Order) #

[View source]
def fee : Float64 #

[View source]
def price : Float64 #

[View source]
def price=(price : Float64) #

[View source]
def side_fee : Float64 #

[View source]
def taker : Bool #

[View source]
def taker=(taker : Bool) #

[View source]
def write #

[View source]